Skip to main content

Muni CLI — manage tools, jobs, spaces, and more

Project description

Muni CLI

Muni is the command-line interface for the Muni platform. Use it to discover available tools, submit jobs, monitor runs, download outputs, and work with spaces and canvas nodes from your terminal.

Install

pipx install muni

Or install into an existing environment:

pip install muni

Requires Python 3.11 or newer.

Log in

muni login

On a server or SSH session without a browser:

muni login --device

Check the active account:

muni whoami

Common Workflow

Find a tool:

muni tools
muni tools --category protein-design
muni tools -q rfd3

Inspect tool inputs:

muni tool rfd3 --inputs
muni tool rfd3 --examples

Submit a job:

muni run rfd3 pdb_id=1UBQ num_designs=5

Submit and wait for completion:

muni run rfd3 pdb_id=1UBQ num_designs=5 --follow

Submit parameters from JSON:

muni run rfd3 --params-file params.json --follow

Run a batch from JSONL:

muni run ipsae --batch jobs.jsonl --follow
cat jobs.jsonl | muni run ipsae --batch - --follow

Check status and retrieve outputs:

muni status job_<uuid>
muni wait job_<uuid>
muni results job_<uuid>
muni results job_<uuid> --fields rank,sequence
muni files job_<uuid>
muni download-all job_<uuid> -o ./results/

Spaces and Canvas Nodes

List and choose a workspace:

muni spaces
muni space use             # choose interactively
muni space use "My Space"  # or pass a name/ID
muni page use              # choose a page in the active space

Once selected, muni run, muni job nodes --apply, muni nodes, and muni node default to that active space/page. Canvas-targeted muni run creates and submits a real job node so completion can add deterministic result nodes to the canvas. Use --space-id or --page-id to override one command, or muni space use none / muni run ... --no-space for API-only jobs.

List nodes on the active page:

muni nodes
muni nodes search "PXDesign"

Create or inspect nodes:

muni node create "Results" --type table
muni node create "TREM2 rank 1" --type structure --file ./rank_1.cif
muni node read <node_id>
muni node submit <node_id> --wait

Command Reference

Command What it does
muni login Authenticate the CLI
muni whoami Show the current account
muni balance Show credit balance
muni tools List available tools
muni tool <name> Show details for one tool
muni run <tool> KEY=VALUE Submit a job
muni jobs List recent jobs
muni jobs --tool ipsae Filter recent jobs by tool
muni status <job_id> Check a job
muni wait <job_id> Wait for one or more jobs
muni results <job_id> Print job results
muni files <job_id> List job output files
muni download <job_id> <path> Download one output file
muni download-all <job_id> Download all output files
muni spaces List spaces
muni space <subcommand> Manage a space
muni nodes List canvas nodes
muni node <subcommand> Create, read, edit, connect, or run nodes

Run muni --help or muni <command> --help for the full set of options.

License

MIT

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

muni-0.1.39.tar.gz (133.5 kB view details)

Uploaded Source

Built Distribution

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

muni-0.1.39-py3-none-any.whl (117.5 kB view details)

Uploaded Python 3

File details

Details for the file muni-0.1.39.tar.gz.

File metadata

  • Download URL: muni-0.1.39.tar.gz
  • Upload date:
  • Size: 133.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for muni-0.1.39.tar.gz
Algorithm Hash digest
SHA256 d386254897c127133ddc2b3e93457a9a2ca084793ae4da5be54e58853474c51c
MD5 fc4c714fa9a33a76a0e444fa0805fb31
BLAKE2b-256 d049c2edd6084c27914c16053ae4c42afba946a600cada79c53719c12ebc6458

See more details on using hashes here.

Provenance

The following attestation bundles were made for muni-0.1.39.tar.gz:

Publisher: publish.yml on bioArena/muni-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file muni-0.1.39-py3-none-any.whl.

File metadata

  • Download URL: muni-0.1.39-py3-none-any.whl
  • Upload date:
  • Size: 117.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for muni-0.1.39-py3-none-any.whl
Algorithm Hash digest
SHA256 cc29e0eeb9e4de6f7a37acf0ab1589946a2d810e8f1d0e6e88017afc160e3db0
MD5 668fa2264a0f9b3ecbb20333684b657b
BLAKE2b-256 d4008bb627cda9334799dcad174f87683a9226ef8f680ebd782e44de5d50e683

See more details on using hashes here.

Provenance

The following attestation bundles were made for muni-0.1.39-py3-none-any.whl:

Publisher: publish.yml on bioArena/muni-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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