| Status | Proposed |
|---|---|
| Category | Library |
| Team | Developer |
| Authors(s) | eazycloudlife |
| Created By | Jul 2024 |
| Modified By | Jul 2024 |
What is this repository for?
- This is the
ezcl hello python libraryrepository.
Creating a "Hello, World!" package in Python is a great way to learn the basics of packaging and distributing Python libraries. Here’s a step-by-step guide to create a simple "Hello, World!" package:
index
- How is the Python library created?
- How to install?
- How to uninstall?
- How to upgrade?
- Examples of How To Use
- Summary
- Who do I talk to?
- Authors
How is the Python library created?
How to install?
pip install ezcl-py-hello
How to uninstall?
pip uninstall ezcl-py-hello
How to upgrade?
pip install --upgrade ezcl-py-hello
Examples of How To Use
Importing the package
from hello import (
hello,
hello_world,
hi,
hi_world,
version
)
Using the package
def say_hello(name):
return hello(name)
def say_hello_world():
return hello_world()
def say_hi(name):
return hi(name)
def say_hi_world():
return hi_world()
def say_version():
return version()
if __name__ == "__main__":
name = "Eazy Cloud Life"
print(say_hello(name))
print(say_hello_world())
print(say_hi(name))
print(say_hi_world())
print(say_version())
print(hello.__version__)
Summary
Creating a "Hello, World!" package involves defining a simple function, organizing your code into a package structure, writing a setup.py file for packaging, and optionally testing and publishing your package. This exercise provides a solid foundation for understanding Python packaging and distribution.
Who do I talk to?
Authors
A repository is maintained by eazycloudlife with help from these awesome contributors. ⬆ Back to index
Metadata
Release files for ezcl-py-hello 8.0.0
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 |
|---|---|---|---|---|
| ezcl_py_hello-8.0.0.tar.gz | 3.8 kB | Without provenance | Details for ezcl_py_hello-8.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ezcl_py_hello-8.0.0-py3-none-any.whl | Python 3 | none | any | Details for ezcl_py_hello-8.0.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / ezcl_py_hello-8.0.0.tar.gz
| Download URL | ezcl_py_hello-8.0.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0f33c3c9afb7c39eeee3285b12cffbc14e189e8635e6fd358c4afb8cbb8a0eb
|
|
BLAKE2b-256 checksum How to use checksums |
de82bd8d393e0c77693e6f60bbeb9a8f3bc604f70dfda4412b5f0f2340dae824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / ezcl_py_hello-8.0.0-py3-none-any.whl
| Download URL | ezcl_py_hello-8.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f953ef38b74e55466eef3a66568adc5e8d8139b4300d28966dd07ae3d3ae6667
|
|
BLAKE2b-256 checksum How to use checksums |
cd49f348c0e5f380018c4fdf5f499b30136d9db42401b964e1948b0bb18a7ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for ezcl-py-hello 8.0.0
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.