Sharing a package - cma-open/cmatools GitHub Wiki

There are several ways to share python code within a package so that it can be used by others:

  • python package index (PIP)
  • conda / conda-forge
  • remote git repo (e.g. GitHub)
  • GitHub Packages Registry (python use pending/forthcoming)

These methods have various pros and cons such as full publishing requiring tasks to set up the package and uploading to host websites in standardised formats. The simplest methed is simply sharing of the code via GitHub, whereby users can simply clone the repo and install the software, or do a direct pip install from the repo url.