Tornado
Project description
Tornado
Just a small lib implementing obj for a tasks.
Usage
import asyncio
from tornado_obj import Tornado
async def callback(value):
print("Its my value that I am getting 1 time per second")
async def main():
tornado = Tornado()
await tornado.add_item(0)
await tornado.del_item(0)
await tornado.add_item({"id": 1})
await tornado.del_item(1, lambda x: x['id'])
if __name__ == '__main__':
loop = asyncio.new_event_loop()
loop.run_until_complete(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tornadoobj-0.0.7.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tornadoobj-0.0.7.tar.gz.
File metadata
- Download URL: tornadoobj-0.0.7.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c2c77e8f8ed5194a1e258dec4ed877d3b2a1ffad689635d74854428b2ea5757
|
|
| MD5 |
f2f640081bc2240a51246645692ab6fc
|
|
| BLAKE2b-256 |
0f04c777d9c24ae417d45a771c8216ddcddb5a0cfb4ac8e0c671c9ffceab3879
|
File details
Details for the file tornadoobj-0.0.7-py3-none-any.whl.
File metadata
- Download URL: tornadoobj-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372dcb21a8a4d04414b5b10a6a8f480a12e510bb6341e09c91585e83d1da69dd
|
|
| MD5 |
88dccccb3f85f6cdb80a74546e32cf8c
|
|
| BLAKE2b-256 |
2d11d7181bc1e9a8178fa99a748f7114aa514342e3b77becdf1eceb4b21c570d
|