GithubHelp home page GithubHelp logo

smsearcy / cookiecutter-pypackage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from audreyfeldroy/cookiecutter-pypackage

0.0 2.0 0.0 164 KB

Cookiecutter template for a Python package.

Python 51.98% Shell 1.66% Makefile 24.16% Batchfile 22.20%

cookiecutter-pypackage's Introduction

cookiecutter-pypackage

Cookiecutter template for a Python package.

Features

Forked from https://github.com/audreyr/cookiecutter-pypackage.git with some changes to directory structure and test apparatus.

Quickstart

Generate a Python package project:

cookiecutter https://github.com/ssearcy/cookiecutter-pypackage.git

Then:

  • Create a repo and put it there.
  • Add the repo to your Travis CI account.
  • Install the dev requirements into a virtualenv. (pip install -r requirements_dev.txt)
  • Run the script travis_pypi_setup.py to encrypt your PyPI password in Travis config and activate automated deployment on PyPI when you push a new tag to master branch.
  • Add the repo to your ReadTheDocs account + turn on the ReadTheDocs service hook.
  • Release your package by pushing a new tag to master.
  • (Optional) If you feel like pinning the requirements for your package, you can add a requirements.txt that specifies packages and version numbers.

For more details, see the cookiecutter-pypackage tutorial (these are for the original cookiecutter-pypackage but should get you going in the right direction.

Prompts

An explanation of the information you will be prompted for when generating the Python package.

Templated Values

The following appear in various parts of your generated project.

full_name
Your full name.
email
Your email address.
github_username
Your GitHub username.
project_name
The name of your new Python package project. This is used in documentation, so spaces and any characters are fine here.
project_slug
The namespace of your Python package. This should be Python import-friendly. Typically, it is the slugified version of project_name.
project_short_description
A 1-sentence description of what your Python package does.
project_uri
URI for the project.
release_date
The date of the first release.
pypi_username
Your Python Package Index account username.
year
The year of the initial package copyright in the license file.
version
The starting version number of the package.

Options

The following package configuration options set up different features for your project.

use_pypi_deployment_with_travis
Whether to use PyPI deployment with Travis.

TODO

cookiecutter-pypackage's People

Contributors

ardydedase avatar arkottke avatar audreyfeldroy avatar davoclavo avatar eliasdorneles avatar esparta avatar gregmuellegger avatar jeffpaine avatar jjconti avatar jpsca avatar juanpabloaj avatar kevinastone avatar kragniz avatar krallin avatar lgiordani avatar manuphatak avatar mdorn avatar miohtama avatar mozillazg avatar oemmerson avatar pydanny avatar rgbkrk avatar smsearcy avatar solarnz avatar svisser avatar tomneyland avatar tony avatar treyhunner avatar vincentbernat avatar westurner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.