All Projects → mtchavez → python-package-boilerplate

mtchavez / python-package-boilerplate

Licence: MIT license
Boilerplate for a Python Package

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to python-package-boilerplate

cookiecutter-pypackage-pythonic
Pythonic cookiecutter template for a Python package. See https://github.com/audreyr/cookiecutter.
Stars: ✭ 29 (-61.33%)
Mutual labels:  python-package
SiEPIC Photonics Package
A Python (v3.6.5) package that provides a set of basic functions commonly used in integrated photonics.
Stars: ✭ 22 (-70.67%)
Mutual labels:  python-package
T-Reqs
T-Reqs is a multi-language requirements file generator which also serves the purpose of preparing a template Dockerfile for working with Docker applications.
Stars: ✭ 18 (-76%)
Mutual labels:  python-package
rom-operator-inference-Python3
Operator Inference for data-driven, non-intrusive model reduction of dynamical systems.
Stars: ✭ 31 (-58.67%)
Mutual labels:  python-package
aotools
A useful set of tools for Adaptive Optics in Python
Stars: ✭ 60 (-20%)
Mutual labels:  python-package
geonamescache
geonamescache - a Python library for quick access to a subset of GeoNames data.
Stars: ✭ 76 (+1.33%)
Mutual labels:  python-package
python-package-template
Easy to use template for great PyPi packages
Stars: ✭ 19 (-74.67%)
Mutual labels:  python-package
pyGinit
A simple github automation cli
Stars: ✭ 15 (-80%)
Mutual labels:  python-package
gitea-auto-update
A script which can update gitea via crontab automatically to a new version.
Stars: ✭ 25 (-66.67%)
Mutual labels:  python-package
teanaps
자연어 처리와 텍스트 분석을 위한 오픈소스 파이썬 라이브러리 입니다.
Stars: ✭ 91 (+21.33%)
Mutual labels:  python-package
Playlist-Length
A simple command line tool to get length of all the video and/or audio files in a directory and its sub-directories recursively
Stars: ✭ 29 (-61.33%)
Mutual labels:  python-package
logya
Logya is a static site generator written in Python designed to be easy to use and flexible.
Stars: ✭ 16 (-78.67%)
Mutual labels:  python-package
cuba-weather-python
Application programming interface of the Cuba Weather project implemented in Python
Stars: ✭ 17 (-77.33%)
Mutual labels:  python-package
cpython
Alternative StdLib for Nim for Python targets, hijacks Python StdLib for Nim
Stars: ✭ 75 (+0%)
Mutual labels:  python-package
multi-imbalance
Python package for tackling multi-class imbalance problems. http://www.cs.put.poznan.pl/mlango/publications/multiimbalance/
Stars: ✭ 66 (-12%)
Mutual labels:  python-package
aws-lambda-decorators
A set of Python decorators to simplify AWS lambda development
Stars: ✭ 19 (-74.67%)
Mutual labels:  python-package
lnurl
LNURL implementation for Python.
Stars: ✭ 51 (-32%)
Mutual labels:  python-package
coba
Contextual bandit benchmarking
Stars: ✭ 29 (-61.33%)
Mutual labels:  python-package
partial dependence
Python package to visualize and cluster partial dependence.
Stars: ✭ 23 (-69.33%)
Mutual labels:  python-package
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (-72%)
Mutual labels:  python-package

python-package-boilerplate

Build Status Requires.io

Boilerplate for a Python Package

Package

Basic structure of package is

├── README.md
├── packagename
│   ├── __init__.py
│   ├── packagename.py
│   └── version.py
├── pytest.ini
├── requirements.txt
├── setup.py
└── tests
    ├── __init__.py
    ├── helpers
    │   ├── __init__.py
    │   └── my_helper.py
    ├── tests_helper.py
    └── unit
        ├── __init__.py
        ├── test_example.py
        └── test_version.py

Requirements

Package requirements are handled using pip. To install them do

pip install -r requirements.txt

Tests

Testing is set up using pytest and coverage is handled with the pytest-cov plugin.

Run your tests with py.test in the root directory.

Coverage is ran by default and is set in the pytest.ini file. To see an html output of coverage open htmlcov/index.html after running the tests.

Travis CI

There is a .travis.yml file that is set up to run your tests for python 2.7 and python 3.2, should you choose to use it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].