A blank slate for Python projects
Project description
Blankslate
Blankslate automates the creation of Python projects, ensuring that every detail adheres to the best practices of Python development. It leverages GitHub Actions, NumPy docstrings, and a well-organised directory structure to deliver a ready-to-deploy project scaffold.
Installation
To install Blankslate, simply run:
pip install blankslate-python
Getting Started
After installation, you can create a new project by executing:
blankslate-python
Follow the prompts to specify your project details. Blankslate will create the project in your designated directory. You can then push this project to GitHub and start programming in the source/PROJECT_NAME/
directory.
Features
- Automatic Project Structure Creation: Sets up a GitHub-ready Python project with best practices.
- Semantic Versioning: Use the script
./scripts/release.sh VERSION_NUMBER
to auto-version and generate a changelog. EnsureVERSION_NUMBER
follows semantic versioning. Note that this will automatically build and publish the project to PyPi, too. - Commit Style: Commits should follow the Angular commit style.
- Documentation: Automatically generates and pushes documentation to GitHub pages. Make sure your GitHub repository is configured under
Settings -> Pages
. - TODO to GitHub Issues: Converts
# TODO
comments in your Python code into GitHub issues. Configure this inSettings -> Actions (General) -> Workflow permissions
and enable "Read and write permissions".
Extensions
Enhance your Blankslate experience with the Blankslate Extension Pack for VS Code.
Contributing
Contributions are welcome! Please refer to our CONTRIBUTING.md
for more information.
License
This project is licensed under the MIT License - see the LICENSE.md
file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file blankslate_python-1.1.3.tar.gz
.
File metadata
- Download URL: blankslate_python-1.1.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cc9342aaeda89901e6b1d7e22c6aef6589b487f185942d1835a9b9274b95edf |
|
MD5 | 654440777650945879d364f913afc2aa |
|
BLAKE2b-256 | 10af334efcc2c01cc0da811cea8769f5668a2b5bee46e9cad6f4db3ffb0a4d4c |
File details
Details for the file blankslate_python-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: blankslate_python-1.1.3-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db456eb38b6c43cbceaafd44a8c643c2fe4cb0e8fe081259f23ce533c15104a6 |
|
MD5 | 21cb757f712d9f585fe2060a955e218c |
|
BLAKE2b-256 | 65bb2bcf70510f5471116d8a31dae4fe713a0555b884aa02734a362d065a5dd1 |