Basic Repo Template
This is a basic template repository for a python project.
Change the package_name in: pyproject.toml to the name of your package (doing a search and replace for the default string mprib_tools being careful to check folder and file names) NOTE - This is pretty clunky and will be automated via a cookiecutter template "soon."
You'll also want to change the name, email etc in pyproject.toml and {repository_name}.__init__.py to your own details.
Publishing to PyPi (to make it pip installable)
NOTE - These instructions haven't been tested yet, this is placeholder text (written 2023-01-19)
You'll need to create a PyPi account and then create an API token for the Github Action configured in the file: .github/workflows/publish_to_pypi_when_new_tag_is_pushed_to_main.yml
These instructions may help you set that up! https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
Basic Setup
Clone the repo
Create a venv with:
python -m venv .venv
Make sure that .venv is active
From within the repo (which will have a subfolder named after the package), build the local wheel of the package:
python -m pip install -e .
This is a small change to test autopublish.
Metadata
Release files for mprib-tools 2023.1.1008
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mprib_tools-2023.1.1008.tar.gz | 6.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mprib_tools-2023.1.1008-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / mprib_tools-2023.1.1008.tar.gz
| Download URL | mprib_tools-2023.1.1008.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe8641f2de70c2517f79962d88bc427d7709db476cfe5c655ac98d1563c4296e
|
|
BLAKE2b-256 checksum How to use checksums |
576dea2882bd48cf2dbc22b9fddcd189a331edd6f3c25e8c1d2a0208b4f26c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / mprib_tools-2023.1.1008-py3-none-any.whl
| Download URL | mprib_tools-2023.1.1008-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2722dc48066cb7bd22f2923d34a0d2c7ad1706dd2e04aa68d1d655011015d4a6
|
|
BLAKE2b-256 checksum How to use checksums |
909314dca8b027ed4d69a0519f5e81dc6d8d149b8854625f650a38ceafa2bf39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Security for mprib-tools 2023.1.1008
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.