Skip to main content

A beginner-friendly Python package that prints Hello Everyone.

Project description

hello_everyone_lib

A very small beginner-friendly Python package.

When installed, it lets users write:

from hello_everyone import hello

hello()

Expected output:

Hello Everyone

Installation

After this package is published to PyPI, users can install it with:

pip install hello_everyone_lib

Usage

from hello_everyone import hello

hello()

Expected output:

Hello Everyone

Development

Create and activate a virtual environment:

python -m venv .venv
source .venv/bin/activate

On Windows PowerShell:

python -m venv .venv
.\.venv\Scripts\Activate.ps1

Install build tools:

pip install build twine

Build the package:

python -m build

Upload to PyPI:

python -m twine upload dist/*

Updating The Package Later

  1. Edit the code.
  2. Update the version in pyproject.toml.
  3. Rebuild the package with python -m build.
  4. Upload the new build with python -m twine upload dist/*.

PyPI does not allow uploading the same version twice, so every release needs a new version number.

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

hello_everyone_lib-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

hello_everyone_lib-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file hello_everyone_lib-0.1.0.tar.gz.

File metadata

  • Download URL: hello_everyone_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for hello_everyone_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b53f1c4358161474adef0408ee40f5fef6b39ce1fa395601c922824212196b8
MD5 b2de8361d015a248cef271a790435895
BLAKE2b-256 43d44d801a14808d97eef402e0166713fae0e7ecf069894bf254ca6a2eb90a5b

See more details on using hashes here.

File details

Details for the file hello_everyone_lib-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_everyone_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b7d2d9c66061c09271689f009833cfd23793945ee24ddf028c62f37e6ba103c
MD5 4a29f928bfca9b3eb0a869f41757b2dc
BLAKE2b-256 d68c1cb7274218e8cf739d729c7786482a9e3f9d47134bba288c2b1c6c21cd98

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