Skip to main content

This is a test of the Python Project Bootstrapper.

Project description

PythonProjectBootstrapperTest20240403

CI Code Coverage License GitHub commit activity PyPI - Python Version PyPI - Version PyPI - Downloads

PythonProjectBootstrapperTest20240403

This is a test of the Python Project Bootstrapper.

Overview

TODO: Complete this section

How to use PythonProjectBootstrapperTest20240403

TODO: Complete this section

Installation via Executable

Download an executable for Linux, MacOS, or Windows to use the functionality provided by this repository without a dependency on Python.

  1. Download the archive for the latest release here; the files will begin with exe. and contain the name of your operating system.
  2. Decompress the archive

Installation via pip

Install the PythonProjectBootstrapperTest20240403 package via pip (Package Installer for Python) to use it with your python code.

pip install PythonProjectBootstrapperTest20240403

Local Development

Follow these steps to prepare the repository for local development activities.

  1. Clone this repository

  2. Bootstrap the local repository by running...

    Operating System Command
    Linux / MacOS

    Standard:
    Bootstrap.sh

    Standard + packaging:
    Bootstrap.sh --package

    Windows

    Standard:
    Bootstrap.cmd

    Standard + packaging:
    Bootstrap.cmd --package

  3. Activate the development environment by running...

    Operating System Command
    Linux / MacOS . ./Activate.sh
    Windows Activate.cmd
  4. Invoke Build.py

    Command Description Example Notes
    black Validates that the source code is formatted by black.

    Validation:
    python Build.py black

    Perform formatting:
    python Build.py black --format

    pylint Validates the source code using pylint. python Build.py pylint
    pytest Runs automated tests using pytest.

    Without Code Coverage:
    python Build.py pytest

    With Code Coverage:
    python Build.py pytest --code-coverage

    update_version Updates the semantic version of the package based on git commits using AutoGitSemVer. python Build.py update_version
    package Creates a Python wheel package for distribution; outputs to the /dist directory. python Build.py package Requires --package when bootstrapping in step #2.
    publish Publishes a Python wheel package to PyPi.

    https://test.pypi.org:
    python Build.py publish

    https://pypi.org:
    python Build.py publish --production

    Requires --package when bootstrapping in step #2.
    build_binary Builds an executable for your package that can be run on machines without a python installation; outputs to the /build directory. python Build.py build_binary Requires --package when bootstrapping in step #2.
    create_docker_image Creates a Docker image based on the current development environment. This supports the "Reusable" aspect of FAIR principles by creating a snapshot of the repository and all of its dependencies as they exist in a single moment in time. python Build.py create_docker_image Requires docker.
  5. [Optional] Deactivate the development environment by running...

    Operating System Command
    Linux / MacOS . ./Deactivate.sh
    Windows Deactivate.cmd

License

PythonProjectBootstrapperTest20240403 is licensed under the MIT license.

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.

File details

Details for the file PythonProjectBootstrapperTest20240403-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PythonProjectBootstrapperTest20240403-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f6e37a8cc0357c3141041a69ac0a901867754dbada09cab2272792ea9dc8f25
MD5 a97b14210af1bc3e5c3ff6f7ddd79610
BLAKE2b-256 ba22754126a9a533228f084877b283d4ed01d0e933f88f36490c5cad56797172

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