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 pendingsgm 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 TyperCliRunner.
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.mdfollows Keep a Changelog with entries under[Unreleased].- Keep
pyproject.tomlandsrc/sgm/__init__.pyversions 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e7f69f2f7300e151ba109bc531ac56b25551f71117de3a633616783618e388
|
|
| MD5 |
d9d45ae9adcf2a4231b8d70e7cc44094
|
|
| BLAKE2b-256 |
45362123782f95e3af0e177d62fd5fd8455e647116958aaeee796b0aab81f117
|
Provenance
The following attestation bundles were made for sigma_finance-0.1.0.tar.gz:
Publisher:
release-pypi.yml on fzunigam/sigma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigma_finance-0.1.0.tar.gz -
Subject digest:
a3e7f69f2f7300e151ba109bc531ac56b25551f71117de3a633616783618e388 - Sigstore transparency entry: 1442658591
- Sigstore integration time:
-
Permalink:
fzunigam/sigma@8ea01d06cd2033b41052458f9145bbeee062059d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/fzunigam
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@8ea01d06cd2033b41052458f9145bbeee062059d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52d6dba4b58e4b51bd3e7ed607f18f824111904ef4651097b786dce79fec2469
|
|
| MD5 |
85e44d20e599026963de6c5a9b4a4885
|
|
| BLAKE2b-256 |
de9cda41bdcadecb79f4d12f158ece58d87fb246c401289394932ad143949ec2
|
Provenance
The following attestation bundles were made for sigma_finance-0.1.0-py3-none-any.whl:
Publisher:
release-pypi.yml on fzunigam/sigma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigma_finance-0.1.0-py3-none-any.whl -
Subject digest:
52d6dba4b58e4b51bd3e7ed607f18f824111904ef4651097b786dce79fec2469 - Sigstore transparency entry: 1442658685
- Sigstore integration time:
-
Permalink:
fzunigam/sigma@8ea01d06cd2033b41052458f9145bbeee062059d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/fzunigam
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@8ea01d06cd2033b41052458f9145bbeee062059d -
Trigger Event:
push
-
Statement type: