Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tornadoobj-0.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for tornadoobj-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b4420dc0263572ecdc3ef01d009259cff3c0b3ffcfc84b1bbb31d71add617c6f
MD5 cde9b47a540907fe52456ab110f32bb3
BLAKE2b-256 e7d03be65c5a2445ebc2e9d3e211930f30c2386a6c9cd6a73fa8e87d6d22c025

See more details on using hashes here.

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

Hashes for tornadoobj-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c386b7b5a1f3b4c250ebf23bd9873be9d5b7ef95a1a2054e8bf98df9176e6daa
MD5 c3becc93acbf72d6ae1532b4ec712ee1
BLAKE2b-256 cbf9558c7a2a9987b71b357baf11530785bc37ce0c3a69d6e15654a3c8982b4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page