METADATA 5.6 KB

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