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.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Pello-1.0.4.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Pello-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / Pello-1.0.4.tar.gz
| Download URL | Pello-1.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
298e2ceb8189769fc36927b511e5bc43478ff959ba3c000f8c1c89171cbbaea5
|
|
BLAKE2b-256 checksum How to use checksums |
4ad0c5047a342d7c2e82adaa6d601f00dd665cac297780448125c8494df88b22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / Pello-1.0.4-py3-none-any.whl
| Download URL | Pello-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b9a4304ed24f8aaf49ec36d9b2943442bc9c68e5d32afff3150af52ae30bec2
|
|
BLAKE2b-256 checksum How to use checksums |
d483c0f3ef9cb6f8f5f9fb64163b560e4d3dd8b0624a4f3cb9c1f024374894ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|