What’s New
New features, bug fixes, and improvements for each release.
v0.5.1
Highlights
Pass user agent to
CIKLookup
. Thanks to clintmoyer!Fix bug preventing
filing_type
being set toNone
inCompanyFilings
Contributors
clintmoyer
jackmoody11
v0.5.0
Highlights
Add access to SEC’s REST API via
secedgar.core.rest
moduleNew functions include
get_submissions
,get_company_concepts
,get_company_facts
, andget_xbrl_frames
.Set
client
keyword arg toNone
by default forCIKLookup
. This will create client object automatically instead of requiring user to provide client.
Contributors
jackmoody11
v0.4.1
Highlights
Fixes issue with
ComboFilings
not settinguser_agent
argument. Thanks to prhiggins!Add new filing types to
FilingTypes
. Thanks to wayneroe!
Contributors
prhiggins
wayneroe
jackmoody11
v0.4.0
Highlights
Many breaking changes, as this update does a lot of restructuring.
Rename
filings.py
tocompany.py
(and respectiveFilings
class toCompanyFilings
).Rename
master.py
toquarterly.py
(and respectiveMasterFilings
class toQuarterlyFilings
).Rename
filings
subdirectory tocore
to avoid confusion.Create
ComboFilings
class that wraps aroundQuarterlyFilings
,DailyFilings
given 2 dates.Create
filings
factory that returns the correct class based on user inputs. Returns one ofComboFilings
,QuarterlyFilings
,DailyFilings
,CompanyFilings
.Add many more types to
FilingType
enum. Switch to csv table for details.If no filings found for
DailyFilings
orMasterFilings
after finding that other filings that do not match the criteria exist, then raise aNoFilingsError
instead of aValueError
.Fix use of
user_agent
byNetworkClient
and require its use by all filings classes/functionsFix issue where daily CLI command would not work due to
date_cleanup
returningdatetime.datetime
instead ofdatetime.date
Fix issue where
CompanyFilings
includes links that are not exact matches tofiling_type
.Fix issue where
get_urls
does not resetparams
after getting company filings URLs.Add NSAR filing types. Thanks to mjkoo91!
Get rid of caching behavior that was causing issues when downloading filings.
Simplify
ComboFilings
logic for getting quarterly and daily dates.Fix issue where
get_cik_map
fails due to the SEC providingNone
for title or ticker.Add smoke tests to test package “in the wild”.
Contributors
reteps
jackmoody11
lolski
agraddy
v0.3.4
Highlights
Add
user_agent
to CLI to fix external breaking change
Contributors
lolski
jackmoody11
v0.3.3
Highlights
Add
user_agent
argument toNetworkClient
Bypasses CIK lookup calls to SEC if the provided argument is already a CIK.
Contributors
kevinschaul
jackmoody11
v0.3.2
Highlights
Gets rid of unnecessary
AbstractClient
.Flattens directory structure. The
exceptions
,cik_lookup
, andutils
have been moved to the main package directory.Removes
cik_map
module in favor of singlecik_lookup
module which now housesget_cik_map
.Slightly changes functionality of
get_cik_map
to return single dictionary.Rename internal
_get_cik
to_get_cik_from_html
.
Contributors
reteps
jackmoody11
v0.3.1
Highlights
Fixes bug where
get_response
does not break after validating response (thanks to abbadata!)Fixes bug where
get_response
sleeps even after successRemove
pause
fromNetworkClient
initialization in favor of optionalbackoff_factor
that relies on urllib3 retry module.
Contributors
abbadata
jackmoody11
v0.3.0
Highlights
Adds asynchronous requests, downloads are now 10x faster!
Adds
download_all
option tosave
method, allowing for bulk downloads. Uses threaded extraction and renaming of files.Adds
dir_format
andfile_format
options to filingssave
method.Adds
secedgar.parser.MetaParser
andextract
method tosecedgar.filings._index.IndexFilings
.Adds SC 13G, SC 13G/A, SC 13D, and SC 13D/A filing types to
FilingType
.
Contributors
reteps
jackmoody11
v0.2.3
Highlights
Adds
entry_filter
property tosecedgar.filings._index.IndexFilings
to help filter out filings from day or quarter that aren’t needed (thanks to reteps!)secedgar.filings.cik_lookup.CIKLookup
tries to usesecedgar.utils.cik_map.get_cik_map
first when looking up tickers/company names (regardless of whether tickers are upper or lowercase)Adds validation to
secedgar.utils.cik_map.get_cik_map
to ensure correct key options are being usedsecedgar.client.network_client.NetworkClient
now pauses at the end of request as well if pause is given.
Contributors
reteps
jackmoody11
v0.2.2
Highlights
Fixes bug where
DailyFilings
andMasterFilings
does not use correct URLs when calling save method (thanks to alpbozkurt!)
Contributors
jackmoody11
alpbozkurt
v0.2.1
Highlights
Fixes bug where
Filing
does not work whencount
is not specified (thanks to formvoltron!)
Contributors
jackmoody11
formvoltron
v0.2.0
Highlights
Removes
secedgar.crawler.SecCrawler
class. Usesecedgar.filings.Filing
instead.Add
secedgar.cli
to provide CLI option for usersAdd
UserWarning
when number of downloaded files is less thancount
.Add
secedgar.filings.MasterFilings
class to provide access to all filings per quarter.
Contributors
jackmoody11
v0.1.7
Highlights
Fixes
secedgar.filings.DailyFilings
bug to properly fetch daily filings.Fixes
secedgar.filings.Filing
bug to fetch specified number of filings.
Contributors
jackmoody11
jonzd
Marsh-James
v0.1.6
Highlights
secedgar.filings.DailyFilings
added to allow easy access to every day’s filings.secedgar.utils.get_cik_map()
added to add an easy and fast option for getting company CIKs.
Contributors
jackmoody11
tomfunk
v0.1.5
Highlights
Add Python 3.7, 3.8 support to Travis CI
Add support for over 100 forms using
secedgar.filings.FilingType
Prepare to deprecate
secedgar.crawler.SecCrawler
in favor of separate filing classModularize crawler for more general requests
Fix count attribute to correctly fetch specified number of filings (or max available)
Add
secedgar.filings.Filing
for fetching SEC filingsAdd
secedgar.filings.CIKLookup
for getting company CIKs by company ticker or company nameAdd MANIFEST.in file to include requirements.txt, LICENSE, and README
Add What’s New section to docs (replaces CHANGELOG)
Testing
Change xfails to use
pytest.raises
for various testsAdd
TestFilings
class to testsAdd tests for saving filings
Add tests for ticker/company name verification
Add tox for testing
Make Travis CI use setup used by PyPi to catch problems with setup.py
Bugs
Fix count attribute to fetch desired number of filings.
secedgar
will now either fetch specified number or, if not enough filings exist, all filings will be fetched.
Enhancements
Introduce
secedgar.filings.base.AbstractFiling
class as abstract base class
Contributors
jackmoody11
v0.1.4
Highlights
Refactor code to have a common method for fetching filings
Provide user to add their own repo path where filings can be downloaded
Add CI pipeline using Travis
Contributors
jackmoody11
johnisanerd
v0.1.3
Highlights
Add support for SD forms
Fixed bugs for python3
Contributors
crperezt
franciosi
jackmoody11
jblemoine
npsolve
v0.1.2
Highlights
Fix issue related to file saving
Remove platform dependent file path
Contributors
npsolve
Quartzing
v0.1.1
Highlights
Add API for 10-K
Create a central API point using class
Contributors
npsolve
zevaverbach