Skip to main content

Container Unit Templates in Python — a deterministic framework for building container workloads

Project description

CUTIP

Python 3.11+ Pydantic v2 uv Runtime CI Docs

An automation tool for containerized workflows with deterministic Python hooks at every stage of a container's lifecycle. Define infrastructure as structured YAML cards, wire them into units and groups, then orchestrate with plain Python.

docker-compose CUTIP
Startup ordering depends_on with condition polling Python loop -- exec into container, branch on result
Post-start hooks None native startup(ctx) per unit -- full container API
Pre-build file staging None pre_build(ctx) -- generate config, copy deps before build
Config variables .env flat substitution paths.yaml + secrets.yaml with fail-fast validation
Validation Runtime only Static graph validation -- no backend required
Orchestration logic Shell scripts outside compose First-class Python in workflow.py
Migration from compose -- cutip from-compose converts any compose file

Install

pip install cutip

Getting Started

cutip init
cutip validate
cutip run hello-world

Documentation

joshuajerome.github.io/cutip

License

MIT

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

cutip-0.2.2.tar.gz (239.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cutip-0.2.2-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

Details for the file cutip-0.2.2.tar.gz.

File metadata

  • Download URL: cutip-0.2.2.tar.gz
  • Upload date:
  • Size: 239.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cutip-0.2.2.tar.gz
Algorithm Hash digest
SHA256 288b37063a8cc83e1940729cb16195ecdd69527e9e70a62217813accf687ef38
MD5 83858234d3bd4608ab43bcfc6a4851b4
BLAKE2b-256 3ba3be67965d1e734a081e6e5fb0d5b9f84598a1f5afab1eeb42cb329d062d6d

See more details on using hashes here.

File details

Details for the file cutip-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: cutip-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 99.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cutip-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf1f0f4b9e3bf52d882554214a84e59e61e468ab8c99c7087f545e241b511f3
MD5 013b876ff8a83cd3913b57c997461514
BLAKE2b-256 f6bbc0493b549ef869176d3f0af9749e2ed87886750dc033d8b863af5347755e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page