Skip to main content

No project description provided

Project description

QSilver

QSilver is a tiny python library, which provides api to run multiply tasks concurrent in only one thread using async/await syntax.

Installation

You can install QSilver via pip:

pip intall qsilver

Usage

import qsilver

async def example():
    print("Hello")
    await qsilver.sleep(1)
    print("World!")

qsilver.create_scheduler()
qsilver.add_coroutine(example())
qsilver.run_forever()

License

MIT

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

qsilver-0.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

qsilver-0.2-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

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