Skip to main content

Set up a minimal, yet comfortable structure for a Python project

Project description

Author:

David Gay <oddshocks@riseup.net>

Set up a minimal, yet comfortable structure for a Python project.

Features

  • Create a standard Python project directory structure

  • Get help creating your setup.py file, or choose to write it yourself by passing the --snap command

  • Clear your project of messy build files (build/dist/egg/pyc) with the --wash command

  • Generate a distribute_setup.py file to use a setup.py file with distribute

  • Use a tree-style menu to set your PyPI classifiers in your setup.py file

Example Usage

Create a new project like so:

$ pythong mynewproject

Or, for a quicker setup…

$ pythong --snap

Including the project name in the command is optional.

Since version 0.0.2, you can wash your pythong of messy build files:

$ pythong --wash

Since version 0.0.3, Pythong will help you add classifiers to your setup.py during project creation, or after the fact with the label command:

$ pythong --label

A full list of options can be seen with:

$ pythong --help

Get Pythong

You can install the latest release of Pythong from PyPI with pip:

$ pip install pythong

You can also get the source from PyPI or GitHub. Contributions are welcome! Yay, software freedom!

License

pythong is released under the GNU GPLv3+.

Contributors

Feel free to add your name.

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

pythong-0.6.4.tar.gz (16.7 kB view details)

Uploaded Source

File details

Details for the file pythong-0.6.4.tar.gz.

File metadata

  • Download URL: pythong-0.6.4.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pythong-0.6.4.tar.gz
Algorithm Hash digest
SHA256 1c5e62a404c1e65d8ad7a871f6f1016e3d7346dec0267ef9d06da88d6a832b4e
MD5 ac3eb819e7201aa2171143f045c273b9
BLAKE2b-256 2ddfea5f25e2c456dc1be87996d0ee635b6918cd12154211cbb6672451a10759

See more details on using hashes here.

Provenance

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