A tool for managing python poetry projects
Project description
Realm
realm is a CLI tool written in Python aimed at simplifying the development and maintenance of multiple Python projects within the same repository with a particular focus on projects structured using Poetry.
Features
-
Poetry Integration:
realm
is built to manage projects that usepoetry
. Therefore, each project within the repository should have apyproject.toml
file. -
Dependency Management:
realm
scans thepyproject.toml
files to identify localpath
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 (requirespoethepoet
).
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.
Documentation
For more information on available commands and usage, refer to the documentation.
Contribution
Contributions to realm
are welcome! If you encounter any issues or have suggestions for improvements, please open an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file realm-0.4.1.tar.gz
.
File metadata
- Download URL: realm-0.4.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c9a9421168529b51fdfd895417d8828ee9b01ca39b2125d5812e4e64130a26 |
|
MD5 | 3d50556b1a635ecae3e684a628f8da14 |
|
BLAKE2b-256 | 2ebdc0602374b9fbf2e458b7b2f0d8a625e609875adb6356837625bff9ca2638 |
File details
Details for the file realm-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: realm-0.4.1-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf963c68344868c7d8a28264dd73627d199bd37316dbcb58da66c19e7ec5edf |
|
MD5 | 8781b73bb4f9250046909f657a04648a |
|
BLAKE2b-256 | ffa83e0cbd0f42a5b59216ffb95159238b367a57d36a07132fc0d01f1f6c79ce |