Skip to main content

Cross platform(ish) productivity commands written in python.

Project description

create-python-cmd

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
  • pyright

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file create_python_cmd-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for create_python_cmd-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e84040b28317cbe3ee5904002e6843e3f6c6887d1c3d21132a4fbf09e2aa409a
MD5 fdea32eca448d8d55a606a0ccd691c5b
BLAKE2b-256 3c1a215fa13d3026d385f4f1728883fca04a39ac2baa4916bc4f18c56e60f377

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