Skip to main content

A multithread worker for Tornado

Project description

A multithread worker for Tornado.

from wcpan.worker import AsyncWorker

worker = AsyncWorker()
worker.start()

# this will be run on another thread
result = await worker.do(your_blocking_function)

# do this later
worker.do_later(your_blocking_function)

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

wcpan.worker-1.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

wcpan.worker-1.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file wcpan.worker-1.1.1.tar.gz.

File metadata

  • Download URL: wcpan.worker-1.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wcpan.worker-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e3e0014fff31fe1100fc9959e17ad0895d170979c91e04fbc011522cb53b150b
MD5 40dde94c539a863aa9f7045dec12ad82
BLAKE2b-256 8d4a21ff6d849c551c1841590a2d669c3b81e0721c8f7f56065e461540edfd6e

See more details on using hashes here.

File details

Details for the file wcpan.worker-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wcpan.worker-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5eaa443a3f33681902c216bb071a218238e77fe068a356434fbab50a09ead655
MD5 a536303d4e544d2b256f7b85bde1034c
BLAKE2b-256 9c5b69c57377e3fc6ab722c9cb4239b9d4d1fca21bc1b14844d613f6a5362457

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