Skip to main content

Python project development tool.

Project description

FastDevCli

Toolkit for python code lint/test/bump ...

Supported Python versions Package version GithubActionResult Coverage Status Mypy Coverage Ruff pdm-managed security: bandit


Source Code: https://github.com/waketzheng/fast-dev-cli

English | 中文

Requirements

Python 3.9+

Features

  • Support poetry/pdm/uv
  • Support Windows/MacOS/Linux

Installation

pip install fast-dev-cli

Will install: fast-dev-cli emoji typer ruff mypy bumpversion2 pytest coverage

Usage

  • Lint py code:
fast lint [/path/to/file-or-directory]
  • Check only
fast check
  • Bump up version in pyproject.toml
fast bump patch  # 0.1.0 -> 0.1.1
fast bump minor  # 0.1.0 -> 0.2.0
fast bump major  # 0.1.0 -> 1.0.0
fast bump <part> --commit # bump version and run `git commit`
  • Run unittest and report coverage
fast test
  • Export requirement file and install pip install -r
fast sync
  • Upgrade main/dev dependencies to latest version (only for poetry project)
fast upgrade
  • Start a fastapi server in development mode
fast dev
  • Publish to pypi
fast upload

Note: all command support the --dry option

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

fastdevcli_slim-0.17.1.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

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

fastdevcli_slim-0.17.1-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file fastdevcli_slim-0.17.1.tar.gz.

File metadata

  • Download URL: fastdevcli_slim-0.17.1.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for fastdevcli_slim-0.17.1.tar.gz
Algorithm Hash digest
SHA256 56afccc5b1a3e68a4ace19e98aa079c94bcf79dc320b5161577aa02f538c9b86
MD5 be95da34fe4d10046923a404e2e5577f
BLAKE2b-256 dd10cbde9875138dbafee2bed48fd365c8f96d43b33a82e42888a053849afa30

See more details on using hashes here.

File details

Details for the file fastdevcli_slim-0.17.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fastdevcli_slim-0.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c69ff26e794338f8a248a6754876a8f26fd27f91a5d8a87bb0b47ead21fc22
MD5 3c04718ddc9d337db21433e1868e7546
BLAKE2b-256 65e53755aef0a1d1140d059859a5bc59a7bc4d2b91d0d0c105b0a6453411da34

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