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.6.tar.gz
(3.2 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.6.tar.gz.
File metadata
- Download URL: tornadoobj-0.0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcead1890fafbd43c485acd1c8c7f9d087c401a49714a9992bffa084e3f92952
|
|
| MD5 |
712c0fea02fcee889bac3c0fad53afec
|
|
| BLAKE2b-256 |
969e08f1a1e24d155d5b99be898611d88f035d4944ef4aee6fb5a4f47e235918
|
File details
Details for the file tornadoobj-0.0.6-py3-none-any.whl.
File metadata
- Download URL: tornadoobj-0.0.6-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 |
87b5006711e33338ffc6dc85ce901871877c53e44e1840ce90d3f987f1e722d2
|
|
| MD5 |
003157aaaa83f3fd4154998c52216a62
|
|
| BLAKE2b-256 |
b1a740a776e07ee4248f65050c15f639f0e454be52561169558939941174dea0
|