https://github.com/litestar-org/project-template
Template repository for packages belonging to the Litestar Organization
https://github.com/litestar-org/project-template
litestar litestar-api litestar-framework litestar-meta litestar-template starlite starlite-api starlite-framework starlite-template
Last synced: 8 months ago
JSON representation
Template repository for packages belonging to the Litestar Organization
- Host: GitHub
- URL: https://github.com/litestar-org/project-template
- Owner: litestar-org
- License: mit
- Created: 2022-09-06T18:42:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T08:06:18.000Z (about 2 years ago)
- Last Synced: 2025-03-24T23:51:24.909Z (about 1 year ago)
- Topics: litestar, litestar-api, litestar-framework, litestar-meta, litestar-template, starlite, starlite-api, starlite-framework, starlite-template
- Language: Python
- Homepage: https://litestar.dev
- Size: 577 KB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
| Project | | Status |
| --------- | :-- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CI/CD | | [](https://github.com/litestar-org/litestar/actions/workflows/publish.yaml) [](https://github.com/litestar-org/litestar/actions/workflows/ci.yaml) [](https://github.com/litestar-org/litestar/actions/workflows/docs.yaml) |
| Quality | | [](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) [](https://sonarcloud.io/summary/new_code?id=litestar-org_litestar) |
| Package | | [](https://badge.fury.io/py/litestar)    |
| Community | | [](https://reddit.com/r/litestarapi) [](https://discord.gg/X3FJqy8d2j) [](https://matrix.to/#/#litestar:matrix.org) [](https://twitter.com/LitestarAPI) [](https://blog.litestar.dev) |
| Meta | | [](https://github.com/litestar-org/litestar) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/litestar-org) [](https://github.com/astral-sh/ruff) [](https://github.com/psf/black) [](#contributors-) |
# project-template
Template repository for packages belonging to [@litestar-org](https://github.com/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
- The version should follow [semantic versioning](https://semver.org/) and [PEP 440](https://www.python.org/dev/peps/pep-0440/).
- 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