Skip to main content

Console CLI for querying the BudgetBakers Wallet API

Project description

PyPI - Version GitHub Tag GHCR Tag Test Lint

wallet-rest-cli

wallet-rest-cli is a console CLI for the BudgetBakers Wallet API. Useful for debugging or provide a CLI for your AI Agents.

Warning: This CLI is unofficial and not affiliated with BudgetBakers. Use at your own risk.

Setup

Install the package from PyPI:

python -m pip install wallet-rest-cli

The CLI expects a Wallet API token from the BudgetBakers web app.

export WALLET_API_TOKEN="your-token"
wallet-rest-cli --help

If you prefer a local development workflow, you can still run it with uv:

uv run wallet-rest-cli --help

Docker

Build the container image locally:

docker build -t wallet-rest-cli .

Run the image with your Wallet API token:

docker run --rm \
  -e WALLET_API_TOKEN="$WALLET_API_TOKEN" \
  wallet-rest-cli categories --limit 200

You can also use the image published to GHCR:

docker run --rm \
  -e WALLET_API_TOKEN="$WALLET_API_TOKEN" \
  ghcr.io/hugobatista/wallet-rest-cli:latest --help

Example using the docker image and querying categories started with "Food":

docker run --rm \
  -e WALLET_API_TOKEN="$WALLET_API_TOKEN" \
  ghcr.io/hugobatista/wallet-rest-cli:latest categories --name-contains "Food"

Podman

Example using the docker image and querying categories started with "Food":

podman run --rm \
  -e WALLET_API_TOKEN="$WALLET_API_TOKEN" \
  ghcr.io/hugobatista/wallet-rest-cli:latest categories --name-contains "Food"

Commands

  • categories - list categories with details.
  • records - list financial records with date, amount, category, label, and text filters.
  • records-by-id - fetch records by one or more record IDs.
  • budgets - list budgets.
  • accounts - list accounts.
  • goals - list goals.
  • labels - list labels.
  • record-rules - list automatic categorization rules.
  • standing-orders - list recurring payments.
  • api-usage-stats - fetch API usage statistics.

Examples

wallet-rest-cli categories --token "$WALLET_API_TOKEN" --limit 200
wallet-rest-cli records --token "$WALLET_API_TOKEN" --record-date-from 2025-01-01 --record-date-to 2025-01-31
wallet-rest-cli records-by-id --token "$WALLET_API_TOKEN" rec_123 rec_456
wallet-rest-cli api-usage-stats --token "$WALLET_API_TOKEN" --period 30days

License

This project is licensed under the MIT License. See the LICENSE file.

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

wallet_rest_cli-0.0.2.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

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

wallet_rest_cli-0.0.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file wallet_rest_cli-0.0.2.tar.gz.

File metadata

  • Download URL: wallet_rest_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wallet_rest_cli-0.0.2.tar.gz
Algorithm Hash digest
SHA256 37aa257bf0d2642e142fa0f5cc9f9dafd460e4d3bb4b4751ef89ea47e82172f4
MD5 9a32ddb2613b543dbfc4ca6035395ef8
BLAKE2b-256 ff776435946276b22e83207441d888cbf6b59fb4747efc502fddf7be2d98148a

See more details on using hashes here.

Provenance

The following attestation bundles were made for wallet_rest_cli-0.0.2.tar.gz:

Publisher: pypi.yml on hugobatista/wallet-rest-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 wallet_rest_cli-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wallet_rest_cli-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3107e3dde1a6837964047d9cbcaebbd40ef71f2d24b259ac43af658031f75df
MD5 b9805bb2c16d7ec1a90c9ea28598d966
BLAKE2b-256 91f0347b07452c027f45c081d5db7e818d646b0c401e46e0c155959c30cc5d16

See more details on using hashes here.

Provenance

The following attestation bundles were made for wallet_rest_cli-0.0.2-py3-none-any.whl:

Publisher: pypi.yml on hugobatista/wallet-rest-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