Skip to content

ntung/my-first-python-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python Package

This is a simple example package. Getting through the documentation below, we create a simple Python package and publish it on PyPi.

You can use Github-flavored Markdown to write your content.

How to build and upload

  1. Update the version in the pyproject.toml file to avoid the errors when uploading the package to TestPyPi or PyPi.
  2. Build: python -m build.
  3. Upload: python -m twine upload --repository testpypi dist/*.

Tests

Run pip install pytest to install the pytest package. See the tests/utils_test.py for the tips/tricks to load package path. Then, run pytest.

References

Packaging Python Projects

About

My First Python Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages