Download all companies periodic reports, filings and forms from EDGAR database.
Bringing v0.4.0 out of alpha
Fixes #269
Full Changelog: https://github.com/sec-edgar/sec-edgar/compare/v0.4.0-alpha.2...v0.4.0-alpha.3
date_cleanup
returning datetime.datetime
instead of datetime.date
user_agent
argument or a NetworkClient
object with user_agent
set.Many breaking changes, as this update does a lot of restructuring.
filings.py
to company.py
(and respective Filings
class to CompanyFilings
).master.py
to quarterly.py
(and respective MasterFilings
class to QuarterlyFilings
).filings
subdirectory to core
to avoid confusion.ComboFilings
class that wraps around QuarterlyFilings
, DailyFilings
given 2 dates.filings
factory that returns the correct class based on user inputs. Returns one of ComboFilings
, QuarterlyFilings
, DailyFilings
, CompanyFilings
.FilingType
enum. Switch to csv table for details.DailyFilings
or MasterFilings
after finding that other filings that do not match the criteria exist, then raise a NoFilingsError
instead of a ValueError
.user_agent
argument to NetworkClient
AbstractClient
.exceptions
, cik_lookup
, and utils
have been moved to the main package directory.cik_map
module in favor of single cik_lookup
module which now houses get_cik_map
.get_cik_map
to return single dictionary._get_cik
to _get_cik_from_html
.get_response
does not break after validating response (thanks to abbadata!)get_response
sleeps even after successpause
from NetworkClient
initialization in favor of optional backoff_factor
that relies on urllib3 retry module.