Skip to main content

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.

mime:

  • png

  • jpg

  • gif

Demo


import randomcatimage as cat

cat.getCat('png')

The function return the image link.

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

randomcatimage-1.0.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

randomcatimage-1.0.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file randomcatimage-1.0.0.tar.gz.

File metadata

  • Download URL: randomcatimage-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for randomcatimage-1.0.0.tar.gz
Algorithm Hash digest
SHA256 60096b84545c0365a15d46485a0f2f9e562fa49e3d433f06c794d71499bbaa9a
MD5 18ed603fa187dab522cf9546d2225a6c
BLAKE2b-256 9831262270ad12c4569f9f241e325be98a3896b1ef64c02805b831f8a328b855

See more details on using hashes here.

File details

Details for the file randomcatimage-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: randomcatimage-1.0.0-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.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for randomcatimage-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4c76a0a6b39f10efa56998eaa13b35cf1b5479612f092e846c7425893350989
MD5 6368319b6a8a9ca3ad5798f35b9d4253
BLAKE2b-256 fe6c43709ae02724ee26112e37ed87157336c863c52acaac0a49085fe840306c

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