Skip to main content

A sample lib Zen of Python

Project description

zen_quotes

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.
Quotes().get_quotes()
# 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.

TODO

  • [] 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.

Source Distribution

zen_quotes-1.1.2.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

zen_quotes-1.1.2-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

Details for the file zen_quotes-1.1.2.tar.gz.

File metadata

  • Download URL: zen_quotes-1.1.2.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for zen_quotes-1.1.2.tar.gz
Algorithm Hash digest
SHA256 208168f450f758c5b57c58c4a008b9df31f0476a40553d0ed2d437d75d0eba3f
MD5 844653c59ea8aeda9320a2eec6ff2968
BLAKE2b-256 dc71b4f940dd7edbb64a5ac98f460cc48d85cf2b580f57e31a7eb10e955f8b4e

See more details on using hashes here.

File details

Details for the file zen_quotes-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: zen_quotes-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for zen_quotes-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2efdef9ab71873107a813d93dc180c1ba896371c3449daf868f280a890784f30
MD5 aafc820b5a80cc9909e2291ddda965f3
BLAKE2b-256 9c30579b7d28955a497a428f562ce92854bbba5f9e87f98bcda0c75e685618c8

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