Skip to main content

minions

Async-native orchestration framework for running many long-lived “minions” (workers) on a single machine, with persistence and structured workflows.

Status: Pre-alpha (0.0.x). APIs are experimental and may change without notice.


What is this?

minions is an opinionated orchestration framework for:

  • running multiple long-lived async workers (“minions”)
  • wiring them into structured workflows / pipelines
  • managing shared resources with explicit lifecycles
  • persisting state (like via SQLite/aiosqlite) so workflows can resume after restarts

It’s aimed at things like:

  • trading / bot fleets
  • data collection loops
  • background automation agents
  • single-node orchestrated “systems” that don’t warrant full Kubernetes-style infra

The core ideas:

  • Pipelines – long-lived event emitters that produce work items
  • Minions – long-running async workers that listen to pipelines and spawn workflows
  • Workflows – per-event units of work that run to completion using shared resources
  • Resources – shared dependencies with startup/shutdown semantics
  • Persistence – minimal, pragmatic state so the system can recover and resume

Project status

This project is under active development and still in the pre-0.1.0 design/implementation phase:

  • APIs and naming are still being refined
  • Tests and docs are evolving
  • Breaking changes are expected between 0.0.x versions

If you’re here early, treat the codebase as a workbench, not a stable library.


Installation

The package name is reserved on PyPI, but the project is not ready for general use.

If you still want to experiment at your own risk:

pip install minions

Metadata

Release files for minions 0.0.2

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

Source distribution (sdist)

Source distribution for minions 0.0.2
File Size Uploaded Provenance Actions
minions-0.0.2.tar.gz 57.2 kB Without provenance Details for minions-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minions 0.0.2
File Interpreter ABI Platform Actions
minions-0.0.2-py3-none-any.whl Python 3 none any Details for minions-0.0.2-py3-none-any.whl

Total release size: 144.0 kB

Release files / minions-0.0.2.tar.gz

Download URL minions-0.0.2.tar.gz
Size 57.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b84733e127238c48a3257598c3b80bd2f75d458adec99a6d8b1a4009644a7cd6
BLAKE2b-256 checksum
How to use checksums
b6475a80a3ffcf1a95feef4ae7dcab8059baedbc707856f21055fc091b416546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / minions-0.0.2-py3-none-any.whl

Download URL minions-0.0.2-py3-none-any.whl
Size 86.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65f0a1810b9ab474159dd55c2085d4dd27ea265e2c09600bb8eb44c2fe769741
BLAKE2b-256 checksum
How to use checksums
823f5ee1b1ab24ca5747030758e3a776a8e2854d2b06ea7da68648db35ac0d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for minions 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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