hello world!
Project description
helloworld
It's a simple python package that prints hello world!
PIP install
-
Test\prerelease https://test.pypi.org/project/wnhelloworldpackage/
pip install -i https://test.pypi.org/simple/ wnhelloworldpackage
-
Production https://pypi.org/project/wnhelloworldpackage/
pip install wnhelloworldpackage
Test locally from source code
pip install .
python test.py
Create local package
-
Make sure you have the latest versions of setuptools, wheel installed:
pip install --user --upgrade setuptools wheel
-
python setup.py sdist bdist_wheel
-
under
dist
there will be one or many*.whl
file you can install it locallypip install C:/some-dir/some-file.whl
orpip install /dist/some-file.whl
Steps to upload your package to the Python Package Index under your account:
-
get user account https://test.pypi.org
-
get user account https://pypi.org
-
Make sure you have the latest versions of setuptools, wheel and twine installed:
pip install --user --upgrade setuptools wheel
pip install --user --upgrade twine
-
Rename azhelloworldpackage, your package name can contains letters, numbers, _ , and -. It also must not already taken on pypi.org you need to rename
name
insetup.py
file and rename the folder structure `
/yourpackagename init.py
`
-
python setup.py sdist bdist_wheel
-
Upload it to test\prerelease environment
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
-
Test newly uploaded package
pip install -i https://test.pypi.org/simple/ yourpackagename
-
Upload it to production environment
twine upload dist/*
-
Test your package
pip install yourpackagename
Resource https://packaging.python.org/tutorials/packaging-projects/#uploading-your-project-to-pypi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wnhelloworldpackage-0.1.tar.gz
.
File metadata
- Download URL: wnhelloworldpackage-0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d50cadde021e8fd64fadfa528cfe092204da1fe77b9914606992b4e4b8d676 |
|
MD5 | 49fc47896b150ef768c45521b82e8789 |
|
BLAKE2b-256 | 68f1a5345155b8191f7b17be4fb406391e85add73f723589733547956687fa53 |
File details
Details for the file wnhelloworldpackage-0.1-py3-none-any.whl
.
File metadata
- Download URL: wnhelloworldpackage-0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | def694a59c6425f5e3f3adcac3b91f8e3ed072c136f11968bf07f69d468be03d |
|
MD5 | 2eb18cc912a485b57db5dce1923e097c |
|
BLAKE2b-256 | 6d514d7c73be5e2eb326e5bf04ddc03b012844deeedb75da6e6467a24b511f19 |