METADATA 5.2 KB

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