Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Python Package Index (PyPI) adalah repositori publik untuk paket Python. Anda dapat menggunakan Artifact Registry untuk membuat repositori
pribadi untuk paket Python. Repositori pribadi ini menggunakan
implementasi repositori Python kanonis, API repositori sederhana (PEP 503), dan berfungsi dengan alat penginstalan seperti pip.
Ringkasan
Untuk memahami paket Python di Artifact Registry, Anda dapat mencoba
panduan memulai.
Jika Anda siap mempelajari lebih lanjut, baca informasi berikut:
Berikan izin ke akun yang
akan terhubung dengan repositori. Akun layanan untuk integrasi umum dengan Artifact Registry memiliki izin default untuk repositori dalam project yang sama.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 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)."]]