Ventricle
An async REST-server, scheduler and worker all in one. Highly customizable, as it is just wrapping other battle-tested libaries.
from ventricle import Ventricle
app = Ventricle()
@app.worker()
async def hello_world_worker():
print("I am actually just python threading")
@app.rest.get("/endpoint")
async def rest_endpoint():
await hello_world_worker()
return {"how": "I am actually just FastAPI"}
@app.scheduler.scheduled_job("cron", minute=0)
async def hourly_job():
print("I am actually just APScheduler")
# start all of them
app.start(
rest=True,
schedular=True,
worker=True
)
Metadata
Release files for ventricle 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ventricle-0.0.10.tar.gz | 3.7 kB | Without provenance | Details for ventricle-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ventricle-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for ventricle-0.0.10-py3-none-any.whl |
Total release size: 10.5 kB
Release files / ventricle-0.0.10.tar.gz
| Download URL | ventricle-0.0.10.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8732808383911a5465d0f0d3f86fa6b05e1c2a9b3a085f01ded7b8d1a06b52db
|
|
BLAKE2b-256 checksum How to use checksums |
2471354ccd5147a0735bd5f0d753c6280bc929f2ada17e1579acd2c60a1593b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.9 Darwin/25.0.0
|
Release files / ventricle-0.0.10-py3-none-any.whl
| Download URL | ventricle-0.0.10-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
267aea2c190e43f5107361b9fd8438b4da2d49a85ec147c7deaaf09d769c5203
|
|
BLAKE2b-256 checksum How to use checksums |
4a7642fb974c6970cc1b8f20664aca457ad6369e7df230db2613b65ebe61609c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.9 Darwin/25.0.0
|
Security for ventricle 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.