Skip to main content

proj bootstrap testing

Project description

PythonProjectBootstrapperTest

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

PythonProjectBootstrapperTest

proj bootstrap testing

Overview

TODO: Complete this section

How to use PythonProjectBootstrapperTest

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 PyProjTestBootstrp1 package via pip (Package Installer for Python) to use it with your python code.

pip install PyProjTestBootstrp1

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

PythonProjectBootstrapperTest 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.

PyProjTestBootstrp1-0.1.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file PyProjTestBootstrp1-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for PyProjTestBootstrp1-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab1a3393e39039fe3e2151e069eff6a10b9f8f6e232fd44f835140650dc5037
MD5 bb94128d3b271ecf1b1217e38f75b851
BLAKE2b-256 1676f871e9bcf4685be63ae4bdf3882e8a410eb5a1d52632f77e13a53073bc84

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