<reponame>clwatkins/sec_edgar_parser
from pathlib import Path
import requests_oauthlib

# Define where filing data will be stored -- defaults to folder within user's home directory
ROOT_DIR = Path.home().joinpath("sec_parse_data")
DB_FILE_LOC = ROOT_DIR.joinpath("sec_parse_db.sqlite3")

# Yahoo API key (some finance tables require authorisation)
AUTH = requests_oauthlib.OAuth1(
    '<KEY>',
    'f839901ff46492b372e81fa8325ab61483f0e538'
)

# Parallelisation config
MULTIPROCESSING_NUMBER = 25

# Valid form types to try parsing -- changing not recommended
VALID_FORMS = ['10-Q', '10-K', '10-Q/A', 'S-4', '8-K']

# DB table name -- changing not recommended
DB_FILING_TABLE = 'filing_info'
DB_FILING_DATA_TABLE = 'filing_data'
DB_COMPANY_TABLE = 'company_info'
DB_SIC_TABLE = 'sic_info'

from pathlib import Path
import requests_oauthlib

# Define where filing data will be stored -- defaults to folder within user's home directory
ROOT_DIR = Path.home().joinpath("sec_parse_data")
DB_FILE_LOC = ROOT_DIR.joinpath("sec_parse_db.sqlite3")

# Yahoo API key (some finance tables require authorisation)
AUTH = requests_oauthlib.OAuth1(
    '<KEY>',
    'f839901ff46492b372e81fa8325ab61483f0e538'
)

# Parallelisation config
MULTIPROCESSING_NUMBER = 25

# Valid form types to try parsing -- changing not recommended
VALID_FORMS = ['10-Q', '10-K', '10-Q/A', 'S-4', '8-K']

# DB table name -- changing not recommended
DB_FILING_TABLE = 'filing_info'
DB_FILING_DATA_TABLE = 'filing_data'
DB_COMPANY_TABLE = 'company_info'
DB_SIC_TABLE = 'sic_info'
# Define where filing data will be stored -- defaults to folder within user's home directory # Yahoo API key (some finance tables require authorisation) # Parallelisation config # Valid form types to try parsing -- changing not recommended # DB table name -- changing not recommended