SayHiHello
A simple demo project that has a say_hello() function which says hello!
Building project
Prerequisites
- conda
Steps
- Create a conda environment with python installed
conda env create -f environment.yml
conda activate sayhihello
- Now use pip from the conda virtual environment to install
buildandtwine.
which pip # this should show a location from inside the activate conda environment
pip install --upgrade build
pip install --upgrade twine
build is for building our package and twine is for uploading it
- Build the project
python -m build
We should now see a dist directory created:
(sayhihello) ubaid@Mohammeds-MacBook-Pro sayhihello % ls -1 dist
sayhihello-0.0.1.1-py3-none-any.whl
sayhihello-0.0.1.1.tar.gz
- Upload the built project
twine upload dist/*
You will need to provide it an API token. API tokens can be generated by going to your PyPi account at https://pypi.org/manage/account/ and under the "API tokens" heading.
The uploaded package can be found here https://pypi.org/project/sayhihello/.
Metadata
Release files for sayhihello 0.0.1.2
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 | Actions |
|---|---|---|---|---|
| sayhihello-0.0.1.2.tar.gz | 2.9 kB | Without provenance | Details for sayhihello-0.0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sayhihello-0.0.1.2-py3-none-any.whl | Python 3 | none | any | Details for sayhihello-0.0.1.2-py3-none-any.whl |
Total release size: 5.5 kB
Release files / sayhihello-0.0.1.2.tar.gz
| Download URL | sayhihello-0.0.1.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53465802be253871268ae55eaef778c5509c04358f9c6ef3f042dafe38a858f8
|
|
BLAKE2b-256 checksum How to use checksums |
15cf986c07d0291770d561309f20679065c09d155c74e19b6fe5d8b9c92719e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / sayhihello-0.0.1.2-py3-none-any.whl
| Download URL | sayhihello-0.0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
016b01e9ce69bf4cbe2361426f794222a11a2c26e64e76c07d5551dd82c442dc
|
|
BLAKE2b-256 checksum How to use checksums |
be78d96eaea61924df2c02cc341742aaa91a392db24701e253096080f1fa3b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for sayhihello 0.0.1.2
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.