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 Python 2 Python 3

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