METADATA 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Metadata-Version: 2.4
  2. Name: anyio
  3. Version: 4.14.2
  4. Summary: High-level concurrency and networking framework on top of asyncio or Trio
  5. Author-email: Alex Grönholm <alex.gronholm@nextday.fi>
  6. License-Expression: MIT
  7. Project-URL: Documentation, https://anyio.readthedocs.io/en/latest/
  8. Project-URL: Changelog, https://anyio.readthedocs.io/en/stable/versionhistory.html
  9. Project-URL: Source code, https://github.com/agronholm/anyio
  10. Project-URL: Issue tracker, https://github.com/agronholm/anyio/issues
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: Framework :: AnyIO
  14. Classifier: Typing :: Typed
  15. Classifier: Programming Language :: Python
  16. Classifier: Programming Language :: Python :: 3
  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 :: 3.15
  23. Requires-Python: >=3.10
  24. Description-Content-Type: text/x-rst
  25. License-File: LICENSE
  26. Requires-Dist: exceptiongroup>=1.0.2; python_version < "3.11"
  27. Requires-Dist: idna>=2.8
  28. Requires-Dist: typing_extensions>=4.5; python_version < "3.13"
  29. Provides-Extra: trio
  30. Requires-Dist: trio>=0.32.0; extra == "trio"
  31. Dynamic: license-file
  32. .. image:: https://github.com/agronholm/anyio/actions/workflows/test.yml/badge.svg
  33. :target: https://github.com/agronholm/anyio/actions/workflows/test.yml
  34. :alt: Build Status
  35. .. image:: https://coveralls.io/repos/github/agronholm/anyio/badge.svg?branch=master
  36. :target: https://coveralls.io/github/agronholm/anyio?branch=master
  37. :alt: Code Coverage
  38. .. image:: https://readthedocs.org/projects/anyio/badge/?version=latest
  39. :target: https://anyio.readthedocs.io/en/latest/?badge=latest
  40. :alt: Documentation
  41. .. image:: https://badges.gitter.im/gitterHQ/gitter.svg
  42. :target: https://gitter.im/python-trio/AnyIO
  43. :alt: Gitter chat
  44. .. image:: https://tidelift.com/badges/package/pypi/anyio
  45. :target: https://tidelift.com/subscription/pkg/pypi-anyio
  46. :alt: Tidelift
  47. AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio_ or
  48. Trio_. It implements Trio-like `structured concurrency`_ (SC) on top of asyncio and works in harmony
  49. with the native SC of Trio itself.
  50. Applications and libraries written against AnyIO's API will run unmodified on either asyncio_ or
  51. Trio_. AnyIO can also be adopted into a library or application incrementally – bit by bit, no full
  52. refactoring necessary. It will blend in with the native libraries of your chosen backend.
  53. To find out why you might want to use AnyIO's APIs instead of asyncio's, you can read about it
  54. `here <https://anyio.readthedocs.io/en/stable/why.html>`_.
  55. Documentation
  56. -------------
  57. View full documentation at: https://anyio.readthedocs.io/
  58. Features
  59. --------
  60. AnyIO offers the following functionality:
  61. * Task groups (nurseries_ in trio terminology)
  62. * High-level networking (TCP, UDP and UNIX sockets)
  63. * `Happy eyeballs`_ algorithm for TCP connections (more robust than that of asyncio on Python
  64. 3.8)
  65. * async/await style UDP sockets (unlike asyncio where you still have to use Transports and
  66. Protocols)
  67. * A versatile API for byte streams and object streams
  68. * Inter-task synchronization and communication (locks, conditions, events, semaphores, object
  69. streams)
  70. * Worker threads
  71. * Subprocesses
  72. * Subinterpreter support for code parallelization (on Python 3.13 and later)
  73. * Asynchronous file I/O (using worker threads)
  74. * Signal handling
  75. * Asynchronous versions of the functools_ and itertools_ modules
  76. AnyIO also comes with its own pytest_ plugin which also supports asynchronous fixtures.
  77. It even works with the popular Hypothesis_ library.
  78. .. _asyncio: https://docs.python.org/3/library/asyncio.html
  79. .. _Trio: https://github.com/python-trio/trio
  80. .. _structured concurrency: https://en.wikipedia.org/wiki/Structured_concurrency
  81. .. _nurseries: https://trio.readthedocs.io/en/stable/reference-core.html#nurseries-and-spawning
  82. .. _Happy eyeballs: https://en.wikipedia.org/wiki/Happy_Eyeballs
  83. .. _pytest: https://docs.pytest.org/en/latest/
  84. .. _functools: https://docs.python.org/3/library/functools.html
  85. .. _itertools: https://docs.python.org/3/library/itertools.html
  86. .. _Hypothesis: https://hypothesis.works/
  87. Security contact information
  88. ----------------------------
  89. To report a security vulnerability, please use the `Tidelift security contact`_.
  90. Tidelift will coordinate the fix and disclosure.
  91. .. _Tidelift security contact: https://tidelift.com/security