What’s New
New features, bug fixes, and improvements for each release.
v0.6.0
Highlights
Pass user agent to
CIKLookupand require user agent forget_cik_map. Thanks to clintmoyer!Fix bug preventing
filing_typebeing set toNoneinCompanyFilingsChanged supported versions (now supports Python 3.8 through 3.12)
Contributors
clintmoyer
jackmoody11
tenstormavi
v0.5.0
Highlights
Add access to SEC’s REST API via
secedgar.core.restmoduleNew functions include
get_submissions,get_company_concepts,get_company_facts, andget_xbrl_frames.Set
clientkeyword arg toNoneby default forCIKLookup. This will create client object automatically instead of requiring user to provide client.
Contributors
jackmoody11
v0.4.1
Highlights
Fixes issue with
ComboFilingsnot settinguser_agentargument. 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.pytocompany.py(and respectiveFilingsclass toCompanyFilings).Rename
master.pytoquarterly.py(and respectiveMasterFilingsclass toQuarterlyFilings).Rename
filingssubdirectory tocoreto avoid confusion.Create
ComboFilingsclass that wraps aroundQuarterlyFilings,DailyFilingsgiven 2 dates.Create
filingsfactory that returns the correct class based on user inputs. Returns one ofComboFilings,QuarterlyFilings,DailyFilings,CompanyFilings.Add many more types to
FilingTypeenum. Switch to csv table for details.If no filings found for
DailyFilingsorMasterFilingsafter finding that other filings that do not match the criteria exist, then raise aNoFilingsErrorinstead of aValueError.Fix use of
user_agentbyNetworkClientand require its use by all filings classes/functionsFix issue where daily CLI command would not work due to
date_cleanupreturningdatetime.datetimeinstead ofdatetime.dateFix issue where
CompanyFilingsincludes links that are not exact matches tofiling_type.Fix issue where
get_urlsdoes not resetparamsafter getting company filings URLs.Add NSAR filing types. Thanks to mjkoo91!
Get rid of caching behavior that was causing issues when downloading filings.
Simplify
ComboFilingslogic for getting quarterly and daily dates.Fix issue where
get_cik_mapfails due to the SEC providingNonefor title or ticker.Add smoke tests to test package “in the wild”.
Contributors
reteps
jackmoody11
lolski
agraddy
v0.3.4
Highlights
Add
user_agentto CLI to fix external breaking change
Contributors
lolski
jackmoody11
v0.3.3
Highlights
Add
user_agentargument toNetworkClientBypasses 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, andutilshave been moved to the main package directory.Removes
cik_mapmodule in favor of singlecik_lookupmodule which now housesget_cik_map.Slightly changes functionality of
get_cik_mapto return single dictionary.Rename internal
_get_cikto_get_cik_from_html.
Contributors
reteps
jackmoody11
v0.3.1
Highlights
Fixes bug where
get_responsedoes not break after validating response (thanks to abbadata!)Fixes bug where
get_responsesleeps even after successRemove
pausefromNetworkClientinitialization in favor of optionalbackoff_factorthat relies on urllib3 retry module.
Contributors
abbadata
jackmoody11
v0.3.0
Highlights
Adds asynchronous requests, downloads are now 10x faster!
Adds
download_alloption tosavemethod, allowing for bulk downloads. Uses threaded extraction and renaming of files.Adds
dir_formatandfile_formatoptions to filingssavemethod.Adds
secedgar.parser.MetaParserandextractmethod 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_filterproperty tosecedgar.filings._index.IndexFilingsto help filter out filings from day or quarter that aren’t needed (thanks to reteps!)secedgar.filings.cik_lookup.CIKLookuptries to usesecedgar.utils.cik_map.get_cik_mapfirst when looking up tickers/company names (regardless of whether tickers are upper or lowercase)Adds validation to
secedgar.utils.cik_map.get_cik_mapto ensure correct key options are being usedsecedgar.client.network_client.NetworkClientnow pauses at the end of request as well if pause is given.
Contributors
reteps
jackmoody11
v0.2.2
Highlights
Fixes bug where
DailyFilingsandMasterFilingsdoes not use correct URLs when calling save method (thanks to alpbozkurt!)
Contributors
jackmoody11
alpbozkurt
v0.2.1
Highlights
Fixes bug where
Filingdoes not work whencountis not specified (thanks to formvoltron!)
Contributors
jackmoody11
formvoltron
v0.2.0
Highlights
Removes
secedgar.crawler.SecCrawlerclass. Usesecedgar.filings.Filinginstead.Add
secedgar.clito provide CLI option for usersAdd
UserWarningwhen number of downloaded files is less thancount.Add
secedgar.filings.MasterFilingsclass to provide access to all filings per quarter.
Contributors
jackmoody11
v0.1.7
Highlights
Fixes
secedgar.filings.DailyFilingsbug to properly fetch daily filings.Fixes
secedgar.filings.Filingbug to fetch specified number of filings.
Contributors
jackmoody11
jonzd
Marsh-James
v0.1.6
Highlights
secedgar.filings.DailyFilingsadded 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.FilingTypePrepare to deprecate
secedgar.crawler.SecCrawlerin 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.Filingfor fetching SEC filingsAdd
secedgar.filings.CIKLookupfor 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.raisesfor various testsAdd
TestFilingsclass 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.
secedgarwill now either fetch specified number or, if not enough filings exist, all filings will be fetched.
Enhancements
Introduce
secedgar.filings.base.AbstractFilingclass 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