Skip to main content

The simplest Hello World PyPi package

Project description

Hello World PyPi Project

To use this package, simply run::

>>> import hello_world
>>> print(hello_world.hello())

To build the project

virtualenv -p python3 .venv3
. .venv3/bin/activate
python setup.py bdist_wheel

This will create a the wheel under dist folder.

Prepare for PyPi uploading

Create a file name .pypirc on your home directory, unless you already have it.

[distutils]
index-servers=
    pypitest
#    pypi

[pypitest]
repository = https://test.pypi.org/legacy/
username = <TEST_PYPI_USERNAME>
password = <TEST_PYPI_PASSWORD>

[pypi]
repository: https://upload.pypi.org/legacy/
username = <PYPI_USERNAME>
password = <PYPI_PASSWORD>

Ensure .pypirc has read/write permission allowed only for current user.

Upload to PyPi

$ twine upload --repository-url https://test.pypi.org/legacy/ dist/ashahba_hello_world-0.0.2-py3-none-any.whl 
Uploading distributions to https://test.pypi.org/legacy/
Enter your username: ashahba 
Enter your password: 
Uploading ashahba_hello_world-0.0.2-py3-none-any.whl
100%|██████████████████████████████████████████████████████████| 6.63k/6.63k [00:02<00:00, 3.29kB/s]

View at:
https://test.pypi.org/project/ashahba-hello-world/0.0.2/

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file intel_extension_for_openxla-0.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for intel_extension_for_openxla-0.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 a050be9087a9ed270f0a136b6bb504075ae1e9c0606c4729a700cfc6d0d1e2e2
MD5 50da2d2d40544e28e6443904563c698b
BLAKE2b-256 fb9f3a6adb0300b9040330d8e610ac1df8d0a388f6f29434c520728f05272ff7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page