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_NUMBERto auto-version and generate a changelog. EnsureVERSION_NUMBERfollows 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 -> Pagesand set the deployment branch todocs/(root). - TODO to GitHub Issues: Converts
# TODOcomments in your Python code into GitHub issues. Configure this inSettings -> Actions (General) -> Workflow permissionsand 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blankslate_python-1.3.5.tar.gz.
File metadata
- Download URL: blankslate_python-1.3.5.tar.gz
- Upload date:
- Size: 21.8 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 |
699071762347b57dfe80b7155a2799a4c822ede601d51a241dfc89e5c97a0863
|
|
| MD5 |
c117cfc46684c32e5646de4dae68fa20
|
|
| BLAKE2b-256 |
224e6a8bc8a82ef3d15e832cbb1acab4ae794df7126d79a2680a32c9a906f6f4
|
File details
Details for the file blankslate_python-1.3.5-py3-none-any.whl.
File metadata
- Download URL: blankslate_python-1.3.5-py3-none-any.whl
- Upload date:
- Size: 31.8 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 |
24cf7c15070e57dca0572478eca9ba6c09a33a380b5721178f16d4f00e62a449
|
|
| MD5 |
cd2b156bdfb293d653cab265f2d87885
|
|
| BLAKE2b-256 |
d31bec6aa9741035ec2e688a9261fa4f09ac8ce0335ca30183b40305e3064b3f
|