monopy
monopy is a Python tool designed to help manage monorepo structures efficiently, with support for managing dependencies, configurations, and service execution.
monorepo structure
└── python-monorepo
├── Readme.md
├── config.json
├── monorepo
│ ├── services
│ │ ├── x
│ │ │ ├── Dockerfile
│ │ │ ├── app
│ │ │ │ ├── __init__.py
│ │ │ │ ├── application.py
│ │ │ │ ├── main.py
│ │ │ │ └── requirements.txt
│ │ │ ├── local-utils.json
│ │ │ └── requirements.txt
│ ├── utils
│ │ ├── y
│ │ │ ├── app
│ │ │ │ ├── __init__.py
│ │ │ │ └── y.py
│ │ │ ├── local-utils.json
│ │ │ └── requirements.txt
│ │ └── z
│ │ ├── app
│ │ │ ├── __init__.py
│ │ │ └── z.py
│ │ ├── local-utils.json
│ │ └── requirements.txt
│ └── versions-lock.json
config.json
{
"repo_name": "monorepo",
"services_dir": "services",
"utils_dir": "utils",
"venv_dir_name": ".venv",
"default_case": "local-case",
"version_lock_file": "versions-lock.json",
"service_main_file": "main.py",
"local_utils_file": "local-utils.json"
}
monorepo/services/x/local-utils.json
{
"local_dependencies": [
"y"
],
"requirements": [
"boto3"
],
"local_dependencies_requirements": [
]
}
run specific service:
cd python-monorepo
monopy run service x
or:
cd monorepo
monopy run service x ..
ci command for uncopy unnecceassery util service:
monopy run service x . ci-case
build command inside the dockerfile:
monopy run service x . build-case
build command inside the cmd in dockerfile:
monopy run service x . build-case
Release files for monopylib 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| monopylib-0.1.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monopylib-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / monopylib-0.1.0.tar.gz
| Download URL | monopylib-0.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
968898f393a85687c0b3c2fcd2e302d9c7339a3091751750614ff6a314a041e0
|
|
BLAKE2b-256 checksum How to use checksums |
579e83ac73cf104d942c8653b1e0a368fab5f29683a2de9bb661e1ca36f26a87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / monopylib-0.1.0-py3-none-any.whl
| Download URL | monopylib-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08ffd502c2f5d7d5e143842f70455197cc9905409b8ede2d9f918214458d59a5
|
|
BLAKE2b-256 checksum How to use checksums |
7d0d32f446a07ae7e5331b0501aa29816c91af1b40a4668495951bab7138f138
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|