PyDogCeo
PyDogCeo is a thin wrapper on top of the DogCEO-API. DOG-CEO on GITHUB
To Start...
To install pydogceo:
pip install pydogceo
Using it...
All methods return a requests Response Object representing the raw response from the API. Any HTTP errors that are returned by the API are raised as HTTPError exceptions from the Requests library.
from pydogceo import PyDogCeo
dog = PyDogCeo()
r = dog.breeds.listAll()
Available Methods/ Endpoints
dog.breeds.listAll()
dog.breeds.listAllRandom()
dog.breeds.listAllRandomNumber(10)
dog.breeds.listMaster()
dog.breeds.listMasterRandom()
dog.breeds.listMasterRandomNumber(3)
dog.breeds.image.random()
dog.breeds.image.randomNumber(3)
dog.breed.subbreed("hound")
dog.breed.subbreedRandom("hound")
dog.breed.subbreedRandomNumber("hound", 3)
dog.breed.image("hound")
dog.breed.images.random("hound")
dog.breed.images.randomNumber("hound", 4)
dog.breed.images.subbread("hound", "afghan")
dog.breed.images.subbreadRandom("hound", "afghan")
dog.breed.images.subbreadRandomNumber("hound", "afghan", 10)
Changelog
v0.0.1- 28/08/2022
First Release :)
Metadata
Release files for pydogceo 1.0.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 |
|---|---|---|---|---|
| pydogceo-1.0.0.tar.gz | 5.3 kB | Without provenance | Details for pydogceo-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydogceo-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pydogceo-1.0.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / pydogceo-1.0.0.tar.gz
| Download URL | pydogceo-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8086cca2d545b753f5d33af6dab06653816e9e89203837d36baa4ee98b357c2
|
|
BLAKE2b-256 checksum How to use checksums |
84336ca8d3d715506a491545c0f3444c4a809321ffe776a02799639b8ca7f729
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / pydogceo-1.0.0-py3-none-any.whl
| Download URL | pydogceo-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b19921f4ae7e609e737b74e43b7236586ea4781b12808c64864f3858b6901622
|
|
BLAKE2b-256 checksum How to use checksums |
1ea4d8dcc8f1615062fff7e113d792c87af6d8d6be4e4d648b7b4eb241712f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Security for pydogceo 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.