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
and set the deployment branch todocs/(root)
. - 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.2.4.tar.gz
.
File metadata
- Download URL: blankslate_python-1.2.4.tar.gz
- Upload date:
- Size: 21.4 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 | 5d477bf42df9566f3a97a52fdd6778191b3c3586dd283a67b65a64deb7af8700 |
|
MD5 | 3e07cb309ac6ae0cf655c4f3b85058d9 |
|
BLAKE2b-256 | 41c0b7667ba0f735a196d02506e4b0ae09151394c1b2307ef2d2a95f79d30f5f |
File details
Details for the file blankslate_python-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: blankslate_python-1.2.4-py3-none-any.whl
- Upload date:
- Size: 31.0 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 | 078d9ae5b20edd1cfe885129fc764bdbdf3d12d48c8a6a49b4a6aeefcc9c9789 |
|
MD5 | 0ddd9e53f598468036ebda49c512ddd1 |
|
BLAKE2b-256 | 184cfc85f793c4c4619fc65b4d0080bf81d50d070bc8e443de5befd6312330b2 |