An open API service indexing awesome lists of open source software.

https://github.com/ackness/my-python-boilerplate


https://github.com/ackness/my-python-boilerplate

Last synced: 4 months ago
JSON representation

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
```