No project description provided
Project description
expense
Expense tracking command line application.
Getting started
This project is created using Poetry. For more information about poetry refer here
To get started with Expense tracker, follow these steps:
- Clone this repository to your local machine.
- Go inside the cloned repository at
.\expense-tracker\location. - Run
poetry installto install dependencies and activate virtual environment. - Run
poetry shellto launch the virtual environment shell. - Start running the commands in the usage section to try out.
Usage
Here's a demo of how it works:
# Initialize the app
$ expense init
$ expense add --name "Milk" --description "Bought milk" --price 50
$ expense add --name "Tea" --description "Bought tea" --price 100
$ expense list
╷ ╷ ╷
ID │ Name │ Description │ Price
╺━━━━┿━━━━━━━┿━━━━━━━━━━━━━┿━━━━━━━━━━━━━━╸
1 │ Milk │ Bought milk │ 50
2 │ Tea | Bought tea │ 100
╵ ╵ ╵
$ expense update --id 1 --price 60
$ expense delete --id 1
$ expense list
╷ ╷ ╷
ID │ Name │ Description │ Price
╺━━━━┿━━━━━━━┿━━━━━━━━━━━━━┿━━━━━━━━━━━━━━╸
2 │ Tea | Bought tea │ 100
╵ ╵ ╵
$ expense --help
Usage: expense [OPTIONS] COMMAND [ARGS]...
expense is a small CLI app to track expenses.
Options:
-v, --version Shows application version and exit
Commands:
add Add an expense to the expense tracker app.
clear clear all expenses in the expense tracker app.
delete Delete an expense from the expense tracker app.
init Initialize the expense tracker app.
list List all expenses in the expense tracker app.
total Generates total expense in the expense tracker app.
update Update an expense in the expense tracker app.
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 expense_tracking_cli-0.1.0.tar.gz.
File metadata
- Download URL: expense_tracking_cli-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.11 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29dd62211d78ced9e63f7721b654296cb34b1341e1d247aadd801e9f45026bb
|
|
| MD5 |
2f0b827f1818d567d79f217f58caeb70
|
|
| BLAKE2b-256 |
f0ed2fd2e3e71d8b9c65142e09c370688afdef49620db8ae9a1724b7ee6bcfdd
|
File details
Details for the file expense_tracking_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: expense_tracking_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.11 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb52587b5b34ffd444dad7f78ac142f3030c88c86f0e33ed5d3e934b542d33cd
|
|
| MD5 |
0ba1fc72d18dc9f206b70010f2398052
|
|
| BLAKE2b-256 |
10043ee4da0fb88fb6ea136141faaa47290d2d3cc0270d9838752b9a6f8efd7f
|