Python dependencies integration with Sourcegraph

You can use Sourcegraph with Python packages from any Python package mirror, including open source code from pypi.org or a private mirror such as Nexus.

This integration makes it possible to search and navigate through the source code of published Python packages (for example, [email protected]).

Feature Supported?
Repository syncing
Repository permissions
Multiple Python repositories code hosts

Setup

See the "Python dependencies" documentation.

Repository syncing

Site admins can add Python packages to Sourcegraph.

Repository permissions

⚠️ Python dependency repositories are visible by all users of the Sourcegraph instance.

Multiple Python dependencies code hosts

⚠️ It's only possible to create one Python dependency code host for each Sourcegraph instance.

See the issue sourcegraph#32461 for more details about this limitation.