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+

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

fast_dev_cli-0.11.5.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

fast_dev_cli-0.11.5-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file fast_dev_cli-0.11.5.tar.gz.

File metadata

  • Download URL: fast_dev_cli-0.11.5.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for fast_dev_cli-0.11.5.tar.gz
Algorithm Hash digest
SHA256 07f20bc3ef5c1babbc5ee67c0a3c9cc42ddbc88703842fb9983326e6eb0f9a13
MD5 3ec7d2d642d83fa95cd013d17567b7ce
BLAKE2b-256 45c45d6e858acbbefbf4e09857c4d78d75780c2fa4854b01c0adf331fd159c2f

See more details on using hashes here.

File details

Details for the file fast_dev_cli-0.11.5-py3-none-any.whl.

File metadata

  • Download URL: fast_dev_cli-0.11.5-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for fast_dev_cli-0.11.5-py3-none-any.whl
Algorithm Hash digest
SHA256 533731db0503bbb0e298144855ff051a45d1d623afe0c7c92b85eaba5270f84c
MD5 24e1d5a00848ed3c014be396de72bbb3
BLAKE2b-256 3cb77303d4a743975bc633b224e5cd6b365471e095fd4f537e7d0a8555bc7605

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