Acessing Brazilian Government Fines per type, Flora, Fauna, etc. to list all related environmental fines and export to a CSV file.
- fines_ibama_brazil.py: Enviromental fines research in Brazilian government API site.
Before you begin, ensure you have met the following requirements:
- You have a
<Windows/Linux/Mac>
machine.
This project requires Python. If you don't have Python installed, follow these steps:
- Download Python from python.org.
- Run the installer and follow the prompts. Make sure to check the box that says "Add Python to PATH."
- Open a terminal.
- Update package lists:
sudo apt update
- Install Python:
sudo apt install python3
- Download Python from python.org.
- Run the installer and follow the instructions.
pip
is a package manager for Python. If you don't have pip installed, follow these steps:
- Download
get-pip.py
from bootstrap.pypa.io. - Open a terminal/command prompt.
- Run
python get-pip.py
.
To set up the project, follow these steps:
- Clone the repository:
git clone <repository URL>
- Navigate to the project directory:
cd <project_name>
- Install required packages:
pip install -r requirements.txt
To run the project, follow these steps:
- In the project directory, run the main script:
python3 ./sources/fines_ibama_brazil.py
Then follow the output instructions.
If you want to contribute to this project, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
. - Push to the original branch:
git push origin <project_name>/<location>
. - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
- Wallace Espindola, Sr. Software Engineer / Java & Python Dev
- If you want to contact me, you can reach me at
[email protected]
.
Free Software, Apache 2.0