This Person Does Not Exist But Has Age And Gender
Python package for getting the person with requested gender and age from This Person Does Not Exist website.
It's getting right person, by downloading image of a randomly generated person from This Person Does Not Exist and then checking gender and age of that person, with use of OpenCV library.
Installation
Use the package manager pip to install.
pip install this_person_does_not_exist_but_has_age_and_gender
Usage
from this_person_does_not_exist_but_has_age_and_gender import get_person
get_person("male", 30) # returns filename of downloaded picture of a person
It can be also used from command line
python this_person_does_not_exist_but_has_age_and_gender.py male 30
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for this-person-does-not-exist-but-has-age-and-gender 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl |
Release files / this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl
| Download URL | this_person_does_not_exist_but_has_age_and_gender-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
371d0095f77beb47074df25c39faf01ce0123139a497046d4fb49fb45d6f63f6
|
|
BLAKE2b-256 checksum How to use checksums |
98254d37ea493a585cafe69252a9d3185eda765e161ad4c3aa05a0f8ab94356c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|
Security for this-person-does-not-exist-but-has-age-and-gender 1.0.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.