diff --git a/.gitignore b/.gitignore index 8ed3f35..1b2a16e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ nc_examples/ docs/ *.pyedgar.conf +*-checkpoint.ipynb # Byte-compiled / optimized / DLL files diff --git a/README.md b/README.md index d61b5e9..716b733 100644 --- a/README.md +++ b/README.md @@ -150,30 +150,36 @@ print(config.CONFIG_FILE) ## downloader -There is a convenience downloader script, for downloading filing feed files and indexes. +There is a convenience downloader CLI, for downloading filing feed files and indexes. To see the status of current cached downloads (shows the latest downloaded files) and to see the config setup: ```bash -$ python -m pyedgar.downloader --status --config +$ python -m pyedgar --status --config ``` -To download and extract index files: +This will download and extract the indices (you can use -s and -e to specify years/dates to download): ```bash -$ python -m pyedgar.downloader -i --log info +$ python -m pyedgar -i ``` -And to download and extract the last 30 days of filings: +This will download and extract the last 30 days of forms: ```bash -$ python -m pyedgar.downloader -d +$ python -m pyedgar -d -x --last-n-days 30 ``` -To download and extract filings since the beginning: +This will only download the daily feed files in 1998: ```bash -$ python -m pyedgar.downloader -d --start-date 1995-01-01 +$ python -m pyedgar -d -s 1998 -e 1999 +``` + +This will only extract all daily feed files: + +```bash +$ python -m pyedgar -x -s 1994 ``` diff --git a/pyedgar/__init__.py b/pyedgar/__init__.py index 2cba43e..ca3c614 100644 --- a/pyedgar/__init__.py +++ b/pyedgar/__init__.py @@ -13,7 +13,7 @@ """ __title__ = 'pyedgar' -__version__ = '0.1.12' +__version__ = '0.1.13' __version_info__ = tuple(int(i) for i in __version__.split(".")) __author__ = 'Mac Gaulin' __license__ = 'MIT' diff --git a/setup.py b/setup.py index e1e8c7a..7415429 100644 --- a/setup.py +++ b/setup.py @@ -48,12 +48,12 @@ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ], packages=find_packages(), include_package_data=True,