Skip to content

litestar-org/project-template

Repository files navigation

Litestar Logo - Light Litestar Logo - Dark

Project Status
CI/CD Latest Release ci Documentation Building
Quality Coverage Quality Gate Status Maintainability Rating Reliability Rating Security Rating
Package PyPI - Version PyPI - Support Python Versions Starlite PyPI - Downloads Litestar PyPI - Downloads
Community Reddit Discord Matrix Twitter Blog
Meta Litestar Project types - Mypy License - MIT Litestar Sponsors linting - Ruff code style - Black All Contributors

project-template

Template repository for packages belonging to @litestar-org organization.

Usage:

  • Pick this template in GitHub.
  • If you don't want to use the src folder, rename it and replace all references to src with the new target folder.
  • Run pre-commit install && pre-commit autoupdate
  • Update pyproject.toml with your dependencies and run pdm update to create a lock file.
  • Update the project description, keywords, author, maintainers etc. in pyproject.toml

Docs

Important

TODO

Sonar

  • Import the repository into sonarcloud and update the sonar properties file to use the correct project key.

Release

  • Increment the version in pyproject.toml according to the versioning scheme
  • Draft a new release on GitHub
    • Use vMAJOR.MINOR.PATCH (e.g. v1.2.3) as both the tag and release title
    • Fill in the release description. You can use the "Generate release notes" function to get a draft for this
  • Commit your changes and push to main
  • Publish the release
  • Go to Actions and approve the release workflow
  • Check that the workflow runs successfully