pymongo-sl = pymongo SnapLogic Extended for python 2
An extended version of pymongo to have caching logic before delegating the actual query to the native pymongo library Support only Python2 for now due to SnapLogic's codebase.
- Create JIRA or something similar
- Add full-fledged unit tests for all functions
- CI/CD
Use pip install -e ./
to install the development package
Use pip install -U pytest
to install pytest and run tests with pytest ./tests
Prerequisites
- First install the library
- Run a local MongoDB with no password, security, settings whatsoever using this ./docker-compose.yaml
- Populate the MongoDB data with this command
python3 rcache_profiling.py --populate
Run end-to-end testing with python e2e.py