dev
Dev tools CLI for performing common development tasks.
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
gitto 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
distdirectory 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.pyentry 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
unittestdiscovery 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 uninstalland cleaning up related metadata. It ensures the package and its build info are fully removed.
dev unused
- This command runs
pylinton changed Python files to check for unused imports. It also can filter the files based on input options and report any issues found.
dev env
- This command executes a given shell command with all configuration variables exported as environment variables. It simplifies running tools or scripts that depend on settings defined in the
dev.yamlfile.
Release files for dev-star 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dev_star-1.4.0.tar.gz | 38.6 kB | Details |
Release files / dev_star-1.4.0.tar.gz
| Download URL | dev_star-1.4.0.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddf841c4aa9a9331556fb35c312872bca5e7526f88f70068d7863dfa32a60709
|
|
BLAKE2b-256 checksum How to use checksums |
155d3d5e3d34c8bca1ae4703eb433e227ab9bb6093b61b6d9888f9c127ae7260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|