Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python packages, modules and releases #11

Closed
Tracked by #1
yakutovicha opened this issue Jan 30, 2023 · 1 comment · Fixed by #60
Closed
Tracked by #1

Python packages, modules and releases #11

yakutovicha opened this issue Jan 30, 2023 · 1 comment · Fixed by #60
Assignees

Comments

@yakutovicha
Copy link
Member

yakutovicha commented Jan 30, 2023

Basic

  • Python modules to split a python program for easier maintenance and code reuse.
  • Creating a module and importing its content (note on import *)
  • Package - a collection of python modules.
  • Intra-package references (from ./.. import)
  • Making a python package installable (pyproject.toml)
  • Releasing python package on PyPI.

Advanced

  • Executing modules as scripts (if __name__ == "__main__")
  • Importing * from a package (use __all__).
  • Setting up Python package dependencies
  • Dependencies and optional dependencies of a Python package
  • Python management tools: setuptools, flit, hatch, poetry.
@yakutovicha yakutovicha self-assigned this Jan 30, 2023
@yakutovicha yakutovicha changed the title Python packages and modules (defining a module, making a python package, dependency management, release on PyPi) Python packages, modules and releases Feb 6, 2023
@edoardob90
Copy link
Member

edoardob90 commented Feb 6, 2023

Add: Release automation with bumpver and GitHub actions (brief overview)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants