Skip to main content

Instalador universal e biblioteca CLI para ferramentas Python, Rust e Bun

Project description

Clified

Universal installer and CLI library for Python, Rust, and Bun tools.

Published on PyPI · GitHub

Português: README_PT.md

What it is

Clified splits two responsibilities:

Piece Where it lives Role
Engine clified package (PyPI) venvs, wrappers, Rust/Bun builds, hooks
Registry tools.yaml in each repo What to install, code location, post-steps

Each project ships its own install.sh, sets CLIFIED_TOOLS to the local tools.yaml, and installs Clified via pip on first run. You do not need to clone the Clified repository.

Quick start

pip install --user clified
# or: pipx install clified

git clone https://github.com/your-org/my-cli.git
cd my-cli
./install.sh
my-cli --help

Documentation

Guide Contents
Getting started Installation, clean-machine flow, install.sh
Architecture Engine, YAML, venvs, and wrappers
tools.yaml reference Fields, Python/Rust/Bun types, examples
Hooks post_install, built-in hooks, local hooks
Migrating a project denv / pc / GameDev / ai2print walkthrough
CLI library OutputFormatter, retry, patterns, Click
Troubleshooting PEP 668, wrong Python on PATH, MCP
Development Tests, PyPI release, contributing

Main commands

clified-install --list              # tools in the active tools.yaml
clified-install denv                # install one tool
clified-install denv --action update # refresh deps reusing the existing venv
clified-install denv --action reinstall --force
clified-install all                 # all tools (respects install_order)
clified-install --doctor            # health report for every tool
clified-install --doctor --fix      # + remove CLI wrappers shadowed on PATH

Diagnostics (--doctor)

clified-install --doctor reports, per tool, whether the venv exists and runs a supported Python, whether the CLI wrapper is installed and actually wins on PATH, and which build backends (uv/cargo/bun/git) are present. Add --fix to delete stale wrappers that shadow the canonical one, or --json for machine-readable output. Pass a tool name to scope it to one tool.

Python version selection

Clified honours each tool's requires-python (read from its pyproject.toml) in addition to min_python in tools.yaml: it keeps the tighter floor and the lower ceiling, so a tool capped at <3.14 never lands on a newer interpreter than it supports — uv provisions the right version automatically.

Monorepo file: dependencies

A relative file: dependency (e.g. gamedev-shared @ file:../Shared) is invalid PEP 508 and breaks uv's editable build. Clified absolutises such URLs for the duration of the build and restores pyproject.toml afterwards, so shared-package monorepos install cleanly without per-tool workarounds.

Projects using Clified

CLI Repository Type
denv LocatelliDockerManager Python
pc ProjetoCursor Python
text2d, materialize, … GameDev Python / Rust / Bun
ai2print ai2print Rust + Python (hook)

License

MIT — see LICENSE.

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

clified-0.6.0.tar.gz (61.7 kB view details)

Uploaded Source

Built Distribution

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

clified-0.6.0-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file clified-0.6.0.tar.gz.

File metadata

  • Download URL: clified-0.6.0.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clified-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d76bdb796a7ce06ce82e8b6cf34f1ea0a6e19ab4bfd3fd216b97d71fe3c8fced
MD5 3f95feb2bb8ba904a7f5bca0889f8a97
BLAKE2b-256 f79ed7f512f997e769bb09ee2510c45dd5391900cfdb85551a9bf4be9ef47fb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for clified-0.6.0.tar.gz:

Publisher: publish.yml on maikramer/clified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clified-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: clified-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 66.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clified-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79fbd525142e515f09092c644ad6ab918d75acce7d8f0f5a08cbba40a788a22d
MD5 8af18fd1d931be97c4020c953ef5cffe
BLAKE2b-256 5d2a804548c17fb6dfc55ddaf6d08633f2c91da8a786b99b5ebe0ec68c7f162d

See more details on using hashes here.

Provenance

The following attestation bundles were made for clified-0.6.0-py3-none-any.whl:

Publisher: publish.yml on maikramer/clified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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