Tornado
Project description
Tornado
Just a small lib implementing obj for a tasks.
Usage
import asyncio
from tornado 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.5.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.5.tar.gz.
File metadata
- Download URL: tornadoobj-0.0.5.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 |
b4420dc0263572ecdc3ef01d009259cff3c0b3ffcfc84b1bbb31d71add617c6f
|
|
| MD5 |
cde9b47a540907fe52456ab110f32bb3
|
|
| BLAKE2b-256 |
e7d03be65c5a2445ebc2e9d3e211930f30c2386a6c9cd6a73fa8e87d6d22c025
|
File details
Details for the file tornadoobj-0.0.5-py3-none-any.whl.
File metadata
- Download URL: tornadoobj-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.6 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 |
c386b7b5a1f3b4c250ebf23bd9873be9d5b7ef95a1a2054e8bf98df9176e6daa
|
|
| MD5 |
c3becc93acbf72d6ae1532b4ec712ee1
|
|
| BLAKE2b-256 |
cbf9558c7a2a9987b71b357baf11530785bc37ce0c3a69d6e15654a3c8982b4e
|