Skip to main content

A simple wrapper for thecatapi.

Project description

TheCatAPI-python

TheCatAPI is a web API that can be accessed here, this library is a wrapper around it to easily acces the API.

Usages:

  • Training CV models (On cat images.)

  • Placeholder images for applications.

Legal disclaimer

TheCatAPI-python is not affiliated with the devlopers of the original TheCatAPI, it is simply a wrapper around the API, using requests.

Syntax:

# install the library first:

pip install thecatapi-python
# Use it in a script:

from thecatapi import TheCatAPI

# get a single cat image.
TheCatAPI.random_cat()


# Get multiple cat images.
TheCatAPI.multiple_cats(max: int)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thecatapi_python-0.1.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thecatapi_python-0.1.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file thecatapi_python-0.1.2.tar.gz.

File metadata

  • Download URL: thecatapi_python-0.1.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for thecatapi_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dfc57115a81050828aa35188f9782101a32d7e29c31e385fc4836eea5c7ab6c1
MD5 142937703ee4e1201cac6df62d7dc36f
BLAKE2b-256 9e85f7ebf450362dd32f9def5a046502ae8a71cb4eddb24373bef3788386b1b7

See more details on using hashes here.

File details

Details for the file thecatapi_python-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for thecatapi_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f0845a9f9536ae4f7afba3dba3d33123684be3ef2b9cc653de009343b425de0
MD5 20269a3525d8a4443ede0eabb7091d2e
BLAKE2b-256 2e956cb2cff38650bf45e46171af1ace55bd1e7eb109554c3a8d009210ec3e04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page