{ "info": { "author": "Kaizen Dorks", "author_email": "kaizendorks@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.4", "Topic :: Database :: Database Engines/Servers", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "# pymongo_inmemory\nA mongo mocking library with MongoDB running in memory.\n\n## Usage\nInsert a new section to your projwects `setup.cfg` for operating system and\nmongo version:\n```toml\n[pymongo_inmemory]\nmongo_version = 4.0\noperating_system = osx\n```\n\nthen use the in-memory client insstead of original one:\n```python\nfrom pymongo_inmemory import MongoClient\n\nclient = MongoClient() # No need to provide host\ndb = client['testdb']\ncollection = db['test-collection']\n# etc., etc.\nclient.close()\n\n# Also usable with context manager\nwith MongoClient() as client:\n # do stuff\n```\n\n## TODO\n* Move portfinding of Mongod to constructor to avoid possible port clashes between module load and object creation.\n* Clean up and centralize config acquisition, env var>pim.ini>setup.cfg\n* Add atexit register for mongod clean up\n* Add module level docs where needed. Also function level docs for public API\n* Add github docs, vuepress\n* Ability to define folders through config (env overwrites)\n* Wire ability to overwrite conf through env\n* Increase test coverage\n* Add static type checking\n* Remove PIPE output from mongod\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kaizendorks/pymongo_inmemory", "keywords": "mongodb testing pymongo", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pymongo-inmemory", "package_url": "https://pypi.org/project/pymongo-inmemory/", "platform": "", "project_url": "https://pypi.org/project/pymongo-inmemory/", "project_urls": { "Bug Reports": "https://github.com/kaizendorks/pymongo_inmemory/issues", "Homepage": "https://github.com/kaizendorks/pymongo_inmemory", "Source": "https://github.com/kaizendorks/pymongo_inmemory" }, "release_url": "https://pypi.org/project/pymongo-inmemory/0.1.1/", "requires_dist": [ "setuptools", "pymongo" ], "requires_python": ">=3.4", "summary": "Pymongo Mocking Tool with in memory MongoDB running.", "version": "0.1.1" }, "last_serial": 5620469, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8446104a0e0f327da3896bf20bd0b5b8", "sha256": "222d72969cd4a3a77eb4631c13138b69b916f0e2d759909c5ff8d1fb4b58438f" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8446104a0e0f327da3896bf20bd0b5b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7057, "upload_time": "2019-08-01T19:53:51", "url": "https://files.pythonhosted.org/packages/ef/a6/d9550baa1988ce5c4ce77c020c264c6e92deabeaddf10cd76243e1f7c27b/pymongo_inmemory-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09e9e751a9759cb73464336ea4e241bb", "sha256": "077a486d8dfefc2ed66cc9524ca39c4cb25bcab8ade09ce5db6fcd8b79b12431" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.0.tar.gz", "has_sig": false, "md5_digest": "09e9e751a9759cb73464336ea4e241bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5391, "upload_time": "2019-08-01T19:32:05", "url": "https://files.pythonhosted.org/packages/8c/32/a5ef56bdcbd22ca56275f9efedc38ab5204db7f46d1381db4e61d6846d69/pymongo_inmemory-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "75651b0def5b97f9cc817d56b5fb70b3", "sha256": "947acb9ce49d092dadfc5cf7c6197f12b6e9d00bd39506928ab4bca171cc9e1e" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "75651b0def5b97f9cc817d56b5fb70b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7727, "upload_time": "2019-08-01T19:53:53", "url": "https://files.pythonhosted.org/packages/61/f5/cd11c907a2c61a9b1bfed7a2790c6328ebac6b377e14dd4b4acd8602789c/pymongo_inmemory-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ec4a2955db8e2d7187c34c34422fbaf", "sha256": "5f383193283e5d447ba7316f48260cf2a38465264aa4fd3939ea3ee95576fb04" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5ec4a2955db8e2d7187c34c34422fbaf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 5794, "upload_time": "2019-08-01T19:53:56", "url": "https://files.pythonhosted.org/packages/0c/09/5be2e7fdbd08004d2de62bdb25081f930adc8a9afe6b5c4568ac4bc2bc0f/pymongo_inmemory-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75651b0def5b97f9cc817d56b5fb70b3", "sha256": "947acb9ce49d092dadfc5cf7c6197f12b6e9d00bd39506928ab4bca171cc9e1e" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "75651b0def5b97f9cc817d56b5fb70b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7727, "upload_time": "2019-08-01T19:53:53", "url": "https://files.pythonhosted.org/packages/61/f5/cd11c907a2c61a9b1bfed7a2790c6328ebac6b377e14dd4b4acd8602789c/pymongo_inmemory-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ec4a2955db8e2d7187c34c34422fbaf", "sha256": "5f383193283e5d447ba7316f48260cf2a38465264aa4fd3939ea3ee95576fb04" }, "downloads": -1, "filename": "pymongo_inmemory-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5ec4a2955db8e2d7187c34c34422fbaf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 5794, "upload_time": "2019-08-01T19:53:56", "url": "https://files.pythonhosted.org/packages/0c/09/5be2e7fdbd08004d2de62bdb25081f930adc8a9afe6b5c4568ac4bc2bc0f/pymongo_inmemory-0.1.1.tar.gz" } ] }