finance.src package
Submodules
finance.src.file_generator module
finance.src.postgres_interface module
Module to interact with postgres databases
It contains generic methods to interact with postgres databases regardless of the data they contain
- class finance.src.postgres_interface.PostgresInterface[source]
Bases:
object
Class to interact with postgres databases
- create_engine() Engine [source]
function that creates engines to connect to postgres databases
- Returns:
dictionary with the engines to connect to the databases
- Return type:
dict
- create_table_object(table_name: str, engine: Engine, schema: str = 'finance') Table [source]
Method to create a table object
- Parameters:
table_name (str) – name of the table to create the object for
engine (sqlalchemy.engine.Engine) – engine to connect to the database
schema (str) – schema of the table default: stocks
- Returns:
table object
- Return type:
sqlalchemy.Table
finance.src.s3_interface module
Module to interact with s3
finance.src.schedule_jobs module
finance.src.utils module
This module contains utility functions for the finance package.