Skip to main content

Bootstrap Python Package

The bootstrap-py provides generating the Python packages.

Status

https://github.com/mkouhei/bootstrap-py/actions/workflows/ci.yml/badge.svg https://coveralls.io/repos/mkouhei/bootstrap-py/badge.png?branch=master https://img.shields.io/pypi/v/bootstrap-py.svg Documentation Status

Requirements

  • Python 3.9 over

Features

  • Generating Python package.

  • Checking Python package name existence at PyPI.

  • Test and conde checking environment is configured with the Tox, Pytest, and others.

  • Generating documentation automatically with the Sphinx.

  • Configuration Git repository, initial commit.

  • Generate sample code using --with-samples option.

Usage

Install bootstrap-py

Install bootstrap-py:

$ python -m venv .venv
$ python -m pip install bootstrap-py

Generate Python package

Generate your Python package.:

$ .venv/bin/bootstrap-py create -a 'Your author name' -e 'your-author-email@example.org' \
-u 'https://your-package-website.example.org' -o '/path/to/package-dir' \
-l 'select-the-license' 'your-package-name'
$ ls -a package-dir
.  ..  .coveragerc  .git  .github  .gitignore  MANIFEST.in  README.rst  docs  pyproject.toml  src  tox.ini  utils

List license choices

List license description choices.:

$ .venv/bin/bootstrap-py list -l
GPL        : GNU General Public License (GPL)
CPL        : Common Public License
IOSL       : Intel Open Source License
GPLv3+     : GNU General Public License v3 or later (GPLv3+)
(omit)

Using tox

Running test with tox:

$ pip install --user tox
$ tox
(omit)
_______________________________________ summary ______________________________________
py311: commands succeeded
flake8: commands succeeded
pycodetyle: commands succeeded
pydocstyle: commands succeeded
docs: commands succeeded
congratulations :)

Release files for bootstrap-py 2.0.0

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

Source distribution (sdist)

Source distribution for bootstrap-py 2.0.0
File Size Uploaded
bootstrap-py-2.0.0.tar.gz 69.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bootstrap-py 2.0.0
File Interpreter ABI Platform
bootstrap_py-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 125.1 kB

Release files / bootstrap-py-2.0.0.tar.gz

Download URL bootstrap-py-2.0.0.tar.gz
Size 69.5 kB
Tags Source
SHA-256 checksum
How to use checksums
365a2efc49b362f4234e4909622c3f5e31bb4f839c8973b9ffd0ce56267594d1
BLAKE2b-256 checksum
How to use checksums
68ac0c490b3cd2bc03303f0bb257dcaec8cf1a7adfed2681f89e3b3502bb79f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / bootstrap_py-2.0.0-py3-none-any.whl

Download URL bootstrap_py-2.0.0-py3-none-any.whl
Size 55.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b591f78e8833641a171800bb020989e09c5a1a34d8c963db77e46a1b3f81221d
BLAKE2b-256 checksum
How to use checksums
6a037c1900c166f7a004ff9d0326dbde1dc44da4f19383bd0029543a8c0d9039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.8.2

2 release files

0.8.0

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.8

1 release file

0.4.7

1 release file

0.4.6

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

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