Skip to main content

python_boilerplate

Python Boilerplate (python_boilerplate)

Daily CI Build Documentation

This is a test repo.

Documentation

For more detailed instructions, see our documentation.

Installation

To install python_boilerplate (indexed online as bryn_python_boilerplate), we recommend using the mamba package manager:

As a user

mamba create -n python_boilerplate -c conda-forge -c brynpickering bryn_python_boilerplate
mamba activate python_boilerplate

As a developer

git clone git@github.com:brynpickering/python_boilerplate.git
cd python_boilerplate
mamba create -n python_boilerplate -c conda-forge --file requirements/base.txt --file requirements/dev.txt
mamba activate python_boilerplate
pip install --no-deps -e .

For more detailed instructions, see our documentation.

Contributing

There are many ways to contribute to python_boilerplate. Before making contributions to the python_boilerplate source code, see our contribution guidelines and follow the development install instructions.

If you plan to make changes to the code then please make regular use of the following tools to verify the codebase while you work:

  • pre-commit: run pre-commit install in your command line to load inbuilt checks that will run every time you commit your changes. The checks are: 1. check no large files have been staged, 2. lint python files for major errors, 3. format python files to conform with the pep8 standard. You can also run these checks yourself at any time to ensure staged changes are clean by simple calling pre-commit.
  • pytest - run the unit test suite and check test coverage.
  • pytest -p memray -m "high_mem" --no-cov (not available on Windows) - after installing memray (mamba install memray pytest-memray), test that memory and time performance does not exceed benchmarks.

For more information, see our documentation.

Building the documentation

If you are unable to access the online documentation, you can build the documentation locally. First, install a development environment of python_boilerplate, then deploy the documentation using mike:

mike deploy develop
mike serve

Then you can view the documentation in a browser at http://localhost:8000/.

Credits

This package was created with Cookiecutter and the arup-group/cookiecutter-pypackage project template.

Metadata

Release files for bryn-python-boilerplate 0.1.4

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

Source distribution (sdist)

Source distribution for bryn-python-boilerplate 0.1.4
File Size Uploaded Provenance Actions
bryn_python_boilerplate-0.1.4.tar.gz 6.3 kB Without provenance Details for bryn_python_boilerplate-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bryn-python-boilerplate 0.1.4
File Interpreter ABI Platform Actions
bryn_python_boilerplate-0.1.4-py3-none-any.whl Python 3 none any Details for bryn_python_boilerplate-0.1.4-py3-none-any.whl

Total release size: 11.2 kB

Release files / bryn_python_boilerplate-0.1.4.tar.gz

Download URL bryn_python_boilerplate-0.1.4.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
05b6d72a942feaf29c7d1b7ceac3c9191eeb99031e301f8cdbbf09f44628802d
BLAKE2b-256 checksum
How to use checksums
0e1f359cdb161986416aabac44573db5d203d490e7da182a89624cea04e32299
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / bryn_python_boilerplate-0.1.4-py3-none-any.whl

Download URL bryn_python_boilerplate-0.1.4-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d63d4ffc2645b339503b715a2b2b3a2b5dfd4fb6361a078fbd34377de215bc09
BLAKE2b-256 checksum
How to use checksums
b11d2bb2481f73bf48efd08c0094295b743371304f61f36f2fc06c482084c805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Security for bryn-python-boilerplate 0.1.4

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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

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