Skip to content

peem5210/snaplogic-pymg

Repository files navigation

pymongo-sl

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.

TODOs

  • Create JIRA or something similar
  • Add full-fledged unit tests for all functions
  • CI/CD

For Contributors

Installation for development

Use pip install -e ./ to install the development package

Use pip install -U pytest to install pytest and run tests with pytest ./tests

Running an End-to-End Test

Prerequisites

  1. First install the library
  2. Run a local MongoDB with no password, security, settings whatsoever using this ./docker-compose.yaml
  3. Populate the MongoDB data with this command python3 rcache_profiling.py --populate

Run end-to-end testing with python e2e.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages