Skip to main content
Help us improve Python packaging – donate today!

Python3 Package Creator

Project Description

Build Status Wheel Status

The Python3 Package Creator.

Pypc generates standard scaffolding and environment for a Python package.

  • Populates the directory structure show in Usage
  • –strict Installs virtualenv + creates venv directory
  • Installs pyflakes, pep8 to venv


$ pip install pypc


Pypc can be used to create the basic structure of your python package. It uses the conventions and file structure outlined in Options also exist to setup virtualenv, pip install dependencies and linters, such as pyflakes and pep8, and generate a pip freeze as requirements.txt.

$ pypc project && ls

CHANGES docs/ examples/ LICENSE project/

Alternatively, you can run in minimal mode with -m or –minimal. This only creates a README and and does not require network access (after pypc is installed).

# Minimal install

$ pypc -m project && ls

project/ README.rst setup.cfg

In both cases, a project/ subdirectory is populated with an

Finally, pypc provides a strict mode which installs and configures virtualenv and specified linters as dependencies. This may be combined with minimal mode:

$ pypc -sm project


usage: pypc [-h] [-v] [-m] [-s] [–venv VENV] [–path PATH] [–author AUTHOR]
[–email EMAIL] [-V VERSION] [–desc DESC] [–url URL] [–rm README] [–fs FS] pkgname

If you only want to create a package with a (no virtual env, etc), use the -m or –minimal flag.

Note: -v outputs the version of pypc whereas -V or –version is used to
specify the initial version of the package you are creating. This is slightly confusion, and improvements are welcome.


Pypc can be imported and used as library.

>>> from pypc.create import Package
>>> p = Package("pkgname", path="~/optional") # defaults to os.getcwd()
>>>**{'readme': ''}) # see pypc.settings.DEFAULTS for a list of default options (key,vals)


  • KISS. Small and simple enough (i.e. Flask/webpy, not django) that it can be integrated into pip,
  • Defaults. a default modus of operandi which works offline,
  • PEP 20. “There should be one– and preferably only one –obvious way to do it.” In this respect, the general file structure should remain static and accept overrides/overloading of templates and if specific modules/packages (like flask) require specific (additional) file structure, a builder can import/bootstrap using pypc (as it would pip)


Questions for you

  1. Does the file structure pypc generates break any conventions?
  2. Is the code for pypc readable/accessible?
  3. Feature suggestions? (would love to auto-init venv)


Pypc is a pre-alpha proof of concept. It’s slow as it installs pyflakes, pep8, virtualenv sets up a virtualenv, and then generates a freeze list of requirements). Right now there is little to no test-coverage; being it is a proof of concept, I’ll try to continue as TDD.


Join the conversation! Other design considerations and details can be found on the pypa mailing list:!searchin/pypa-dev/mek/pypa-dev/eaku1xvUVHU/Kbj_17sP23kJ

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pypc-0.1.50-py2.py3-none-any.whl (15.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Apr 9, 2015
pypc-0.1.50.tar.gz (14.7 kB) Copy SHA256 hash SHA256 Source None Apr 9, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page