Skip to main content

Cocapn Barracks

Task execution and queue management for agent fleets.

Install

pip install cocapn-barracks

Usage

from cocapn_barracks import Task, TaskQueue, Executor

queue = TaskQueue()
queue.enqueue(Task(name="my-task", payload={"data": 42}))

executor = Executor()
executor.register("my-task", lambda x: x["data"] * 2)

task = queue.dequeue()
result = executor.execute(task)
print(result.result.output)  # 84

License

MIT

Metadata

Release files for cocapn-barracks 0.2.0

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

Source distribution (sdist)

Source distribution for cocapn-barracks 0.2.0
File Size Uploaded Provenance Actions
cocapn_barracks-0.2.0.tar.gz 6.3 kB Without provenance Details for cocapn_barracks-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cocapn-barracks 0.2.0
File Interpreter ABI Platform Actions
cocapn_barracks-0.2.0-py3-none-any.whl Python 3 none any Details for cocapn_barracks-0.2.0-py3-none-any.whl

Total release size: 11.6 kB

Release files / cocapn_barracks-0.2.0.tar.gz

Download URL cocapn_barracks-0.2.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
49ed7c390cf1e2e9ac33f1a6995e509e33cfc74079358f24844ddb492ac550ad
BLAKE2b-256 checksum
How to use checksums
0fccd52d0fb128316bb181120d3d8b91368436959cd2fae8d527fdc0f9d4ca2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / cocapn_barracks-0.2.0-py3-none-any.whl

Download URL cocapn_barracks-0.2.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c23e4d61af91b94acdbb23e06451393b2b261fbcad40f03f74d7eb7da670d95
BLAKE2b-256 checksum
How to use checksums
873fb907f0a9c5645b600d2bca7c84b35155549a1dcc19efd0baf89ed7fb00d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for cocapn-barracks 0.2.0

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