/python-repo-template

Primary LanguagePythonMIT LicenseMIT

Python Repository Template

Python repository template with Travis CI, Conda environment, .gitigone, Flake8 and PR template

You could simply clone this repository and start your project.

Installation

  1. Install miniconda/anaconda, a package for package/environment management
wget repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
  1. Build conda environment from file
conda env create -f environment.yaml
  1. Activate the environment
source activate <environemnt name>

Repository Structure

├── .flake8                 Syntax and style settings for Flake8
├── .gitignore              Filenames in this file would be ignored by Git
├── .travis.yml             For Travis CI configuration
├── environment.yaml        For Conda environment
├── README.md
├── LICENSE                 LICENSE file (MIT license here)
├── .github/                For the PR template
├── tests/                  For tests
├── lib/                    For third-party libraries
└── src/                    For source code

License

MIT

Authors

Ya-Liang Chang (Allen) amjltc295