Skip to main content

A simple program for displaying cat or dog facts.

Project description

About the petfacts CLI application

Pet facts is a simple but fun application that retrieves either dog or cat facts from two different resources.

Click here to see the cat facts api.

Click here to see the dog facts api.

Why did I write it?

I wrote this application to learn a python module called argparse, and this seemed like the perfect fun project to do this with.

How can I get it?

petfacts comes with an automated installer that will install petfacts, and remove it when you want it gone.

NOTE: Soon this will be on pypi as well, and you should be able to install it via pip.

Steps to install:

  • First clone this repo git clone https://github.com/CodeCanna/petfacts.git
  • cd into the newly cloned directory
  • Once you are in the main petfacts directory you can run the installer sudo ./install; this will install petfacts
  • Done! You can test it by either printing out the help menu, or you can display a fact! Try running petfacts --cat!

Steps to uninstall:

  • cd back into the cloned petfacts directory or re-clone the project to give you access to the installer.
  • run sudo ./install --uninstall to remove petfacts.
  • (Optionally) you can use sudo rm -f /usr/bin/petfacts to remove it manually, just be careful!!

Whats next?

  • TODO: I want to get this up on PyPi so you just have to use pip to install.
  • TODO: Give it the ability to store facts, why? Just because I'm learning.

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

petfacts-1.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

petfacts-1.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file petfacts-1.1.0.tar.gz.

File metadata

  • Download URL: petfacts-1.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for petfacts-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a18efac18eadea0e076f103613938bb10994a26c05f6b6dd95c32fa4d6038eef
MD5 65f5d3b6bf28948955e5426a7ac3b154
BLAKE2b-256 5a4535270830ac54d4a70a5478357f28694a633b33a34edc3487b5f3261233f1

See more details on using hashes here.

File details

Details for the file petfacts-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: petfacts-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for petfacts-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca2399686ef2c8b6fa28a1888107e1caa6c49ba82e415d763b2472c6359e156c
MD5 bdec65fd10e8213e408e69399f86c9b7
BLAKE2b-256 a646bd5476df47cd8de37b63df0a4637d0411ac202fcd25ed894bd77e7e16868

See more details on using hashes here.

Supported by

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