Retrieve taxpayer data from impots.gouv.fr.
Project description
impotsgouvdata
impotsgouvdata is a Python library designed to retrieve taxpayer data from https://www.impots.gouv.fr (the French tax administration website).
For the moment, the library only supports the retrieval of tax documents for private individuals.
Installation
impotsgouvdata can be installed using pip :
pip install impotsgouvdata
Usage
from impotsgouvdata import ImpotsGouvData
# Create a `ImpotsGouvData` instance with a fiscal number and a password
igd = ImpotsGouvData(fiscal_number='1234567891234', password='password')
# Log on to impots.gouv.fr
igd.login()
# Get civil data
igd.last_name # 'Dupont'
igd.first_name # 'Jean'
igd.birth_date # datetime.date(1970, 6, 30)
# Iter over tax documents
for doc in igd.iter_documents():
print(doc) # IncomeTaxNotice, IncomeTaxReturn, etc.
Dependencies
impotsgouvdata makes use of the following libraries:
- requests (Apache-2.0 license)
- Beautiful Soup (MIT license)
- lxml (BSD license)
License
impotsgouvdata is developed under CeCILL-C license.
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 impotsgouvdata-0.1.0.tar.gz.
File metadata
- Download URL: impotsgouvdata-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.4 Linux/6.5.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48dc29a8b0cf675b3026d9697d583810a1a9d8db6f4f2299979aec8b1150f611
|
|
| MD5 |
6b096146548bd77fbcea3d74096daa96
|
|
| BLAKE2b-256 |
aed3c4a5bebaf0e1d66e3b26e8ed71dd956c4c03801f6205b2ba95df76577b10
|
File details
Details for the file impotsgouvdata-0.1.0-py3-none-any.whl.
File metadata
- Download URL: impotsgouvdata-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.4 Linux/6.5.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caaa9e23807c57106fa1e4ddf2812aa837566bc15bc15b19ab87826307e34b41
|
|
| MD5 |
3cd716bde201ba96aa67704cacf61509
|
|
| BLAKE2b-256 |
86d1d688d9f07415dbeefe62a3c0fd76190e311059460195978c6df956fedc1e
|