Download data from sec.gov/data.json
Environment variables:
- DOWNLOAD_DIR: where to save the downloaded data.
To run the download script:
(venv) $ python secdownload.py
If you are new to Python follow these steps. To install all required python dependencies, create the virtual environment and activate it.
$ python3 -m venv venv
$ source venv/bin/activate
Install the dependencies.
(venv) $ pip install -r requirements.txt
To clone this starter repo and add it as an upstream folow below:
git clone https://github.com/leovigna/python-starter.git myproject
cd myproject
git remote set-url origin https://github.com/leovigna/myproject.git
git remote add upstream https://github.com/leovigna/python-starter.git
git push origin master
git push --all
Then to sync any new changes form this repo to the new repo follow this:
git fetch upstream
git checkout master
git merge upstream/master
For testing and code coverage:
- pytest
- coverage
For linting and code formatting:
To contribute code, feel free to fork this repo.
2019 Leo Vigna MIT License.