Skip to main content

Mascope CLI

The operations CLI for Mascope, Ultra Trace's mass-spectrometry analysis platform. It installs, launches, backs up and manages a Mascope deployment — the application itself runs as Docker containers pulled from the project's registry.

Requirements

  • Python 3.12
  • Docker (with the compose plugin)

Quickstart

pip install mascope-cli

mascope init        # create a runtime home: config, compose files, secrets
mascope cert gen    # self-signed TLS cert (or install real certs)
mascope prod up     # pull and start the production stack

mascope init creates the runtime home at ~/.mascope (%LOCALAPPDATA%\Mascope on Windows) — configuration TOMLs you can edit, docker compose files, and generated application secrets. Set MASCOPE_PATH to place it elsewhere. Re-running init is safe: existing files are kept and secrets are never regenerated.

To try Mascope without a deployment, the self-contained demo stack ships in the runtime home as well:

docker compose -f docker-compose.demo.yaml up -d
# then open http://localhost:8080 — login demo@mascope.app / mascope-demo

Everyday operations

mascope prod ps                  # container status
mascope prod logs --follow       # stream logs
mascope prod update              # update the stack to the latest release
mascope prod db backup           # dump the database
mascope prod db restore --yes    # restore the latest dump
mascope logs query --grep error  # search the application's file logs
mascope env list                 # manage runtime environments

Run mascope --help or mascope <command> --help for the full reference.

mascope prod update pulls the target release images, restarts the stack with them and runs any pending database migrations (preceded by an automatic pre-migration dump). Move to a specific release with mascope prod update --version v1.2.0, or pin the deployed version for all commands with MASCOPE_VERSION; without a pin the stack follows the latest release images.

Development

The Mascope source checkout exposes additional developer commands (dev, test, agent, backend) that operate on the monorepo; they are not part of the standalone install. See the repository for the developer guide.

Metadata

Release files for mascope_cli 2026.10.14

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

Source distribution (sdist)

Source distribution for mascope_cli 2026.10.14
File Size Uploaded
mascope_cli-2026.10.14.tar.gz 173.8 kB Details

Built distribution (wheel)

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

Total release size: 382.0 kB

Release files / mascope_cli-2026.10.14.tar.gz

Download URL mascope_cli-2026.10.14.tar.gz
Size 173.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b700d951e5a78c920e42fbf154190b11ca535bf4c8d0537252720a30829a2d4
BLAKE2b-256 checksum
How to use checksums
2a5d7777abe9e3d3b8827ff5b90ba24dd46a9c1fbdccf7d0eb64ba576a5d55a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mascope_cli-2026.10.14-py3-none-any.whl

Download URL mascope_cli-2026.10.14-py3-none-any.whl
Size 208.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f9f71ee8961ed35215da765e539f7e10c7e7b71e40679e99cba1abe405cbfd9
BLAKE2b-256 checksum
How to use checksums
75fab8a5a53cf5731db1dc65282b06c0875b30a170a842e617a989989458e51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
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