Skip to main content

Create the file and folder structure for a Python package

Project description

Code style: black

create-python-package

Initialize a new package using best practices as described by the Python Packaging Authority (PyPA). Perfect for beginners and experts alike. Stop writing boilerplate and start coding.

Creates a battle-tested directory structure with setup.py. Also compatible with Pipenv. Generates a folder structure with a License, test directory, and more.

Overview

This package ships with one CLI entrypoint, create-python-package.

To use create-python-package:

create-python-package mypackage
cd mypackage

Installation

Python 3.6+ is required

using pip

pip install --user create-python-package

using pipx

pipx allows you to run Python binaries into isolated virtual environments

python3 -m pip install --user pipx
pipx ensurepath

You can run the latest version directly with

pipx run create-python-package

or install with

pipx install create-python-package

Credits

Inspired by create-react-app

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-package-0.2.0.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

create_python_package-0.2.0.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file create-python-package-0.2.0.0.tar.gz.

File metadata

  • Download URL: create-python-package-0.2.0.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for create-python-package-0.2.0.0.tar.gz
Algorithm Hash digest
SHA256 e4feb297d278936f5b30d350536bf9edb7f8195530f7dc9ef10c328a4c815360
MD5 7d5b866836d5d5706b6f6d062dd4eefe
BLAKE2b-256 5493d57452dcb19409c4030c93f8fc263b2355ae6bf64104fc6fb84dd7f61535

See more details on using hashes here.

File details

Details for the file create_python_package-0.2.0.0-py3-none-any.whl.

File metadata

  • Download URL: create_python_package-0.2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for create_python_package-0.2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7cc34e59d7989c2a94da50356a73e789e12a369da859795324b4e9529bf5e1a
MD5 2365fed5b0b485e919b82cf9a22d63c1
BLAKE2b-256 91ce538345e152bc1de90578ac66ed952c5d31dd2a5e71be151c7766e78f7dff

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