passport-photo-specs-data
Official passport & visa photo specifications by country (JSON/CSV), sourced from government pages
Python package bundling the open dataset passport-photo-specs: Passport & visa photo specifications from github.com/marfa77/passport-photo-specs with a tiny pure-stdlib API (Python >= 3.8).
- Product: https://pixid.studio
- Dataset DOI: 10.5281/zenodo.23321885
- Documentation: https://marfa77.github.io/passport-photo-specs/
- Data source: Official government passport/visa photo pages (source URLs per record in the data).
Install
pip install passport-photo-specs-data
Usage
import passport_photo_specs_data
passport_photo_specs_data.files() # bundled files: `specs.csv`, `specs.json`
data = passport_photo_specs_data.load() # parsed specs.json
rows = passport_photo_specs_data.records()
passport_photo_specs_data.get("us-passport")
passport_photo_specs_data.load("specs.csv") # CSV as list of dicts
Licence
- Code: MIT (see
LICENSE). - Data: Creative Commons Attribution 4.0 International (CC BY 4.0) (see
LICENSE-DATA). Attribution: "passport-photo-specs by PixID (https://pixid.studio)".
Citation
Please cite the dataset DOI: https://doi.org/10.5281/zenodo.23321885
Metadata
Release files for passport-photo-specs-data 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| passport_photo_specs_data-1.0.1.tar.gz | 9.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| passport_photo_specs_data-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / passport_photo_specs_data-1.0.1.tar.gz
| Download URL | passport_photo_specs_data-1.0.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82517a5191d696ce39129af777dde964fd00569356cb799448bac166eb4f6f05
|
|
BLAKE2b-256 checksum How to use checksums |
d21b5010550881781efc233d0f5ee0129e72cfa1ee107f7c28a0caa046b93ba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / passport_photo_specs_data-1.0.1-py3-none-any.whl
| Download URL | passport_photo_specs_data-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95defbc3bc4457c1b1bd87d56556cd89be564efd843815dac5228d56a993401a
|
|
BLAKE2b-256 checksum How to use checksums |
c4326442426202fd83650b5dc2c89dcd7e790552de5f4b4fdf968b4b15455b75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for passport-photo-specs-data 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.