Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from ._version import __version__
|
||||
from .httpxclientmanager import HttpxThrottleCache
|
||||
|
||||
__all__ = ["HttpxThrottleCache", "__version__"]
|
||||
|
||||
|
||||
EDGAR_CACHE_RULES = {
|
||||
r".*\.sec\.gov": {
|
||||
"/submissions.*": 600,
|
||||
r"/include/ticker\.txt.*": 600,
|
||||
r"/files/company_tickers\.json.*": 600,
|
||||
".*index/.*": 1800,
|
||||
"/Archives/edgar/data": True, # cache forever
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user