Skip to main content

A blank slate for Python projects

Project description

Blankslate

Continuous Integration (CI) Tests

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. Ensure VERSION_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 to docs/(root).
  • TODO to GitHub Issues: Converts # TODO comments in your Python code into GitHub issues. Configure this in Settings -> 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blankslate_python-1.3.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

blankslate_python-1.3.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file blankslate_python-1.3.0.tar.gz.

File metadata

  • Download URL: blankslate_python-1.3.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10

File hashes

Hashes for blankslate_python-1.3.0.tar.gz
Algorithm Hash digest
SHA256 eda132f08ebec236b98f1c852bbf10dd09e921f78b021a96901554e2a55d3458
MD5 4a7c70f7e2b9621da693929542feeeee
BLAKE2b-256 6215c2c1bb660953860db0365aaaab8ca2d14bc0cc7b84600e7bfcd237e3621a

See more details on using hashes here.

File details

Details for the file blankslate_python-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for blankslate_python-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc0bda512f771afdda7d13260695debfe094fa034c6aff5d6ac9cd29e05b3029
MD5 acafb508f94313ee76042279443c000f
BLAKE2b-256 7185e364ed27ea9c56f7af4fd9ed8d4f534d08c8ec9f1a245a15f262fc396d55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page