https://github.com/ackness/my-python-boilerplate
https://github.com/ackness/my-python-boilerplate
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ackness/my-python-boilerplate
- Owner: ackness
- Created: 2024-10-31T06:39:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T07:01:10.000Z (over 1 year ago)
- Last Synced: 2025-06-16T19:08:54.040Z (12 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Python Boilerplate
## package manager
```bash
curl -sSf https://rye.astral.sh/get | bash
rye sync
rye sync --update-all
rye add package-name
```
## test
```bash
rye run tests
```
## reformat
```bash
rye fmt
```
## precommit check
```bash
git add .
pre-commit
```
## build docker
```bash
# not `rye init --virtual`
rye build --wheel --clean
docker build . --tag your-image-name
```