Random cat image
Project description
This module is a re-creation of random-cat. It isn't working! It displays HTTP 403 error! DO NOT DOWNLOAD IT!
Download this instead. This module same uses Cat API. (https://thecatapi.com)
Installation
Install through pip.
pip install randomcatimage
Usage
The module has just one function getCat() with one argument. png is default.
mime:
-
png
-
jpg
-
gif
Demo
import randomcatimage as cat
cat.getCat('png')
The function return the image link.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file randomcatimage-1.0.2.tar.gz.
File metadata
- Download URL: randomcatimage-1.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38717d0b2f8a6ae953c2ac9b15a47154a6d65c2ab89916fa9755fd3a3fb87aba
|
|
| MD5 |
75808de25b3507b4a6d17ef812875c7a
|
|
| BLAKE2b-256 |
598e67be6dd6ddc584e6effbad3209f003ae1e39737e353ca00104c3cceef890
|
File details
Details for the file randomcatimage-1.0.2-py3-none-any.whl.
File metadata
- Download URL: randomcatimage-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a529431f89ad54f125649151a8267d5b10839ca75a775312caff1618530ace
|
|
| MD5 |
20e1ab9b1c266ece4fde593e67733744
|
|
| BLAKE2b-256 |
ff1486e38192ce6cc575eedca690f6ce2c7f80069879cc166a1c76dc0d296a0e
|