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.1.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.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: randomcatimage-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d5add8a1890791e634c2cb5656663b65c442b6b433b065f7984c67b0b9d6fa75
MD5 d10cfbf1da84a1c08832a7572d3e5a05
BLAKE2b-256 a97f3a581498026035a8d4e2ec5881bd2ae6f6b5b726dd6aa4d9262d2e32e0e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: randomcatimage-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2e4e4194f8d6d6c7c3958edf8f9e66cd80f6f3bbf1e9b7ee28395da8b80280
MD5 e811344b5487048cff4b17b058e59af7
BLAKE2b-256 e8d266ea64ed7419d997fb9801fc2d790d62d64bf0aaf512fd4c4b78c9f87f40

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