Skip to main content

Docstring here.

Project description

gonna learnz how to uploadz dem packagez

note how package name on PYPI doesn't have to be the same as X in IMPORT X

  • pypi packge name is just what you choose and will impact pip install that_name
  • IMPORT X depends on the name of the folder you have in the package

Steps:

  1. Create package folder (typically same name as host folder)
  2. Create empty init.py inside
  3. Create README.me - for longer docs you should use https://readthedocs.org/
  4. Create setup.py - fill out as in here
  5. Create MANIFEST.in - which describes not source code files to include / exclude
  6. To install packages you will need to run: pip install twine
  7. Packages in pypi are not distributed as raw source code. Instead they are wrapped into a format called "wheel". It's like a zip archive. To create a "wheel" for your packeg run: python setup.py sdist bdist_wheel
  8. List the contents of your pakage to make sure they're correct tar tzf dist/realpython_pypi_tut_AS_APPEAR_ON_PYPI-1.0.0.tar.gz
  9. Check that your package description will render properly on pypi twine check dist/*
  10. Upload your package! twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  11. Remember to remove dist files between uploading new versions!

Project details


Download files

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

Source Distribution

rp_pypi_tut_flit-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl (2.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rp_pypi_tut_flit-0.1.0.tar.gz.

File metadata

  • Download URL: rp_pypi_tut_flit-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.23.0

File hashes

Hashes for rp_pypi_tut_flit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ffbf842927ce312db84b2234a2b88e2e311326d73f1c9b3f8250e81a849ba39
MD5 6ebc16228adbf2714f868852fb005064
BLAKE2b-256 9f2bd4c0432df3e858758c17475fd9b51c7cc6f0f0d061e47d35a213db172d4c

See more details on using hashes here.

File details

Details for the file rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rp_pypi_tut_flit-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcc89d592e87bff03bb58036c32159e4a179188f6fbde08f3723d675c3673cae
MD5 aabe6496c74bb83a1bf05a60ba260516
BLAKE2b-256 3cc2487e410a13ec1254c539368f6850448c4a587f083e1e8ae6e20c0afb71a1

See more details on using hashes here.

Supported by

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