faker-animals
A provider for the python faker library to generate animals data.
Description
faker-animals offers comprehensive and accurate animals data,covering an extensive range of species. It includes info like the common name and the scientific name. This data can be useful for applications requiring realistic representations of biological diversity, educational tools, wildlife databases, or any project that needs accurate animal species data.
Installation
Install with pip:
pip install faker-animals
Add as a provider to your Faker instance:
from faker import Faker
from faker_animals import AnimalsProvider
fake.add_provider(AnimalsProvider)
If you already use faker, you probably know the conventional use is:
fake = Faker()
Usage examples
Animal
>>> fake.animal()
{
'common_name': 'Kangaroo',
'scientific_name': 'Macropodidae',
'class': 'mammals'
}
Animal Common Name
>>> fake.animal_name()
'Brown Bear'
Animal Scientific Name
>>> fake.animal_name_scientific()
'Ursus arctos'
Bird
>>> fake.bird()
{
'common_name': 'African Grey Parrot',
'scientific_name': 'Psittacus erithacus',
'class': 'birds'
}
Mammal
>>> fake.mammal()
{
'common_name': 'Alaskan Husky',
'scientific_name': 'Canis lupus',
'class': 'mammals'
}
Fish
>>> fake.fish()
{
'common_name': 'White Catfish',
'scientific_name': 'A. catus',
'class': 'fish'
}
Reptile
>>> fake.reptile()
{
'common_name': 'Black Mamba',
'scientific_name': 'D. polylepis',
'class': 'reptiles'
}
Amphibian
>>> fake.amphibian()
{
'common_name': 'Green Frog',
'scientific_name': 'Lithobates clamitans',
'class': 'amphibians'
}
Metadata
Release files for faker-animals 0.1.0
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 | Actions |
|---|---|---|---|---|
| faker_animals-0.1.0.tar.gz | 30.3 kB | Without provenance | Details for faker_animals-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| faker_animals-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for faker_animals-0.1.0-py3-none-any.whl |
Total release size: 61.8 kB
Release files / faker_animals-0.1.0.tar.gz
| Download URL | faker_animals-0.1.0.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
046205bcd1f5a228a74fcab31dcced1114bc5f01f282eb44e47a4c390acdff13
|
|
BLAKE2b-256 checksum How to use checksums |
6aeae811947e8a9bfe4553eeea318db39890c958efd197c07516baeb4c9757c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.1
|
Release files / faker_animals-0.1.0-py3-none-any.whl
| Download URL | faker_animals-0.1.0-py3-none-any.whl |
|---|---|
| Size | 31.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14f85d9b89ddd58ab05c5f52f55851ec11727e9d924df3d1098a92dfd3455685
|
|
BLAKE2b-256 checksum How to use checksums |
fa724f3b21877f58262a122f1e1a251302e0cb3561c2c8ff3e9232981603195d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.1
|
Security for faker-animals 0.1.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.