[Python] Installing a custom pip package from github with a permanent token

Discussão em 'Python' iniciado por Stack, Fevereiro 6, 2025.

  1. Stack

    Stack Membro Participativo

    I have created a pip package in a private gihub repositoy. This package is going to be used in many projects in our organization. I succeded installing the package by creating a personal access token and using this:

    pip install git+https://[mytoken]@github.com/myorg/azure-utils.git@main#egg=azure-utils

    As this will be included in multiple projects by an organization its not suited to be dependant of a personal access token. Is there other ways to do this og generate a company wide token not expiring?

    Continue reading...

Compartilhe esta Página