Skip to main content

A sample lib Zen of Python

Project description


A simple library that returns the Zen of Python quotes.

  • Installation

    pip install zen_quotes

  • Usage

# import lib 
from zen_quotes.quote import Quotes
# That will return you all quotes in English.
# Altogether there are 19 quotations, but if you need only one quotation, 
# then pass the quotation position number on the list.

Quotes().get_quotes(quote=2) # this will return you the second quote on the list in English.

Quotes().get_quotes(lang='pt', quote=2) # this will return you the second quote on the list in Portuguese.


  • [] add other languages

Project details

Download files

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

Files for zen-quotes, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size zen_quotes-1.1.2-py3-none-any.whl (1.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size zen_quotes-1.1.2.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page