Skip to main content

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.

Metadata

Release files for create-python-cmd 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for create-python-cmd 2.0.2
File Interpreter ABI Platform
create_python_cmd-2.0.2-py3-none-any.whl Python 3 none any Details

Release files / create_python_cmd-2.0.2-py3-none-any.whl

Download URL create_python_cmd-2.0.2-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e84040b28317cbe3ee5904002e6843e3f6c6887d1c3d21132a4fbf09e2aa409a
BLAKE2b-256 checksum
How to use checksums
3c1a215fa13d3026d385f4f1728883fca04a39ac2baa4916bc4f18c56e60f377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

2.0.2 This release

1 release file

2.0.1

1 release file

2.0.0

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page