Skip to main content

Monoplane is a tiny tool designed to help you run multiple processes in your local development environment. Especially useful for monorepos.

Project description

Monoplane

Monoplane is a tiny tool designed to help you run multiple processes in your local development environment. It is like a very stripped down docker compose for local shell commands. Especially useful for monorepos. Obviously, not for production.

Using Monoplane

pip install monoplane

Create a monoplane.yml file in your project root:

color_stderr: "[91m"

services:
  - name: api
    cwd: resources/api
    command: skaffold dev
    build: npm run generate
    color: "[0;33m"
    notes: http://localhost:30005
    env:
      - name: PORT
        value: 30005

  - name: console
    cwd: resources/web_console
    command: npm run dev
    build: npm run build
    color: "[0;36m"
    notes: http://localhost:30001

Then run monoplane or mp in your project root. It will start all services in parallel.

Some useful commands (just press key while running):

  • r - restart all services
  • s - print status of all services
  • b - execute all build commands
  • c - clear screen

Notes added in the config file will be printed when you press s. Useful for adding links to your service endpoints to avoid remembering ports and typing them over and over again.

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

monoplane-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

monoplane-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file monoplane-0.1.1.tar.gz.

File metadata

  • Download URL: monoplane-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

File hashes

Hashes for monoplane-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1592ec88e83cb19f89ce812b6b1f27e93f44632a6925305e20f029e6603ce7e1
MD5 3d8ddec32aa43a2604e9b38a7ee5975c
BLAKE2b-256 1d8926725ebce8e7ff98bfe9cb5321e9be9fc04b43f38e4d7bc35f727107ee6a

See more details on using hashes here.

File details

Details for the file monoplane-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: monoplane-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

File hashes

Hashes for monoplane-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab258b06e38e667477ce694fb7c7b412b556175331105aced04777505361aaf7
MD5 723fd7c135ada6a18fffce773b75f1c5
BLAKE2b-256 2fc4dec238b442bf6c7ff41b2112592905964727847cd0e4b560e95d2c777956

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page