Skip to main content

hello world!

Project description

helloworld

It's a simple python package that prints hello world!

PIP install

  1. Test\prerelease https://test.pypi.org/project/wnhelloworldpackage/ pip install -i https://test.pypi.org/simple/ wnhelloworldpackage

  2. Production https://pypi.org/project/wnhelloworldpackage/ pip install wnhelloworldpackage

Test locally from source code

pip install .

python test.py

Create local package

  1. Make sure you have the latest versions of setuptools, wheel installed: pip install --user --upgrade setuptools wheel

  2. python setup.py sdist bdist_wheel

  3. under dist there will be one or many *.whl file you can install it locally pip install C:/some-dir/some-file.whl or pip install /dist/some-file.whl

Steps to upload your package to the Python Package Index under your account:

  1. get user account https://test.pypi.org

  2. get user account https://pypi.org

  3. Make sure you have the latest versions of setuptools, wheel and twine installed: pip install --user --upgrade setuptools wheel pip install --user --upgrade twine

  4. Rename azhelloworldpackage, your package name can contains letters, numbers, _ , and -. It also must not already taken on pypi.org you need to rename name in setup.py file and rename the folder structure `

/yourpackagename init.py

`

  1. python setup.py sdist bdist_wheel

  2. Upload it to test\prerelease environment twine upload --repository-url https://test.pypi.org/legacy/ dist/*

  3. Test newly uploaded package pip install -i https://test.pypi.org/simple/ yourpackagename

  4. Upload it to production environment twine upload dist/*

  5. 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

This version

0.1

Download files

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

Source Distribution

wnhelloworldpackage-0.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

wnhelloworldpackage-0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for wnhelloworldpackage-0.1.tar.gz
Algorithm Hash digest
SHA256 44d50cadde021e8fd64fadfa528cfe092204da1fe77b9914606992b4e4b8d676
MD5 49fc47896b150ef768c45521b82e8789
BLAKE2b-256 68f1a5345155b8191f7b17be4fb406391e85add73f723589733547956687fa53

See more details on using hashes here.

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

Hashes for wnhelloworldpackage-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 def694a59c6425f5e3f3adcac3b91f8e3ed072c136f11968bf07f69d468be03d
MD5 2eb18cc912a485b57db5dce1923e097c
BLAKE2b-256 6d514d7c73be5e2eb326e5bf04ddc03b012844deeedb75da6e6467a24b511f19

See more details on using hashes here.

Supported by

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