No project description provided
Project description
PyBill CLI
A command-line interface tool for managing bills and time tracking across different providers.
Features
- Interactive CLI with styled prompts
- Bill management and time tracking
- Customer management
- PDF invoice generation
Installation
pip install pybill
Getting Started
After installing the package, you can use the CLI to manage your bills and time tracking by first running the init command and going over the setup wizzard.
pybill init
This will create a config.json file inside the root/~/.pybill/config.json directory that looks like this. You can edit this file manually to change the config. The CLI currenlty only supports the Harvest provider, make sure you don't share your PAT with anyone.
{
"vendor_name": "Your Company Name",
"vendor_vat_code": "Your VAT Code",
"vendor_address": "Your Address",
"vendor_city": "Your City",
"vendor_zip": "Your Zip Code",
"vendor_country": "Your Country",
"vendor_email": "Your Email",
"vendor_phone": "Your Phone Number",
"invoices_folder": "The path to the folder where the invoices will be saved",
"vendor_currency": "The currency of the invoices",
"vendor_rate_per_hour": 1000,
"national_trade_register_no": "Your National Trade Register Number",
"configured": "1",
"provider": "harvest",
"pat": "Your Personal Access Token",
"account_id": "Your Account ID",
"invoice_series_name": "The name of the invoice series",
"invoice_series_number": 1,
"customers": {}
}
Creating a new customr
pybill create-customer --name "John Doe" --customer-id "123456" --address "123 Main St" --country "United States" --email "john.doe@example.com" --phone "123-456-7890" --vat "1234567890"
This will create a new customer and add it in the config.json file. You can create invoices for different customers using the create command.
You can also manually add the customer in the config.json customers object with a new key value entry. The key should be a unique identifier you choose for the customer.
"customers": {
"client1": {
"name": "Client 1",
"address": "123 Main St",
"country": "United States",
"email": "john.doe@example.com",
"phone": "123-456-7890",
"vat": "1234567890"
}
}
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
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 mrvbill-0.1.0.tar.gz.
File metadata
- Download URL: mrvbill-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
664376e16a17f325c83b1f13b3c527651715e9b99a9ea6b83f245f88a7eb9362
|
|
| MD5 |
4ab773d4515bb370f58b3eac10e44c5d
|
|
| BLAKE2b-256 |
ee9b822141bdbce3f7391e3e532cfd87fc67a7c9dbe1ddd84c607a7382e35cac
|
File details
Details for the file mrvbill-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mrvbill-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4379b688821cdcd0d52ead0d8c4cd76ffbe82fc80c66d5f87237f43bd2f0bea
|
|
| MD5 |
fbddaf35ce515692ebe1a257fbf32876
|
|
| BLAKE2b-256 |
e7aa6e627851be98f31d4761ac48887eb175d7f1f531271b04bb718ca8461c1c
|