Skip to main content

A tool for managing python poetry projects

Project description

Realm

realm is a Python open-source tool inspired by lerna and nx. It is designed to manage multiple Python packages/projects within the same Git repository. The primary focus is on running tasks across all projects in the repository and performing tasks on projects affected by specific changes.

Build Status

Features

  • Poetry Integration: realm is built to manage projects that use poetry. Therefore, each project within the repository should have a pyproject.toml file.

  • Dependency Management: realm scans the pyproject.toml files to identify local path dependencies managed within the repository. If a project depends on a library, changes to that library will be considered when determining affected projects.

Commands

  • realm init: Initializes a new realm repository.
  • realm install: Executes poetry install on all projects.
  • realm ls: Lists all projects managed by realm.
  • realm run: Executes a command on all projects.
  • realm task: Runs a poetry task on projects containing that task (requires poethepoet).

Filtering

You can apply filters to affect only specific projects. For example, to install only changed projects:

$ realm install --since origin/master

Available filters:

  • --since - Includes only projects changed since the specified reference.
  • --scope - Includes only projects that match the given pattern.
  • --ignore - Excludes projects that match the given pattern.
  • --match - Filters projects by a field specified in the pyproject.toml file.

Feel free to contribute, report issues, or suggest improvements. Happy coding with realm!

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

realm-0.4.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

realm-0.4.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file realm-0.4.0.tar.gz.

File metadata

  • Download URL: realm-0.4.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for realm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cf5592fd45275b5c81489115e34b84abff432873879dd7be26e36ee0acbb0d23
MD5 80cc7f71e806702bb9ff642f2ef55a2c
BLAKE2b-256 c55484ed6f3ed627c031e40829cde370f97e7a5d13b7982f029a73c62c3c17f2

See more details on using hashes here.

File details

Details for the file realm-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: realm-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

File hashes

Hashes for realm-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73bfe33b8da86997aabbf8c45115b037619ddbebb4b164030ca7962e54a9efb0
MD5 bbd79b4f0d14f7b7afde7850965bc5f0
BLAKE2b-256 2c58d67bfbb65703c70da066b65dbbb750fd546da4956dcbd4c7fcda7314cb55

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