Overview
The Python Package Boilerplate provides an excellent foundation for developing your Python packages with minimal hassle. Designed for both beginners and seasoned developers, this boilerplate streamlines the setup process, allowing you to focus on coding your application rather than getting lost in configuration details. With essential features like integrated testing and version control, it's aimed at enhancing productivity and ensuring your code quality right from the start.
Features
- Basic Structure: The boilerplate offers a well-organized structure that includes all the necessary components for a Python package, making it easy to navigate and manage.
- Requirements Handling: Package dependencies are efficiently managed using pip, simplifying the installation process and ensuring that all required packages are readily available.
- Testing with Pytest: Integrated testing capabilities using pytest allow for straightforward testing management, helping developers maintain high code quality.
- Coverage Reporting: The inclusion of the pytest-cov plugin provides valuable coverage metrics, ensuring that you can track how much of your code is tested.
- Travis CI Integration: A pre-configured .travis.yml file ensures continuous integration support, allowing tests to run automatically in different Python environments, including Python 2.7 and 3.2.
- Easy Test Execution: Running your tests is straightforward with the command
py.test in the root directory, making it accessible even for those who are new to testing.
- HTML Coverage Output: The coverage results can be reviewed in a user-friendly HTML format, offering a clear visual representation of test coverage at a glance.