Skip to main content

Cross platform(ish) productivity commands written in python.

Project description

create-python-cmd

Linting

MacOS_Tests Ubuntu_Tests Win_Tests

This is a command for creating a skeleton project for python commands. It uses uv to boot strap the project and install an environment. Helpful utilities for installing the project are given, wee below.

Template that this uses is here:

> pip install create-python-cmd
> git clone https://github.com/.../myproject
> cd myproject
> createpythoncmd # Creates a new Python command line application.

Creates a new Python command line application with linters and tests.

Tools

The following tools will be installed

  • install - script to boot strap and install the python package
  • clean - removes build artifacts
  • lint - runs the linters on the source code
  • test - runs the unit test

Linters

The following linters are used

  • ruff
  • black
  • isort
  • mypy

Uploading your project to PYPI

To upload your project to pypi simply run . ./upload_package.sh

Versions

  • 2.0.0 - Moved to the uv build system as this is much better and fixes the boot strapping of python issue. Fixes git bash not being cd'd to the current directory in VSCode.
  • 1.2.5 - Varius fixes and test fixes.
  • 1.2.2 - Adds retries to get correct parameters and auto corrects parameters instead of exiting.
  • 1.2.0 - Refresh with new modern practices like an installation script.
  • 1.1.1 - Adds chmod +x to shell scripts and adds post install instructions.
  • 1.1.0 - createpythonapp -> createpythoncmd.
  • 1.0.9 - Adds keywords prompt during setup.

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

create-python-cmd-2.0.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

create_python_cmd-2.0.0-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file create-python-cmd-2.0.0.tar.gz.

File metadata

  • Download URL: create-python-cmd-2.0.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for create-python-cmd-2.0.0.tar.gz
Algorithm Hash digest
SHA256 42b2132323f99f972ed1795ae1ea22c6314080ac31ecc04140d372cd9bb7c328
MD5 72d04bdb0060164ce69b713ef05d87c8
BLAKE2b-256 068aa06fdc3e8324439af9705ec53092b0b596b2611f0afb24fb65dd3f484128

See more details on using hashes here.

File details

Details for the file create_python_cmd-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for create_python_cmd-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e807ed02c89222d305bd53c8ee7fdaac7a9c26fbf4a111ab7db53b5bf60e36d8
MD5 aa08272ade3459a069359953d65d9367
BLAKE2b-256 e7354506627595f936265322056d06d7f81a9ad196ff669eb709cc10e38fc34c

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