Skip to main content

Pello

Pello is an example package that will be used as a part of Fedora Python Packaging Guidelines. The only thing that this package does is printing Hello World! on the command line.

Installation

In a virtual environment, run:

$ python -m pip install pello

If you want colorized output, install the color extra:

$ python -m pip install pello[color]

Running

You can run the pello_greeting command directly:

$ pello_greeting
Hello World!

You can also run the pello Python package:

$ python -m pello
Hello World!

Or you can use the Python API:

>>> import pello
>>> pello.greeting()
Hello World!

Tests

Run tests using Tox:

$ tox

This tests several Python interpreters (if they're available). It also checks for some “code quality” issues in a separate Tox environment, lint.

Contributing to Pello

Pull requests welcome, but keep in mind that this is an example package. Please coordinate major changes on Fedora's Python SIG mailing list.

Name & History

Beginner RPM packaging guides have traditionally featured simple example programs hello (in Bash), cello (in C) and pello (in Python).

This project is not a simple script, but a full Python project with associated metadata (in pyproject.toml and setup.py). This metadata should be converted, as automatically as possible, into RPM metadata.

Thanks to the capital P, Pello differs from the normalized name pello, so we can show where each of them is needed.

Metadata

Release files for Pello 1.0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for Pello 1.0.2
File Interpreter ABI Platform
Pello-1.0.2-py3-none-any.whl Python 3 none any Details

Release files / Pello-1.0.2-py3-none-any.whl

Download URL Pello-1.0.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6ba0b08f357c29cbfd8ae39d452bfb09bbcfaf13bcf5683816e3e57103dff13
BLAKE2b-256 checksum
How to use checksums
dc7b5886e84b824873efede5985645546c64fe6698c5e84a50441483b1150a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

1.0.4

2 release files

1.0.3

2 release files

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

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