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 :)

Metadata

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 Provenance
bootstrap-py-2.0.0.tar.gz 69.5 kB Without provenance 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

Security for bootstrap-py 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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