{ "info": { "author": "Shane Harvey", "author_email": "mongodb-user@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database" ], "description": "============\nPyMongoCrypt\n============\n:Info: Python bindings for libmongocrypt. See\n `GitHub `_\n for the latest source.\n:Author: Shane Harvey\n\nAbout\n=====\n\nPython wrapper library for libmongocrypt that supports client side encryption\nin drivers. PyMongoCrypt uses `cffi `_ and\n`cryptography `_.\n\n**Support for client side encryption is in beta. Backwards-breaking changes\nmay be made before the final release.**\n\nPyMongoCrypt supports Python 2.7, 3.4+, and PyPy3.5+.\n\nSupport / Feedback\n==================\n\nFor issues with, questions about, or feedback for PyMongoCrypt, please look into\nour `support channels `_. Please\ndo not email any of the PyMongoCrypt developers directly with issues or\nquestions - you're more likely to get an answer on the `mongodb-user\n`_ list on Google Groups.\n\nBugs / Feature Requests\n=======================\n\nThink you\u2019ve found a bug? Want to see a new feature in PyMongoCrypt?\nPlease open a case in our issue management tool, JIRA:\n\n- `Create an account and login `_.\n- Navigate to `the PYTHON project `_.\n- Click **Create Issue** - Please provide as much information as possible about the issue type and how to reproduce it.\n\nBug reports in JIRA for all driver projects (i.e. PYTHON, CSHARP, JAVA) and the\nCore Server (i.e. SERVER) project are **public**.\n\nHow To Ask For Help\n-------------------\n\nPlease include all of the following information when opening an issue:\n\n- Detailed steps to reproduce the problem, including full traceback, if possible.\n- The exact python version used, with patch level::\n\n $ python -c \"import sys; print(sys.version)\"\n\n- The exact version of PyMongoCrypt used::\n\n $ python -c \"import pymongocrypt; print(pymongocrypt.__version__)\"\n\n- The exact version of libbmongocrypt used by PyMongoCrypt::\n\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n\n- The exact version of PyMongo used (if applicable), with patch level::\n\n $ python -c \"import pymongo; print(pymongo.version); print(pymongo.has_c())\"\n\n- The operating system and version (e.g. Windows 7, OSX 10.8, ...)\n- Web framework or asynchronous network library used, if any, with version (e.g.\n Django 1.7, mod_wsgi 4.3.0, gevent 1.0.1, Tornado 4.0.2, ...)\n\nSecurity Vulnerabilities\n------------------------\n\nIf you've identified a security vulnerability in a driver or any other\nMongoDB project, please report it according to the `instructions here\n`_.\n\nInstallation\n============\n\nPyMongoCrypt can be installed with `pip `_::\n\n $ python -m pip install pymongocrypt\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n 1.0.0-beta5\n\n\nPyMongoCrypt ships wheels for macOS, Windows, and manylinux2010 that include\nan embedded libmongocrypt build.\n\nInstalling from wheels on Linux requires pip 19 or later because it adds\n`support for manylinux2010 wheels `_.\nOlder versions of pip will attempt installation using the\npymongocrypt-X.Y.tar.gz source distribution which requires the extra step of\ndownloading and installing libmongocrypt as described below.\nUsers can upgrade to pip 19 by running::\n\n $ python -m pip install --upgrade 'pip>=19'\n\nInstalling from source\n----------------------\n\nInstalling from source (or the pymongocrypt-X.Y.tar.gz source distribution,\nor pip < 19 on Linux) requires an extra step of installing libmongocrypt.\nFirst, install PyMongoCrypt from source::\n\n $ git clone git@github.com:mongodb/libmongocrypt.git\n $ python -m pip install ./libmongocrypt/bindings/python\n\nNext, install libmongocrypt.\n\nlibmongocrypt is [continuously built and published on evergreen]\n(https://evergreen.mongodb.com/waterfall/libmongocrypt).\nThe latest tarball containing libmongocrypt built on all supported variants is\n(published here)[https://s3.amazonaws.com/mciuploads/libmongocrypt/all/master/latest/libmongocrypt-all.tar.gz].\nDownload and extract ``libmongocrypt-all.tar.gz`` and set\n``PYMONGOCRYPT_LIB`` to the path to your operating system's libmongocrypt.so file.\nFor example::\n\n $ curl -O https://s3.amazonaws.com/mciuploads/libmongocrypt/all/master/latest/libmongocrypt-all.tar.gz\n $ mkdir libmongocrypt-all && tar xzf libmongocrypt-all.tar.gz -C libmongocrypt-all\n $ ls libmongocrypt-all\n amazon2 rhel-67-s390x suse12-64 ubuntu1604-s390x\n debian92 rhel-70-64-bit suse12-s390x ubuntu1804-64\n linux-64-amazon-ami rhel-71-ppc64el suse15-64 ubuntu1804-arm64\n macos rhel72-zseries-test ubuntu1604 windows-test\n rhel-62-64-bit rhel76 ubuntu1604-arm64\n\nmacOS::\n\n $ # Set PYMONGOCRYPT_LIB for macOS:\n $ export PYMONGOCRYPT_LIB=$(pwd)/libmongocrypt-all/macos/nocrypto/lib/libmongocrypt.dylib\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n 1.0.0-beta5\n\nWindows::\n\n $ # Set PYMONGOCRYPT_LIB for Windows:\n $ chmod +x $(pwd)/libmongocrypt-all/windows-test/nocrypto/bin/mongocrypt.dll\n $ export PYMONGOCRYPT_LIB=$(pwd)/libmongocrypt-all/windows-test/nocrypto/bin/mongocrypt.dll\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n 1.0.0-beta5\n\nLinux::\n\n $ # Set PYMONGOCRYPT_LIB for RHEL 6.2 x86_64:\n $ export PYMONGOCRYPT_LIB=$(pwd)/libmongocrypt-all/rhel-62-64-bit/nocrypto/lib64/libmongocrypt.so\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n 1.0.0-beta5\n\nDependencies\n============\n\nPyMongoCrypt supports CPython 2.7, 3.4+, PyPy, and PyPy3.5+.\n\nPyMongoCrypt requires `cffi `_ and\n`cryptography `_.\n\nPyMongoCrypt also requires libmongocrypt to be installed on your\nsystem. If libmongocrypt is not installed you will see an error\nlike this:\n\n.. code-block:: python\n\n >>> import pymongocrypt\n Traceback (most recent call last):\n File \"\", line 1, in \n File \"pymongocrypt/__init__.py\", line 15, in \n from pymongocrypt.binding import libmongocrypt_version, lib\n File \"pymongocrypt/binding.py\", line 803, in \n lib = ffi.dlopen(os.environ.get('PYMONGOCRYPT_LIB', 'mongocrypt'))\n File \"/.../lib/python3.7/site-packages/cffi/api.py\", line 146, in dlopen\n lib, function_cache = _make_ffi_library(self, name, flags)\n File \"/.../lib/python3.7/site-packages/cffi/api.py\", line 828, in _make_ffi_library\n backendlib = _load_backend_lib(backend, libname, flags)\n File \"/.../lib/python3.7/site-packages/cffi/api.py\", line 823, in _load_backend_lib\n raise OSError(msg)\n OSError: ctypes.util.find_library() did not manage to locate a library called 'mongocrypt'\n\n\nUse the ``PYMONGOCRYPT_LIB`` environment variable to load a locally installed\nlibmongocrypt build without relying on platform specific library path environment\nvariables, like ``LD_LIBRARY_PATH``. For example::\n\n $ export PYMONGOCRYPT_LIB='/path/to/libmongocrypt.so'\n $ python -c \"import pymongocrypt; print(pymongocrypt.libmongocrypt_version())\"\n\nTesting\n=======\n\nThe easiest way to run the tests is to run **python setup.py test** in\nthe root of the distribution.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mongodb/libmongocrypt/tree/master/bindings/python", "keywords": "mongo,mongodb,pymongocrypt,pymongo,mongocrypt,bson", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "pymongocrypt", "package_url": "https://pypi.org/project/pymongocrypt/", "platform": "", "project_url": "https://pypi.org/project/pymongocrypt/", "project_urls": { "Homepage": "https://github.com/mongodb/libmongocrypt/tree/master/bindings/python" }, "release_url": "https://pypi.org/project/pymongocrypt/0.1b2/", "requires_dist": [ "cffi (<2,>=1.12.0)", "cryptography (<3,>=2.0)" ], "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "summary": "Python bindings for libmongocrypt", "version": "0.1b2" }, "last_serial": 5992921, "releases": { "0.1b0": [ { "comment_text": "", "digests": { "md5": "682237bd1fff6f2f5bc3e79650b34083", "sha256": "17e176d3c194f1e65959debc345253f9716ad1c07e80db2d34c31f497f7276db" }, "downloads": -1, "filename": "pymongocrypt-0.1b0-py2.py3-none-macosx_10_9_x86_64.whl", "has_sig": false, "md5_digest": "682237bd1fff6f2f5bc3e79650b34083", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 173005, "upload_time": "2019-08-13T23:44:42", "url": "https://files.pythonhosted.org/packages/9e/0e/10cb8b5ccd1e9ac93ef6182e5fa116ad0e2839b388783c4c4f562af7a5dc/pymongocrypt-0.1b0-py2.py3-none-macosx_10_9_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "36035652f31d559d2b2b42e402025244", "sha256": "1cb6475c8a678bb767db65d0a35b1f962ef702e500371292429939ae63407f36" }, "downloads": -1, "filename": "pymongocrypt-0.1b0-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "36035652f31d559d2b2b42e402025244", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 165721, "upload_time": "2019-08-13T23:48:31", "url": "https://files.pythonhosted.org/packages/cc/e0/21784df7bb9315c3b32e8edc062f41bed0757352e5406f8762aff8e844f4/pymongocrypt-0.1b0-py2.py3-none-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "19e677a7fc106b3893332ef9055ad356", "sha256": "57d11779bbb507daa5663d2fd34629efca149ce872b2748391d66f6703277ed7" }, "downloads": -1, "filename": "pymongocrypt-0.1b0.tar.gz", "has_sig": false, "md5_digest": "19e677a7fc106b3893332ef9055ad356", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 24135, "upload_time": "2019-08-13T23:44:45", "url": "https://files.pythonhosted.org/packages/2e/f9/9bc5833fcf9c1211e3cbf19d7919b68bbaa579404b366916575c1fa1d126/pymongocrypt-0.1b0.tar.gz" } ], "0.1b1": [ { "comment_text": "", "digests": { "md5": "c6f8d1f8cb4c48a6edebdd6c992b269a", "sha256": "1f52a6de6f1244b1b3ee8b425a33dfcf8dd7079a684458a646849c18cf642737" }, "downloads": -1, "filename": "pymongocrypt-0.1b1-py2.py3-none-macosx_10_9_x86_64.whl", "has_sig": false, "md5_digest": "c6f8d1f8cb4c48a6edebdd6c992b269a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 169354, "upload_time": "2019-08-16T10:37:37", "url": "https://files.pythonhosted.org/packages/da/52/484fbaf49789eb97855e89cbbe078d1602d9dcafc2c085368c35f58b72c6/pymongocrypt-0.1b1-py2.py3-none-macosx_10_9_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "b889e7bb7bc9e4fc9acb238e02565da1", "sha256": "5ffa03ee7b4755bffdb5b1646310adce2edbaaa156548000533cfb5344b3b28c" }, "downloads": -1, "filename": "pymongocrypt-0.1b1-py2.py3-none-manylinux2010_x86_64.whl", "has_sig": false, "md5_digest": "b889e7bb7bc9e4fc9acb238e02565da1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 284067, "upload_time": "2019-08-16T10:37:39", "url": "https://files.pythonhosted.org/packages/29/df/38c0d6809172091a44bbd54d080f335ffd09923693bae4070bc29b2dcfb2/pymongocrypt-0.1b1-py2.py3-none-manylinux2010_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "6d8f80871d533376e1363301e3383e8e", "sha256": "9079a139450e55f29c5b0d8acb9b109bbbb0d58c46b1b705d47c41546e3b99c4" }, "downloads": -1, "filename": "pymongocrypt-0.1b1-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "6d8f80871d533376e1363301e3383e8e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 162145, "upload_time": "2019-08-16T10:37:42", "url": "https://files.pythonhosted.org/packages/e8/51/ade105dc73da45efc345ee7fbd05cd09452a5cd952ec140dea36a2427ee8/pymongocrypt-0.1b1-py2.py3-none-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "4b886016ebf535bf4fee644d4bbeda0a", "sha256": "52427cf5f6b767fd5d0fe0f0743eedb492d8a399d9c434219cb8a97f3ec87644" }, "downloads": -1, "filename": "pymongocrypt-0.1b1.tar.gz", "has_sig": false, "md5_digest": "4b886016ebf535bf4fee644d4bbeda0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25254, "upload_time": "2019-08-16T10:37:43", "url": "https://files.pythonhosted.org/packages/da/f5/c920257013f9ca28fe1c097fe1f89f16239ff63b0d4507dc3fe01f8ef2d6/pymongocrypt-0.1b1.tar.gz" } ], "0.1b2": [ { "comment_text": "", "digests": { "md5": "7abb7f2b6b783b6b123707c09edfb103", "sha256": "170b6408768ae71ad29d1387c78255c90650d30278c61eb287858bcb2d31b0da" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-macosx_10_9_x86_64.whl", "has_sig": false, "md5_digest": "7abb7f2b6b783b6b123707c09edfb103", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 154982, "upload_time": "2019-10-18T00:18:17", "url": "https://files.pythonhosted.org/packages/3f/94/1f9807455a3d2269454dacb0715a944de0bf5498a8630d12a19d90d979f6/pymongocrypt-0.1b2-py2.py3-none-macosx_10_9_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "60d6497a4e641b16aa1350881369d700", "sha256": "36c3f5ed9071360caa341a4394ff2bd59894df112d8b876533c1d974a2368386" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-manylinux2010_x86_64.whl", "has_sig": false, "md5_digest": "60d6497a4e641b16aa1350881369d700", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 348212, "upload_time": "2019-10-18T00:18:20", "url": "https://files.pythonhosted.org/packages/19/ca/c12651413bd6c470e68e34198a487c9b527920d59cf771db1abc4d2d7cb2/pymongocrypt-0.1b2-py2.py3-none-manylinux2010_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "c55e5c99d70b278c85774226bd1f93a2", "sha256": "fb8b9a219f9513ac0171c58ff256d2ec00aaab82f9895152ed7747506cfec7db" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "c55e5c99d70b278c85774226bd1f93a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 164855, "upload_time": "2019-10-18T00:18:23", "url": "https://files.pythonhosted.org/packages/70/e7/9f23cebf57b107fa043d4c8a7cc35196a4336002aebe8894d669c8bdcac5/pymongocrypt-0.1b2-py2.py3-none-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "342f4954b7f4d38eaf2a8cae455927d2", "sha256": "57d0bb24d7e7c2fe5c7bd56cecad82ed00e778400c08a41ed438c4b708cce744" }, "downloads": -1, "filename": "pymongocrypt-0.1b2.tar.gz", "has_sig": false, "md5_digest": "342f4954b7f4d38eaf2a8cae455927d2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25650, "upload_time": "2019-10-18T00:18:25", "url": "https://files.pythonhosted.org/packages/8a/96/7e22db7f116b352db6430baa438bbbc4fbc664143298b7e2eabefcd00cb5/pymongocrypt-0.1b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7abb7f2b6b783b6b123707c09edfb103", "sha256": "170b6408768ae71ad29d1387c78255c90650d30278c61eb287858bcb2d31b0da" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-macosx_10_9_x86_64.whl", "has_sig": false, "md5_digest": "7abb7f2b6b783b6b123707c09edfb103", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 154982, "upload_time": "2019-10-18T00:18:17", "url": "https://files.pythonhosted.org/packages/3f/94/1f9807455a3d2269454dacb0715a944de0bf5498a8630d12a19d90d979f6/pymongocrypt-0.1b2-py2.py3-none-macosx_10_9_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "60d6497a4e641b16aa1350881369d700", "sha256": "36c3f5ed9071360caa341a4394ff2bd59894df112d8b876533c1d974a2368386" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-manylinux2010_x86_64.whl", "has_sig": false, "md5_digest": "60d6497a4e641b16aa1350881369d700", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 348212, "upload_time": "2019-10-18T00:18:20", "url": "https://files.pythonhosted.org/packages/19/ca/c12651413bd6c470e68e34198a487c9b527920d59cf771db1abc4d2d7cb2/pymongocrypt-0.1b2-py2.py3-none-manylinux2010_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "c55e5c99d70b278c85774226bd1f93a2", "sha256": "fb8b9a219f9513ac0171c58ff256d2ec00aaab82f9895152ed7747506cfec7db" }, "downloads": -1, "filename": "pymongocrypt-0.1b2-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "c55e5c99d70b278c85774226bd1f93a2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 164855, "upload_time": "2019-10-18T00:18:23", "url": "https://files.pythonhosted.org/packages/70/e7/9f23cebf57b107fa043d4c8a7cc35196a4336002aebe8894d669c8bdcac5/pymongocrypt-0.1b2-py2.py3-none-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "342f4954b7f4d38eaf2a8cae455927d2", "sha256": "57d0bb24d7e7c2fe5c7bd56cecad82ed00e778400c08a41ed438c4b708cce744" }, "downloads": -1, "filename": "pymongocrypt-0.1b2.tar.gz", "has_sig": false, "md5_digest": "342f4954b7f4d38eaf2a8cae455927d2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25650, "upload_time": "2019-10-18T00:18:25", "url": "https://files.pythonhosted.org/packages/8a/96/7e22db7f116b352db6430baa438bbbc4fbc664143298b7e2eabefcd00cb5/pymongocrypt-0.1b2.tar.gz" } ] }