Skip to main content

A simple python say hi project

Project description

SayHiHello

A simple demo project that has a say_hello() function which says hello!

Building project

Prerequisites

  • conda

Steps

  1. Create a conda environment with python installed
conda env create -f environment.yml
conda activate sayhihello
  1. Now use pip from the conda virtual environment to install build and twine.
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

  1. 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
  1. 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/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sayhihello-0.0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sayhihello-0.0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file sayhihello-0.0.1.2.tar.gz.

File metadata

  • Download URL: sayhihello-0.0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for sayhihello-0.0.1.2.tar.gz
Algorithm Hash digest
SHA256 53465802be253871268ae55eaef778c5509c04358f9c6ef3f042dafe38a858f8
MD5 7408818f4a42fc6b1ab7200c90d8a73a
BLAKE2b-256 15cf986c07d0291770d561309f20679065c09d155c74e19b6fe5d8b9c92719e3

See more details on using hashes here.

File details

Details for the file sayhihello-0.0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sayhihello-0.0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for sayhihello-0.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 016b01e9ce69bf4cbe2361426f794222a11a2c26e64e76c07d5551dd82c442dc
MD5 98cdcc44135a3345dbc7ce20cdd61770
BLAKE2b-256 be78d96eaea61924df2c02cc341742aaa91a392db24701e253096080f1fa3b79

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