Skip to main content

Sigma CLI finance tracker

Project description

Sigma (sgm)

Sigma is a CLI-first personal finance tracker focused on fast transaction logging and auditable render snapshots.

Quickstart

pip install sigma-finance
sgm start
sgm income cash 100000 "Salary"
sgm expense cash 12000 "Groceries"
sgm pending
sgm render
sgm balances

Daily command UX

  • sgm income <account> <amount> "<description>"
  • sgm expense <account> <amount> "<description>"
  • sgm pending
  • sgm render [snapshot_id]
  • sgm balances

Setup and persistence

  • First-run setup: sgm start (writes ~/.config/sgm/config.toml)
  • Default database path: ~/.local/share/sgm/sigma.db

Development

python3.12 -m venv .venv
source .venv/bin/activate
make install
make lint
make test
make smoke

Testing approach

  • Unit tests (tests/unit): domain invariants and helpers.
  • Integration tests (tests/integration): SQLite schema and repository roundtrips.
  • Smoke tests (tests/smoke): end-to-end CLI flows with Typer CliRunner.

Release automation

  • CI runs lint + tests on pushes and pull requests.
  • Tagged pushes (v*) build and publish to PyPI through Trusted Publishing.

Versioning and changelog process

  • Sigma follows Semantic Versioning.
  • CHANGELOG.md follows Keep a Changelog with entries under [Unreleased].
  • Keep pyproject.toml and src/sgm/__init__.py versions in sync.

Documentation

  • Design: docs/plans/2026-05-05-sigma-cli-finance-tracker-design.md
  • Architecture: docs/architecture.md
  • Decision log: docs/decisions/
  • Conventions: docs/conventions/
  • CLI usage: docs/cli-usage.md

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

sigma_finance-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

sigma_finance-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file sigma_finance-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for sigma_finance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3e7f69f2f7300e151ba109bc531ac56b25551f71117de3a633616783618e388
MD5 d9d45ae9adcf2a4231b8d70e7cc44094
BLAKE2b-256 45362123782f95e3af0e177d62fd5fd8455e647116958aaeee796b0aab81f117

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigma_finance-0.1.0.tar.gz:

Publisher: release-pypi.yml on fzunigam/sigma

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

File details

Details for the file sigma_finance-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for sigma_finance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52d6dba4b58e4b51bd3e7ed607f18f824111904ef4651097b786dce79fec2469
MD5 85e44d20e599026963de6c5a9b4a4885
BLAKE2b-256 de9cda41bdcadecb79f4d12f158ece58d87fb246c401289394932ad143949ec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigma_finance-0.1.0-py3-none-any.whl:

Publisher: release-pypi.yml on fzunigam/sigma

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