Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Cookiecutter template for a Python package.

License

Notifications You must be signed in to change notification settings

syapse/cookiecutter-pypackage

 
 

Repository files navigation

Syapse Python Package Cookiecutter

Prerequisites

Quickstart

# Install cookiecutter
$ pip install cookiecutter

# Generate a new project
$ cookiecutter [email protected]:syapse/cookiecutter-pypackage.git

# Follow the prompts to configure your project. See Cookiecutter Options below.

You are strongly advised to follow the naming convention of starting your project name
with 'Syapse', and hence your package name with 'syapse_'. This is to avoid name
collisions with packages at [PyPI](https://pypi.org)


## Cookiecutter Options

The following options can be specified when creating a new service.

| Prompt                      | Description                                                                              |
| --------------------------- | -----------------------------------------------------------------------------------------|
| `project_name`              | The human-readable name of the new project (Should start with 'Syapse').                 |
| `project_slug`              | The Python-compatible identifier of the generated module. Must start 'syapse_'.          |
| `project_dash_slug`         | The top-level directory name, conventionally avoiding _.                                 |
| `project_short_description` | A few words about the project.                                                           |
| `python_2_7`                | Include python 2.7 support.                                                              |
| `version`                   | Semantic Version number.                                                                 |
| `command_line_interface`    | Whether to provide a command line tool.                                                  |
| `enable_packagecloud`       | Whether you wish to use further libraries from packagecloud.                             |
| `packagecloud_read_token`   | Accept default value to be guided through creating one.                                  |

About

Cookiecutter template for a Python package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 66.8%
  • Shell 20.4%
  • Dockerfile 10.5%
  • Makefile 2.3%