https://github.com/studyresearchprojects/cdvpp
Chilean Digital Vaccination Pass Parser (CDVPP) parses digital vaccination passes from PDF files
https://github.com/studyresearchprojects/cdvpp
Last synced: 8 months ago
JSON representation
Chilean Digital Vaccination Pass Parser (CDVPP) parses digital vaccination passes from PDF files
- Host: GitHub
- URL: https://github.com/studyresearchprojects/cdvpp
- Owner: StudyResearchProjects
- License: mit
- Created: 2021-11-16T23:13:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T23:14:07.000Z (over 4 years ago)
- Last Synced: 2025-08-06T00:42:55.768Z (8 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cdvpp
Chilean Digital Vaccination Pass Parser (CDVPP) parses digital vaccination
passes from PDF files
Reads a Digital Vaccination Pass PDF file as input and retrieves its details
as an instance of `VaccinationPass`.
## Development
This project was developed using `pyenv` and `pipenv`.
First install the Python version for this project specified in the
`.python-version` file.
```bash
pyenv install 3.10.0
```
Then move to the project directory and run `pipenv install` to install Pipfile
specified dependencies.
Finally run the virtual environment using `pipenv shell`.
Execute `python src/main.py` through Pipenv's shell to run the project.
## Caveats
Currently only the version of the PDF issued as of November 16, 2021 is admited.
Other versions are not yet compatible. This application relies on a specific
order of lines to retrieve each field from the PDF file.
## Pyright Support
Create a `pyrightconfig.json` file in the root directory and append the
following contents:
```json
{
"venvPath": "",
"venv": "",
}
```
Where `venvPath` belongs to your `virtualenvs` directory path, and `venv` to
this project virtual environment.