Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
L'index de paquets Python (PyPI) est un dépôt public de packages Python. Vous pouvez utiliser Artifact Registry pour créer des dépôts privés pour vos packages Python. Ces dépôts privés utilisent l'implémentation canonique du dépôt Python, l'API de dépôt simple (PEP 503), et fonctionnent avec des outils d'installation tels que pip.
Présentation
Pour vous familiariser avec les packages Python dans Artifact Registry, vous pouvez consulter le guide de démarrage rapide.
Pour en savoir plus, consultez les informations suivantes :
Accordez des autorisations au compte qui se connectera au dépôt. Les comptes de service pour les intégrations courantes avec Artifact Registry disposent d'autorisations par défaut pour les dépôts du même projet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eArtifact Registry allows you to create private repositories for Python packages, in addition to the public repository PyPI.\u003c/p\u003e\n"],["\u003cp\u003eThese private repositories use the simple repository API (PEP 503) and are compatible with installation tools like \u003ccode\u003epip\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a Python package repository and grant permissions to accounts that will access it, including service accounts.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication can be configured for Python clients and Cloud Build to interact with the repository.\u003c/p\u003e\n"],["\u003cp\u003eArtifact registry allows you to deploy to Google Cloud runtime environments, and manage your packages.\u003c/p\u003e\n"]]],[],null,["# Manage Python packages\n\n[Python Package Index](https://pypi.org/) (PyPI) is a public\nrepository for Python packages. You can use Artifact Registry to create private\nrepositories for your Python packages. These private repositories use the\ncanonical Python repository implementation, the [simple repository API](https://www.python.org/dev/peps/pep-0503/) (PEP 503), and work with installation tools like `pip`.\n\nOverview\n--------\n\nTo get familiar with Python packages in Artifact Registry, you can try the\n[quickstart](/artifact-registry/docs/python/quickstart).\n\nWhen you are ready to learn more, read the following information:\n\n1. [Create a Python package repository](/artifact-registry/docs/repositories/create-repos) for your packages.\n2. [Grant permissions](/artifact-registry/docs/access-control) to the account that will connect with the repository. Service accounts for common integrations with Artifact Registry have default [permissions](/artifact-registry/docs/access-control#gcp) for repositories in the same project.\n3. Configure your tools:\n - [Configure authentication](/artifact-registry/docs/python/authentication) for Python clients that interact with the repository.\n - [Configure Cloud Build](/artifact-registry/docs/configure-cloud-build) to upload and download packages.\n - Learn about [deploying](/artifact-registry/docs/deploy) to Google Cloud runtime environments.\n4. [Learn about managing packages](/artifact-registry/docs/python/manage-packages)."]]