Files
get_ovh_bills/src/get_ovh_bills.egg-info/PKG-INFO

81 lines
1.7 KiB
Plaintext

Metadata-Version: 2.4
Name: get-ovh-bills
Version: 0.1.0
Summary: A script to get bills from ovh
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: certifi==2025.8.3
Requires-Dist: charset-normalizer==3.4.3
Requires-Dist: dkimpy==1.1.8
Requires-Dist: dnspython==2.7.0
Requires-Dist: idna==3.10
Requires-Dist: oauthlib==3.3.1
Requires-Dist: ovh==1.2.0
Requires-Dist: python-dotenv==1.1.1
Requires-Dist: requests==2.32.5
Requires-Dist: requests-oauthlib==2.0.0
Requires-Dist: urllib3==2.5.0
Dynamic: license-file
# OVH Invoice Fetcher
Automated script for retrieving, indexing, and archiving invoices from the OVH API.
Handles logging, database persistence, and email notifications for both normal operations and errors.
---
## Overview
This application connects to the OVH API to:
1. Fetch all invoice IDs.
2. Compare them with previously downloaded or recorded invoices.
3. Download missing invoice PDFs.
4. Store metadata in a SQLite database.
5. Send an email report with the list of newly downloaded invoices.
It automatically categorizes invoices by year and stores them in year-specific directories.
---
## Requirements
- Python 3.10+
- Valid OVH API credentials
- SMTP server access for email notifications
---
## Installation
You would need to create a .env file that contain:
```env
APP_KEY
APP_SECRET
CONSUMER_KEY
PATH_OVH
LOG_PATH
DB_PATH
EMAIL
EMAIL_PASSWORD
SMTP_MAIL_ADDRESS
SMTP_PORT
EMAIL_TO
```
Installation
```bash
git clone git@github.com:Fare-spec/get_ovh_bills.git
cd get_ovh_bills
pip install -r requirements.txt
```
With uv:
```bash
git clone git@github.com:Fare-spec/get_ovh_bills.git
cd get_ovh_bills
uv venv
uv run main.py
```