Skip to main content

ark-framework

ark-framework provides a simple asynchronous task decorator that allows lightweight parallelism using Python threads. It includes support for thread pools, named task queues, and graceful task completion.

Features

  • @asynco: Decorator to run any function in a separate thread or pool
  • Asynco: Singleton manager for custom thread pools

Usage

from ark import asynco, Asynco

@asynco(pool_name="my_pool")
def background_task(x):
    print(f"Running task {x}")

Asynco.create_pool("my_pool", size=5)

for i in range(10):
    background_task(i)

Asynco.complete_all_task("my_pool")

Metadata

Release files for ark-framework 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ark-framework 0.0.4
File Size Uploaded Provenance Actions
ark_framework-0.0.4.tar.gz 3.4 kB Without provenance Details for ark_framework-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ark-framework 0.0.4
File Interpreter ABI Platform Actions
ark_framework-0.0.4-py3-none-any.whl Python 3 none any Details for ark_framework-0.0.4-py3-none-any.whl

Total release size: 6.9 kB

Release files / ark_framework-0.0.4.tar.gz

Download URL ark_framework-0.0.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a74162f0582ada94f1546f9fc01c612ce588758eea28e1f479b102416dbd1eab
BLAKE2b-256 checksum
How to use checksums
b0903bff4b2b61b48063858a2178486f270c4afefd52db3683b2ee6267b35e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release files / ark_framework-0.0.4-py3-none-any.whl

Download URL ark_framework-0.0.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6662a06adc1d628f4a758a39d180c94876ea1042b5c0fa9fbb2e23e13ba8a45c
BLAKE2b-256 checksum
How to use checksums
6d57eb57fd75edd3eedc6f705f40303c3d3d2b961ce0c71ac1885801435c5d98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Security for ark-framework 0.0.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page