Skip to main content

Anthology

Anthology is a command-line tool designed to streamline common tasks in Poetry based mono-repos. It provides commands for installing dependencies, running scripts, and managing project versions.

Installation

To install Anthology, use poetry:

poetry self add anthology

Usage

Anthology provides several commands to manage Anthology projects:

poetry anthology install [dir]

This command installs sub-packages defined in the Anthology project. It reads the Anthology configuration, updates package sources, locks sub-packages, generates the meta pyproject.toml document, and installs dependencies.

poetry anthology run [script_name] [args]

This command runs scripts defined in the Anthology project. It reads the Anthology configuration, locates the package directory, retrieves the scripts defined in the Anthology configuration for the target, and executes the specified script using subprocess.

poetry anthology version [args]

This command manages versioning within the Anthology project. It reads the Anthology configuration, executes 'poetry version' command in each of the sub-packages, updates package sources, locks sub-packages, extracts the version of the sub-package, and generates the meta pyproject.toml document with the updated version.

Examples

To install sub-packages in the current directory:

poetry anthology install

To run a script named 'build' in the Anthology project:

poetry anthology run build

To update the version of sub-packages in the Anthology project:

poetry anthology version

Metadata

Release files for anthology 0.1.8

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

Built distribution (wheel)

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

Release files / anthology-0.1.8-py3-none-any.whl

Download URL anthology-0.1.8-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6108a03dfb8e563ba29ff772e53b8c0f5c4ba8e559450e1ec4047a543c7e79f4
BLAKE2b-256 checksum
How to use checksums
167d680072d3edaefe190dea2ca0058c04e36425c9db0be4f5718a802f4c81b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.8.18 Linux/6.14.0-1017-azure

Security for anthology 0.1.8

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