All Projects → agronholm → Anyio

agronholm / Anyio

Licence: mit
High level compatibility layer for multiple asynchronous event loop implementations on Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Anyio

Riprova
Versatile async-friendly library to retry failed operations with configurable backoff strategies
Stars: ✭ 106 (-69.1%)
Mutual labels:  asyncio, async-await
Aiozipkin
Distributed tracing instrumentation for asyncio with zipkin
Stars: ✭ 161 (-53.06%)
Mutual labels:  asyncio, async-await
Aiormq
Pure python AMQP 0.9.1 asynchronous client library
Stars: ✭ 112 (-67.35%)
Mutual labels:  asyncio, async-await
Uvloop
Ultra fast asyncio event loop.
Stars: ✭ 8,246 (+2304.08%)
Mutual labels:  asyncio, async-await
tomodachi
💻 Microservice library / framework using Python's asyncio event loop with full support for HTTP + WebSockets, AWS SNS+SQS, RabbitMQ / AMQP, middleware, etc. Extendable for GraphQL, protobuf, gRPC, among other technologies.
Stars: ✭ 170 (-50.44%)
Mutual labels:  asyncio, async-await
Web Applications With Fastapi Course
Demo code and other handouts for students of our FastAPI Web Apps course.
Stars: ✭ 56 (-83.67%)
Mutual labels:  asyncio, async-await
Sqlalchemy aio
Asyncio strategy for SQLAlchemy.
Stars: ✭ 299 (-12.83%)
Mutual labels:  asyncio, async-await
Cppcoro
A library of C++ coroutine abstractions for the coroutines TS
Stars: ✭ 2,118 (+517.49%)
Mutual labels:  asyncio, async-await
Aiohttp admin
admin interface for aiohttp application http://aiohttp-admin.readthedocs.io
Stars: ✭ 207 (-39.65%)
Mutual labels:  asyncio, async-await
Aioodbc
aioodbc - is a library for accessing a ODBC databases from the asyncio
Stars: ✭ 206 (-39.94%)
Mutual labels:  asyncio, async-await
Asyncio
asyncio historical repository
Stars: ✭ 952 (+177.55%)
Mutual labels:  asyncio, async-await
nardis
A small web framework based on ASGI
Stars: ✭ 14 (-95.92%)
Mutual labels:  asyncio, async-await
Async Reduce
Reducer for similar simultaneously coroutines
Stars: ✭ 17 (-95.04%)
Mutual labels:  asyncio, async-await
Greenletio
Asyncio integration with sync code using greenlets.
Stars: ✭ 102 (-70.26%)
Mutual labels:  asyncio, async-await
Aiomonitor
aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
Stars: ✭ 430 (+25.36%)
Mutual labels:  asyncio, async-await
Aiomisc
aiomisc - miscellaneous utils for asyncio
Stars: ✭ 200 (-41.69%)
Mutual labels:  asyncio, async-await
aioflask
Flask running on asyncio!
Stars: ✭ 192 (-44.02%)
Mutual labels:  asyncio, async-await
kbio
Another Async IO Framework based on io_uring
Stars: ✭ 54 (-84.26%)
Mutual labels:  asyncio, async-await
Evt
💧EventEmitter's typesafe replacement
Stars: ✭ 305 (-11.08%)
Mutual labels:  async-await
Duckduckgo
DuckDuckGo App built in React-Native (Unofficial)
Stars: ✭ 320 (-6.71%)
Mutual labels:  async-await

.. image:: https://github.com/agronholm/anyio/workflows/Python%20codeqa/test/badge.svg?branch=master :target: https://github.com/agronholm/anyio/actions?query=workflow%3A%22Python+codeqa%2Ftest%22+branch%3Amaster :alt: Build Status .. image:: https://coveralls.io/repos/github/agronholm/anyio/badge.svg?branch=master :target: https://coveralls.io/github/agronholm/anyio?branch=master :alt: Code Coverage .. image:: https://readthedocs.org/projects/anyio/badge/?version=latest :target: https://anyio.readthedocs.io/en/latest/?badge=latest :alt: Documentation .. image:: https://badges.gitter.im/gitterHQ/gitter.svg :target: https://gitter.im/python-trio/AnyIO :alt: Gitter chat

AnyIO is a asynchronous compatibility API that allows applications and libraries written against it to run unmodified on either asyncio_ or trio_.

It bridges the following functionality:

  • Task groups
  • Cancellation
  • Threads
  • Signal handling
  • Asynchronous file I/O
  • Subprocesses
  • Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams)
  • High level networking (TCP, UDP and UNIX sockets)

You can even use it together with native libraries from your selected backend in applications. Doing this in libraries is not advisable however since it limits the usefulness of your library.

AnyIO comes with its own pytest_ plugin which also supports asynchronous fixtures. It even works with the popular Hypothesis_ library.

.. _asyncio: https://docs.python.org/3/library/asyncio.html .. _trio: https://github.com/python-trio/trio .. _pytest: https://docs.pytest.org/en/latest/ .. _Hypothesis: https://hypothesis.works/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].