|
| 1 | +Metadata-Version: 2.3 |
| 2 | +Name: cryptography |
| 3 | +Version: 43.0.1 |
| 4 | +Classifier: Development Status :: 5 - Production/Stable |
| 5 | +Classifier: Intended Audience :: Developers |
| 6 | +Classifier: License :: OSI Approved :: Apache Software License |
| 7 | +Classifier: License :: OSI Approved :: BSD License |
| 8 | +Classifier: Natural Language :: English |
| 9 | +Classifier: Operating System :: MacOS :: MacOS X |
| 10 | +Classifier: Operating System :: POSIX |
| 11 | +Classifier: Operating System :: POSIX :: BSD |
| 12 | +Classifier: Operating System :: POSIX :: Linux |
| 13 | +Classifier: Operating System :: Microsoft :: Windows |
| 14 | +Classifier: Programming Language :: Python |
| 15 | +Classifier: Programming Language :: Python :: 3 |
| 16 | +Classifier: Programming Language :: Python :: 3 :: Only |
| 17 | +Classifier: Programming Language :: Python :: 3.7 |
| 18 | +Classifier: Programming Language :: Python :: 3.8 |
| 19 | +Classifier: Programming Language :: Python :: 3.9 |
| 20 | +Classifier: Programming Language :: Python :: 3.10 |
| 21 | +Classifier: Programming Language :: Python :: 3.11 |
| 22 | +Classifier: Programming Language :: Python :: 3.12 |
| 23 | +Classifier: Programming Language :: Python :: Implementation :: CPython |
| 24 | +Classifier: Programming Language :: Python :: Implementation :: PyPy |
| 25 | +Classifier: Topic :: Security :: Cryptography |
| 26 | +Requires-Dist: cffi >=1.12 ; platform_python_implementation != 'PyPy' |
| 27 | +Requires-Dist: bcrypt >=3.1.5 ; extra == 'ssh' |
| 28 | +Requires-Dist: nox ; extra == 'nox' |
| 29 | +Requires-Dist: cryptography-vectors ==43.0.1 ; extra == 'test' |
| 30 | +Requires-Dist: pytest >=6.2.0 ; extra == 'test' |
| 31 | +Requires-Dist: pytest-benchmark ; extra == 'test' |
| 32 | +Requires-Dist: pytest-cov ; extra == 'test' |
| 33 | +Requires-Dist: pytest-xdist ; extra == 'test' |
| 34 | +Requires-Dist: pretend ; extra == 'test' |
| 35 | +Requires-Dist: certifi ; extra == 'test' |
| 36 | +Requires-Dist: pytest-randomly ; extra == 'test-randomorder' |
| 37 | +Requires-Dist: sphinx >=5.3.0 ; extra == 'docs' |
| 38 | +Requires-Dist: sphinx-rtd-theme >=1.1.1 ; extra == 'docs' |
| 39 | +Requires-Dist: pyenchant >=1.6.11 ; extra == 'docstest' |
| 40 | +Requires-Dist: readme-renderer ; extra == 'docstest' |
| 41 | +Requires-Dist: sphinxcontrib-spelling >=4.0.1 ; extra == 'docstest' |
| 42 | +Requires-Dist: build ; extra == 'sdist' |
| 43 | +Requires-Dist: ruff ; extra == 'pep8test' |
| 44 | +Requires-Dist: mypy ; extra == 'pep8test' |
| 45 | +Requires-Dist: check-sdist ; extra == 'pep8test' |
| 46 | +Requires-Dist: click ; extra == 'pep8test' |
| 47 | +Provides-Extra: ssh |
| 48 | +Provides-Extra: nox |
| 49 | +Provides-Extra: test |
| 50 | +Provides-Extra: test-randomorder |
| 51 | +Provides-Extra: docs |
| 52 | +Provides-Extra: docstest |
| 53 | +Provides-Extra: sdist |
| 54 | +Provides-Extra: pep8test |
| 55 | +License-File: LICENSE |
| 56 | +License-File: LICENSE.APACHE |
| 57 | +License-File: LICENSE.BSD |
| 58 | +Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. |
| 59 | +Author: The cryptography developers <cryptography-dev@python.org> |
| 60 | +Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org> |
| 61 | +License: Apache-2.0 OR BSD-3-Clause |
| 62 | +Requires-Python: >=3.7 |
| 63 | +Description-Content-Type: text/x-rst; charset=UTF-8 |
| 64 | +Project-URL: homepage, https://github.com/pyca/cryptography |
| 65 | +Project-URL: documentation, https://cryptography.io/ |
| 66 | +Project-URL: source, https://github.com/pyca/cryptography/ |
| 67 | +Project-URL: issues, https://github.com/pyca/cryptography/issues |
| 68 | +Project-URL: changelog, https://cryptography.io/en/latest/changelog/ |
| 69 | + |
| 70 | +pyca/cryptography |
| 71 | +================= |
| 72 | + |
| 73 | +.. image:: https://img.shields.io/pypi/v/cryptography.svg |
| 74 | + :target: https://pypi.org/project/cryptography/ |
| 75 | + :alt: Latest Version |
| 76 | + |
| 77 | +.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest |
| 78 | + :target: https://cryptography.io |
| 79 | + :alt: Latest Docs |
| 80 | + |
| 81 | +.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main |
| 82 | + :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain |
| 83 | + |
| 84 | + |
| 85 | +``cryptography`` is a package which provides cryptographic recipes and |
| 86 | +primitives to Python developers. Our goal is for it to be your "cryptographic |
| 87 | +standard library". It supports Python 3.7+ and PyPy3 7.3.11+. |
| 88 | + |
| 89 | +``cryptography`` includes both high level recipes and low level interfaces to |
| 90 | +common cryptographic algorithms such as symmetric ciphers, message digests, and |
| 91 | +key derivation functions. For example, to encrypt something with |
| 92 | +``cryptography``'s high level symmetric encryption recipe: |
| 93 | + |
| 94 | +.. code-block:: pycon |
| 95 | + |
| 96 | + >>> from cryptography.fernet import Fernet |
| 97 | + >>> # Put this somewhere safe! |
| 98 | + >>> key = Fernet.generate_key() |
| 99 | + >>> f = Fernet(key) |
| 100 | + >>> token = f.encrypt(b"A really secret message. Not for prying eyes.") |
| 101 | + >>> token |
| 102 | + b'...' |
| 103 | + >>> f.decrypt(token) |
| 104 | + b'A really secret message. Not for prying eyes.' |
| 105 | + |
| 106 | +You can find more information in the `documentation`_. |
| 107 | + |
| 108 | +You can install ``cryptography`` with: |
| 109 | + |
| 110 | +.. code-block:: console |
| 111 | + |
| 112 | + $ pip install cryptography |
| 113 | + |
| 114 | +For full details see `the installation documentation`_. |
| 115 | + |
| 116 | +Discussion |
| 117 | +~~~~~~~~~~ |
| 118 | + |
| 119 | +If you run into bugs, you can file them in our `issue tracker`_. |
| 120 | + |
| 121 | +We maintain a `cryptography-dev`_ mailing list for development discussion. |
| 122 | + |
| 123 | +You can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get |
| 124 | +involved. |
| 125 | + |
| 126 | +Security |
| 127 | +~~~~~~~~ |
| 128 | + |
| 129 | +Need to report a security issue? Please consult our `security reporting`_ |
| 130 | +documentation. |
| 131 | + |
| 132 | + |
| 133 | +.. _`documentation`: https://cryptography.io/ |
| 134 | +.. _`the installation documentation`: https://cryptography.io/en/latest/installation/ |
| 135 | +.. _`issue tracker`: https://github.com/pyca/cryptography/issues |
| 136 | +.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev |
| 137 | +.. _`security reporting`: https://cryptography.io/en/latest/security/ |
| 138 | + |
0 commit comments