Skip to main content

Python project development tool.

Project description

FastDevCli

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

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


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

English | 中文

Requirements

Python 3.10+

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.11.1.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

fastdevcli_slim-0.11.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastdevcli_slim-0.11.1.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fastdevcli_slim-0.11.1.tar.gz
Algorithm Hash digest
SHA256 892316ca6adfb55f7d87a16f218c75a19a8aad607741bcc45801b03c22a051df
MD5 40ff383078ea4895d7ed97feafe657a0
BLAKE2b-256 1fd2d93c21ae5716039b98390a975556b4e58af2f9536a7bb46d33e4a731fdf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastdevcli_slim-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c3395fcb46890e9b738fcb8b93205583e8fec7ff29b171346e7b959a561c4d3
MD5 190a4fc9e6e3c22df6866df685646272
BLAKE2b-256 482164785dd1fccc14b5cbaea6b86f65512fa0f2347251620cd0b0e2977f0145

See more details on using hashes here.

Supported by

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