Skip to main content

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.

The package stays close to the current Monarch surface instead of adding a second abstraction layer on top of the API client. Commands are organized by domain and generally map one read or mutation workflow to one CLI command.

Install

pip install monarch-api-cli

For local development:

pip install -e .[dev]

Example

monarch auth login
monarch household preferences
monarch accounts page
monarch transactions list --limit 10
monarch reports cash-flow-dashboard --start-date 2026-04-01 --end-date 2026-04-16

Notes

  • Built on top of monarch-api, which remains the underlying Python client.
  • Installed console command is monarch.
  • Defaults to summarized output; use --details for raw payloads.
  • Saves session state at ~/.monarch-api-cli/monarch_session.json.
  • Still accepts the legacy session path ~/.monarch-cli/monarch_session.json.

Implemented Surface

auth

  • login
  • use-token
  • me
  • clear-session

household

  • get
  • members
  • preferences

accounts

  • has-accounts
  • syncing
  • notices
  • page
  • recent-balances
  • filtered
  • aggregate-snapshots
  • display-balance
  • snapshots-by-account-type
  • filters
  • account-types
  • refresh-status
  • latest-refresh
  • refresh-operation
  • refresh-account
  • refresh-all
  • institution-settings
  • institutions
  • institution

subscription

  • details
  • get
  • modal
  • premium-upgrade-plans
  • trial-status
  • entitlements
  • feature-entitlement-params
  • plus-tier-access
  • gifted-subscriptions
  • referral-settings

settings

  • user-profile-flags
  • dashboard-config
  • sidebar-data
  • household-member-settings
  • security
  • notification-preferences
  • review-summary-by-user
  • business-entities-banner-profile
  • business-entities
  • has-activity
  • oldest-deletable-synced-snapshot-date
  • oldest-deletable-transaction-date

planning

  • budget-data
  • joint-data

goals

  • savings-goals
  • savings-goals-balances
  • savings-goal-account
  • dashboard-card
  • legacy-migration

recurring

  • streams
  • aggregated-items
  • dashboard-upcoming
  • paused-banner

investments

  • accounts
  • dashboard-card
  • portfolio
  • security-history

transactions

  • list
  • get
  • filters
  • filters-metadata
  • create
  • update
  • delete
  • set-tags
  • tags
  • categories

merchants

  • search
  • household
  • recommended
  • update

attachments

  • upload-info
  • add
  • get
  • delete

rules

  • list
  • create
  • update
  • delete
  • preview
  • update-order
  • delete-all

reports

  • cash-flow-dashboard
  • cash-flow-entities
  • cash-flow-timeframes
  • data

retail-sync

  • settings
  • get
  • list
  • create
  • create-bulk
  • start
  • complete
  • delete
  • match
  • unmatch
  • update-order
  • update-vendor-settings

Layout

  • src/monarch_cli/: CLI implementation
  • tests/: mocked verification for payload shaping and CLI behavior
  • skills/: repo-local agent skills for recurring Monarch workflows

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

monarch_api_cli-0.1.1.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

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

monarch_api_cli-0.1.1-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for monarch_api_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b1f72be6388bd2bd0bc5cb58353b825259c4257d907bcfb97176a47e5400976a
MD5 58e4e3d02d07531201e8b6984a9cee21
BLAKE2b-256 c3368d0217649fc54f6f9b53536f078040685588391105978395fa7fdf91c976

See more details on using hashes here.

Provenance

The following attestation bundles were made for monarch_api_cli-0.1.1.tar.gz:

Publisher: publish-pypi.yml on erikrubstein/monarch-api-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 monarch_api_cli-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for monarch_api_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b75842f5a877c411dd73abadec8cc15308cf24cb5d0949abcd519be53270ea29
MD5 5bb23f0e09dfc663178e76a74d452ce4
BLAKE2b-256 fa2325c70b7cf2971f1e23fb0b783e5abcbda94f4b7721f04e38782ccb250b25

See more details on using hashes here.

Provenance

The following attestation bundles were made for monarch_api_cli-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on erikrubstein/monarch-api-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