Metadata-Version: 2.1
Name: vaers-downloader
Version: 1.0.2
Summary: VAERS DATA DOWNLOADER
Project-URL: Homepage, https://github.com/McFlat/vaers-downloader
Project-URL: Bug Tracker, https://github.com/McFlat/vaers-downloader/issues
Author-email: Frank Knoll <Knoll_Frank@web.de>, Alex Goretoy <alex@goretoy.com>
License-File: AUTHORS
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Healthcare Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# [VAERS Downloader](https://github.com/McFlat/vaers-downloader)

This project downloads VAERS Data from [https://vaers.hhs.gov/data.html](https://vaers.hhs.gov/data.html) it depends on tensorflow to automatically trained models to solve the captcha and download data into `VAERS/` directory.

# Install

```sh
pip install vaers_downloader
```

# Usage

```sh
vaers_downloader [--start=2019] [--end=2019] [--directory=/tmp]
```

This will create a new directory named `VAERS` in the currect directory where you ran the above command.

Pass a parameter or two for the start and end year as below to download data for those years only. 

Default: basically will download all data from 2019 to whatever the year it is when you run it.


```sh
python -m vaers_downloader.download -s 2000
python -m vaers_downloader.download --start 1990  -e 1999 -d /tmp
```

# Development

```sh
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
```

```py
import os
import sys
sys.path.insert(0, './vaers_downloader')
from VAERSFileDownloader import updateVAERSFiles

updateVAERSFiles(
        needsUpdate = True,
        years = [2019, 2020, 2021, 2022],
        workingDirectory = os.getcwd())
```

> Thanks to Frank Knoll for the original code... https://github.com/KnollFrank/HowBadIsMyBatch

# Tests

```sh
python setup.py test
```

# License

See [LICENSE](LICENSE)

# Authors

- Frank Knoll (https://github.com/KnollFrank)
- Alex Goretoy (https://github.com/McFlat)
