Skip to main content

template python project with necessary configurations

Project description

fastapi-starter

features

  1. pytest
  2. pre-commit
  3. darker for code format
  4. ruff for lint
  5. commitlint for commit message format
  6. typer for cli

使用方式

  • 初始化环境: ./scripts/setup

  • 执行测试: uv run -m pytest

  • 运行cli: uv run main.py --help

  • 运行服务: uv run main.py serve

  • 构建发布:

    1. cp .pypirc.example .pypirc
    2. replace your token in .pypirc
    3. git tag vx.y.z
    4. ./scripts/publish
  • 构建可执行文件: ./scripts/build

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

ipa_fms-0.0.1.tar.gz (132.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipa_fms-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ipa_fms-0.0.1.tar.gz.

File metadata

  • Download URL: ipa_fms-0.0.1.tar.gz
  • Upload date:
  • Size: 132.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for ipa_fms-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f2c9ef2a91dae466d77b954246955be5e93c700f1530254dbc22bf41a10eda7c
MD5 2c9ec51e0d1c20fe7ddc82dcaa71b06b
BLAKE2b-256 d47b552a13f6c37ea0c802f983e036fe58b75e0a009159f806eb9db7d6820bd1

See more details on using hashes here.

File details

Details for the file ipa_fms-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ipa_fms-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for ipa_fms-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 715f8c12b92463ad887186ccea81e4fb780a469b801551ab0d0c6d97a4694c9f
MD5 e09160671977114c26c33efd5a8b939c
BLAKE2b-256 1e23522ec10d67b3eae725ad8a8f75846e714e2a1b5ee60c86c866e761d522c4

See more details on using hashes here.

Supported by

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