All Projects → PyO3 → Tokio

PyO3 / Tokio

Licence: other
Asyncio event loop written in Rust language

Programming Languages

python
139335 projects - #7 most used programming language
rust
11053 projects

Projects that are alternatives of or similar to Tokio

Aiohttp Apispec
Build and document REST APIs with aiohttp and apispec
Stars: ✭ 172 (-27.12%)
Mutual labels:  asyncio, aiohttp
Python Mocket
a socket mock framework - for all kinds of socket animals, web-clients included
Stars: ✭ 209 (-11.44%)
Mutual labels:  asyncio, aiohttp
Aiohttp Cors
CORS support for aiohttp
Stars: ✭ 173 (-26.69%)
Mutual labels:  asyncio, aiohttp
Aiohttp Session
Web sessions for aiohttp.web
Stars: ✭ 171 (-27.54%)
Mutual labels:  asyncio, aiohttp
Aiohttp admin
admin interface for aiohttp application http://aiohttp-admin.readthedocs.io
Stars: ✭ 207 (-12.29%)
Mutual labels:  asyncio, aiohttp
Linkedin Learning Downloader
Linkedin Learning videos downloader
Stars: ✭ 171 (-27.54%)
Mutual labels:  asyncio, aiohttp
Aiohttp Jinja2
jinja2 template renderer for aiohttp.web
Stars: ✭ 180 (-23.73%)
Mutual labels:  asyncio, aiohttp
Python Simple Rest Client
Simple REST client for python 3.6+
Stars: ✭ 143 (-39.41%)
Mutual labels:  asyncio, aiohttp
Create Aio App
The boilerplate for aiohttp. Quick setup for your asynchronous web service.
Stars: ✭ 207 (-12.29%)
Mutual labels:  asyncio, aiohttp
Bolt Python
A framework to build Slack apps using Python
Stars: ✭ 190 (-19.49%)
Mutual labels:  asyncio, aiohttp
Gain
Web crawling framework based on asyncio.
Stars: ✭ 2,002 (+748.31%)
Mutual labels:  asyncio, aiohttp
Aiohttp Security
auth and permissions for aiohttp
Stars: ✭ 195 (-17.37%)
Mutual labels:  asyncio, aiohttp
Aiozipkin
Distributed tracing instrumentation for asyncio with zipkin
Stars: ✭ 161 (-31.78%)
Mutual labels:  asyncio, aiohttp
Aiohttp Devtools
dev tools for aiohttp
Stars: ✭ 202 (-14.41%)
Mutual labels:  asyncio, aiohttp
Kubernetes asyncio
Python asynchronous client library for Kubernetes http://kubernetes.io/
Stars: ✭ 147 (-37.71%)
Mutual labels:  asyncio, aiohttp
Owllook
owllook-小说搜索引擎
Stars: ✭ 2,163 (+816.53%)
Mutual labels:  asyncio, aiohttp
Pymxget
mxget的Python实现
Stars: ✭ 136 (-42.37%)
Mutual labels:  asyncio, aiohttp
Aioinflux
Asynchronous Python client for InfluxDB
Stars: ✭ 142 (-39.83%)
Mutual labels:  asyncio, aiohttp
Aiohttp Debugtoolbar
aiohttp_debugtoolbar is library for debugtoolbar support for aiohttp
Stars: ✭ 183 (-22.46%)
Mutual labels:  asyncio, aiohttp
Fooproxy
稳健高效的评分制-针对性- IP代理池 + API服务,可以自己插入采集器进行代理IP的爬取,针对你的爬虫的一个或多个目标网站分别生成有效的IP代理数据库,支持MongoDB 4.0 使用 Python3.7(Scored IP proxy pool ,customise proxy data crawler can be added anytime)
Stars: ✭ 195 (-17.37%)
Mutual labels:  asyncio, aiohttp

Asyncio event loop based on tokio-rs (WIP) |Build Status| |Join the dev chat at https://gitter.im/PyO3/Lobby|

async-tokio is a drop-in replacement of the built-in asyncio event loop. async-tokio is implemented in rust and uses tokio-rs under the hood and PyO3 python binding <https://github.com/PyO3/pyo3>_.

Using tokio loop

You can create an instance of the loop manually, using:

.. code:: python

import tokio

policy = tokio.EventLoopPolicy()
asyncio.set_event_loop_policy(policy)

Development of tokio loop

To build tokio loop, you'll need rust nightly and Python 3.6. The best way is to create a virtual env, so that you'll have python commands pointing to the correct tools.

  1. git clone [email protected]:PyO3/tokio.git

  2. cd tokio

  3. make build

  4. make test

Status

At the moment async-tokio works on unix like systems only. Supported api:

  • time api (call_at, call_later)
  • sockets api (sock_xxx methods)
  • tcp (client/server)
  • unix domain socket
  • dns
  • pipes
  • subprocess
  • signals
  • executors

UDP support is missing.

License

async-tokio is offered under the Apache 2.0 licenses.

.. |Build Status| image:: https://travis-ci.org/PyO3/tokio.svg?branch=master :target: https://travis-ci.org/PyO3/tokio .. |Join the dev chat at https://gitter.im/PyO3/Lobby| image:: https://img.shields.io/gitter/room/nwjs/nw.js.svg :target: https://gitter.im/PyO3/Lobby

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].