what are ways to push packages to an AR Python repository? I tried to look at the API documentation, but only operation there I could find related to uploading a package, is the UpdateRepositoryRequest, which seems to update the repository with another.
As the repositories should be buckets, uploading to a bucket blob should be possibly but I wasn't able to achieve this. All errors related to bucket not being found. What would be the correct URL for a bucket corresponding to an AR repository?
I know the gcloud CLI tools allow for this quite easily (and I used it successfully), but I was wondering if there was any way to do it with the Python API?
To publish
Pythonpackages inArtifact Registry, you can check the official documentationThe package upload should be done with
python3command line andtwineas an usualPythonpackage and private repo.Authentication with keyring-backend
Install
twine:Build your
PythonpackageUpload the packages to the repository from your
distdirectory :