- Python 3.8
- Sqlalchemy
- Pandas
This code makes use of the
f"..."
or f-string syntax. This syntax was introduced in Python 3.6.
See the .env file after following the next steps
- PATH_DATA -- absolute path to directory containing the .csv file
- FILE_NAME -- name of the .csv file to read
You can run the main.py
file without passing any argument, using
python main.py
the following packages are required to run this application
sqlalchemy==1.4.41
pandas==1.5.0
Download this packages by using pip install <package-name>
or conda install <package-name>
or even better:
- Make sure Python 3.8 is installed on your machine;
- Install pipenv:
pip install pipenv
- Configure pipenv by following this tutorial;
- Check if all packages required are described in Pipfile.lock;
- Once with pipenv installed:
pipenv shell # to enter or create the environment
pipenv install # needed just for the first time you use the pipenv shell
!Notice Always run the command pipenv shell after running the script py main.py
Take care!