Skip to main content

a model project for a Python command-line script

Project description

Pizza

python eating pizza

Build Status

Pizza is a sample demonstration project of a Python command-line script.

Pizza is the project you get when you render the Groome project template groome-python with its sample configuration file. For testing purposes, this project also serves as the “expected” value of that template. See the groome-python project page for more information about this project.

A minimal sample usage looks like–

$ pizza hello crazy world
3

The project page and source code is on GitHub, and releases can be found on PyPI (the Python Package Index).

Feedback is welcome. You can file bug reports and feature requests on the project tracker.

[This project and groome-python are still being worked on and are not yet usable.]

Requirements

Pizza supports the following Python versions:

  • Python 2.7

  • Python 3.2

  • Python 3.3

  • PyPy

Pizza has no third-party dependencies.

Installing for Python 3 requires that Distribute be installed and that pip use Distribute.

Install It

$ pip install pizza

Test it

TODO [template]:

Try it

TODO [template]:

Hack it

TODO [template]: merge this section with the “For Contributors” section. We may want to move this information to developing.md.

This section describes how to modify and contribute to Pizza. In particular, it shows you the way around and how to interact with Pizza from a source checkout.

To run the main pizza script from source:

$ python runpizza.py tomatoes garlic
input: tomatoes, garlic

This script is essentially a development convenience for running:

$ python -m pizza.scripts.pizza ...

which is in turn equivalent to the command above that To get help and see all options:

$ python runpizza.py --help

To run project tests (which are already stubbed out):

$ python runpizza.py --run-tests

For Contributors

For guidance on working with the Pizza code base, consult the developing.md file in the docs folder of a source distribution.

For Maintainers

For instructions on releasing Pizza and on how to use setup.py, consult the releasing.md file in the docs folder of a source distribution.

Author

Pizza is authored by Chris Jerdonek.

History

0.1.0 (TBD)

  • Initial release.

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

Pizza-0.1.2.tar.gz (25.1 kB view hashes)

Uploaded Source

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