Skip to main content

Dev tools CLI for performing common development tasks.

Project description

dev

Dev tools CLI for performing common development tasks.

PyPI Apache Build

Commands

dev build

  • This command handles building and validating a Python package. It ensures a clean environment, creates the package, and verifies its integrity.

dev chain

  • This command runs a series of code quality and documentation checks. It returns the highest status code among them, indicating the most severe result.

dev clean

  • This command removes Python cache files and __pycache__ directories to clean the project. It ensures a fresh state for the codebase.

dev count

  • This command counts lines of code in a project, optionally grouped by author, excluding tests, or showing detailed output. It can operate across all files or use git to break down contributions by individual authors.

dev doc

  • This command generates docstrings for all functions and validates them to ensure they match the function signatures. It also checks that all functions are properly type-annotated.

dev install

  • This command installs the Python package locally by executing the setup script. It makes the package available in the current environment for development and testing.

dev lint

  • This command runs linters on modified files by default, with the option to lint all files or specific paths. It supports multiple languages including Python, JavaScript, and TypeScript.

dev publish

  • This command publishes the built package in the dist directory to PyPI using Twine. It assumes the distribution artifacts have already been built.

dev run

  • This command runs the Python program defined at the main.py entry point. It acts as a convenient shortcut for launching the application.

dev spell

  • This command checks spelling across project files. It helps maintain consistency and catch common typos in code, comments, and documentation.

dev time

  • This command measures how long a command takes to run, repeating it multiple times and reporting the fastest execution time. It's useful for benchmarking performance of shell commands.

dev test

  • This command runs unit tests in a Python project. It can either use Python's unittest discovery or manually execute test files in parallel, optionally filtering them. It reports results, tracks failures, and summarizes execution time.

dev uninstall

  • This command uninstalls a Python package by reading its setup file to determine the package name, then running pip uninstall and cleaning up related metadata. It ensures the package and its build info are fully removed.

dev unused

  • This command runs pylint on changed Python files to check for unused imports. It also can filter the files based on input options and report any issues found.

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

dev-star-1.3.0.tar.gz (26.7 kB view details)

Uploaded Source

File details

Details for the file dev-star-1.3.0.tar.gz.

File metadata

  • Download URL: dev-star-1.3.0.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for dev-star-1.3.0.tar.gz
Algorithm Hash digest
SHA256 fc5d62dd8350b11bf501bef84b6046effd85e9e0d896cef74f0c6562fa24ad41
MD5 284195b28dca59ec5c5a3877fd0e752c
BLAKE2b-256 3768042b9a12e2ca3b90f05bd1f8e973bda2523870150117b4be651a1fbc2f7d

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