- Python and Libs
python = "^3.10"
cx-Oracle = "^8.3.0"
python-dotenv = "^0.21.0"
pandas = "^1.5.2"
openpyxl = "^3.0.10"
faker = "^15.3.4"
- Oracle Database
Database = "Oracle Database 21c XE"
- DDL – Data Definition Language (CREATE, DROP, ALTER...)
- DQL – Data Query Language (SELECT)
- DML – Data Manipulation Language (INSERT, UPDATE, DELETE...)
- DCL – Data Control Language (GRANT, REVOKE)
- TCL - Transaction Control Language (COMMIT, ROLLBACK)
- tb_itens_notas_fiscais
- tb_notas_fiscais
- tb_clientes
- tb_produtos
- tb_vendedores
# DSN
host=<host>
port=<port>
sid=<sid>
# CONNECTION
user=<user>
password=<password>
Schema creation and Data load
poetry run py main.py
-
- Run automatically
create_schema()
fromcriacao_esquema.py
- Run automatically
-
- Run automatically
load_registrations()
fromcarga_cadastros.py
- Run automatically
-
-
-
- Run automatically
load_invoce()
fromcarga_notas_fiscais.py
- Run automatically
-
- Run automatically
load_items_invoce()
fromcarga_itens_notas_fiscais.py
- Run automatically
-
-
-
- Run automatically
FakerDailySalesData
fromfaker_vendas_diaria.py
- Run automatically
-
- Run automatically
load_invoce()
fromcarga_notas_fiscais.py
- Run automatically
-
- Run automatically
load_items_invoce()
fromcarga_itens_notas_fiscais.py
- Run automatically
-
-
- Python Database API Specification v2.0 https://peps.python.org/pep-0249/
- Python cx_Oracle https://oracle.github.io/python-cx_Oracle/
- Python Pandas https://pandas.pydata.org/docs/
- Python Faker https://faker.readthedocs.io/en/master/