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
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.1.2.tar.gz
(2.3 kB
view hashes)