Skip to content

fernandojunior/python-boilerplate-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-boilerplate-module

building

Boilerplate to create a project with a Python module. More information at @fernandojunior/python-boilerplate.

>>> import module_name
>>> from module_name import hello_world
>>> print(hello_world)
Hello World

Features

  • coverage.py - Code coverage measurement.
  • Flake8 - The modular source code checker: pep8, pyflakes and co.
  • pytest - A mature full-featured Python testing tool.
  • setuptools - Easily download, build, install, upgrade, and uninstall distribution packages.
  • tox - Auto builds and tests distributions in multiple Python versions using virtualenvs.

Structure

├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── MANIFEST.in
├── module_name.py  # The core code of the project
├── README.md
├── requirements
│   ├── dev.txt
│   └── prod.txt
├── requirements.txt
├── setup.cfg
├── setup.py
├── tests.py
└── tox.ini

More datails here.

Keywords

  • author_name - Full name of the author.
  • github_username - GitHub username.
  • module_name - Name of the module using PEP8 style.
  • project_name - Short name of your project using slug style.

You can use your preferred text editor or IDE to find the keywords. In Sublime and Atom this is done by Ctrl + Shift + F.

Contributing

See CONTRIBUTING.

License

CC0

The MIT License.

Copyright (c) 2016 Fernando Felix do Nascimento Junior.

About

Boilerplate to create a project with a Python module

Resources

License

Stars

Watchers

Forks

Packages

No packages published