Installable CLI for the unofficial monarch-api Python client.
Project description
monarch-api-cli
Installable command-line interface for the published monarch-api Python client.
This repository is intended to become the public home of the CLI. The repository name and PyPI distribution name are both monarch-api-cli, while the installed command is simply monarch.
The package is organized as a real src/ application now:
src/monarch_cli/contains the maintained CLI implementation.tests/covers payload-building behavior.
Install
From PyPI, the intended distribution name is:
pip install monarch-api-cli
With pipx:
pipx install monarch-api-cli
For local development:
pip install -e .[dev]
Usage
The primary console command is monarch:
monarch --help
monarch --help all
monarch household preferences
monarch transactions create --help
The saved session is stored at:
~/.monarch-api-cli/monarch_session.json
Older sessions from ~/.monarch-cli/monarch_session.json are still accepted and migrated forward on use.
Notes
monarch-apiremains the underlying Python client, imported asmonarch_api.monarch-api-cliis the public repository and PyPI distribution for the CLI.- The installed command remains
monarch.
Development
pip install -e .[dev]
python -m pytest
python -m build
python -m twine check dist/*
AI Skills
Repo-local agent skills live under skills/.
skills/monarch-finance-ops/provides a reusable skill for analyzing, reconciling, budgeting, and safely managing Monarch financial data through this CLI.
Release
This project publishes the PyPI distribution monarch-api-cli and installs the console command monarch.
Before the first public release:
- Create the
monarch-api-cliproject on PyPI if it does not already exist. - Configure PyPI Trusted Publishing for this repository.
For each release:
- Update
versioninpyproject.toml. - Run verification:
python -m pip install -e .[dev]
python -m pytest
python -m build
python -m twine check dist/*
- Commit the release changes.
- Tag and push the release:
git tag v0.1.0
git push origin main --tags
- Create a GitHub release for the tag.
- The
Publish To PyPIworkflow will publish automatically if Trusted Publishing is configured.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monarch_api_cli-0.1.0.tar.gz.
File metadata
- Download URL: monarch_api_cli-0.1.0.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
661861c70eeb7fc76edda9851c9f446bf902dbaa583b81f42f5c4513b42e0d69
|
|
| MD5 |
452a20ae4fee6f94a60f3aab3847fdc0
|
|
| BLAKE2b-256 |
aa2fd370645f9fa4e4a27b3c3d172876949c5610b7d9dda9ce0fe3179b41f236
|
Provenance
The following attestation bundles were made for monarch_api_cli-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on erikrubstein/monarch-api-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
monarch_api_cli-0.1.0.tar.gz -
Subject digest:
661861c70eeb7fc76edda9851c9f446bf902dbaa583b81f42f5c4513b42e0d69 - Sigstore transparency entry: 1324450035
- Sigstore integration time:
-
Permalink:
erikrubstein/monarch-api-cli@20f6885641b7fa29ef24a9d2c482c41e19dc20c5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/erikrubstein
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@20f6885641b7fa29ef24a9d2c482c41e19dc20c5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file monarch_api_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: monarch_api_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca7bae7fc5cdfb4594a0c759ef8d36817f78d73803cd046ecfa14bfe71552b11
|
|
| MD5 |
e5d43e577155d5d7f92b27926b52db43
|
|
| BLAKE2b-256 |
20c0d44436985586db6018941d560a97ae00645916fb2925e4f03625623b80fc
|
Provenance
The following attestation bundles were made for monarch_api_cli-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on erikrubstein/monarch-api-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
monarch_api_cli-0.1.0-py3-none-any.whl -
Subject digest:
ca7bae7fc5cdfb4594a0c759ef8d36817f78d73803cd046ecfa14bfe71552b11 - Sigstore transparency entry: 1324450106
- Sigstore integration time:
-
Permalink:
erikrubstein/monarch-api-cli@20f6885641b7fa29ef24a9d2c482c41e19dc20c5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/erikrubstein
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@20f6885641b7fa29ef24a9d2c482c41e19dc20c5 -
Trigger Event:
release
-
Statement type: