Server for [Dinary - your dinar diary](https://github.com/andgineer/dinary). Track expenses, scan receipts, analyze spending with AI
Project description
Dinary (server)
Server for Dinary - your dinar diary.
Track expenses, scan receipts, analyze spending with AI
Documentation
Local development
Install uv, then:
uv sync
# Create .env with your spreadsheet ID (one-time, .env is gitignored)
echo 'DINARY_GOOGLE_SHEETS_SPREADSHEET_ID=<your-spreadsheet-id>' > .env
uv run dinary
The server starts on http://localhost:8000 with auto-reload.
Credentials are read from ~/.config/gspread/service_account.json (standard gspread location).
Don't have a service account key yet?
See Google Sheets Setup.
Run tests
inv test
Pre-commit hooks
Use pre-commit for code quality:
pre-commit install
Scripts
Install invoke preferably with uv tool:
uv tool install invoke
For a list of available scripts run:
invoke --list
Deploy to Oracle Cloud
Configure .env (see .env.example), then:
inv setup # one-time: install deps, clone, create systemd services, upload creds
inv deploy # pull latest code and restart
inv status # check service status
inv logs # tail server logs
See Oracle Cloud deployment guide for details.
Reports
Created with cookiecutter using template
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 dinary-0.2.0.tar.gz.
File metadata
- Download URL: dinary-0.2.0.tar.gz
- Upload date:
- Size: 512.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d33ae856d8c2a4d3bcce274d747b0d6c52270863ca3fe11b1515c735bb2cfc27
|
|
| MD5 |
34ad187039b72df59dd8aec9da56261f
|
|
| BLAKE2b-256 |
715522596146f6e1e35efdaa952f7b101c85464d4214ca1d53f79505c3b71978
|
File details
Details for the file dinary-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dinary-0.2.0-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d485c383999e7b856f2ea7cc8a231f97f9bdbed8e14d838599a9ea5d5c22836
|
|
| MD5 |
e7def2c2f29a1d3cdd35ad49807be3ff
|
|
| BLAKE2b-256 |
6e5efbad28f95bbbca69ef8d5239cd6088d3d3b1692b5171727d96b696bada68
|