Skip to main content

Get the Zen of Python in your Applications

Project description

Shows the Zen of Python in your Applications

Author:

Chris Maillefaud

Version:

1.0.0

Python Version:

2.7, 3.5 and 3.6

Date:

October, 16, 2017

Install and Use

Install with pip: pip install zenomatic

Use

  1. Run from command line:

Options:

  • ‘random’: show a random quote

  • ‘seed <number>’: show numbererd quote

  • ‘all’: show all quotes

Example: zenomatic random

  1. Run inside application:

from zenomatic import get_quote()

ret, quote = get_quote(1)

if ret:

print(quote)

Avaliable commands

get_quote(number)

Get specific quote from 0 to 18

get_quotes()

Get all quotes

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

zenomatic-1.0.1.tar.gz (3.9 kB view hashes)

Uploaded source

Built Distribution

zenomatic-1.0.1-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded py2 py3

Supported by

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