{"id":20314533,"url":"https://github.com/release-engineering/pubtools-pulplib","last_synced_at":"2025-04-11T17:17:34.850Z","repository":{"id":34934488,"uuid":"191261577","full_name":"release-engineering/pubtools-pulplib","owner":"release-engineering","description":"A Pulp library for publishing tools","archived":false,"fork":false,"pushed_at":"2024-04-23T14:26:35.000Z","size":2610,"stargazers_count":2,"open_issues_count":7,"forks_count":24,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-24T12:09:55.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/release-engineering.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-10T23:53:40.000Z","updated_at":"2024-06-10T12:14:52.654Z","dependencies_parsed_at":"2023-11-14T22:23:06.803Z","dependency_job_id":"e0fd712e-cb6e-435b-91d3-044d2ddf5401","html_url":"https://github.com/release-engineering/pubtools-pulplib","commit_stats":{"total_commits":314,"total_committers":22,"mean_commits":"14.272727272727273","dds":0.410828025477707,"last_synced_commit":"8bca412307e98099a289fc8b686b5979add43563"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fpubtools-pulplib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fpubtools-pulplib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fpubtools-pulplib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fpubtools-pulplib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/release-engineering","download_url":"https://codeload.github.com/release-engineering/pubtools-pulplib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447600,"owners_count":21105140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:15:43.753Z","updated_at":"2025-04-11T17:17:34.820Z","avatar_url":"https://github.com/release-engineering.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pubtools-pulplib\n================\n\nA Python client for [Pulp 2.x](https://pulpproject.org/), used by\n[release-engineering](https://github.com/release-engineering) publishing tools.\n\n[![Build Status](https://github.com/release-engineering/pubtools-pulplib/actions/workflows/tox-test.yml/badge.svg)](https://github.com/release-engineering/pubtools-pulplib/actions/workflows/tox-test.yml)\n\n- [Source](https://github.com/release-engineering/pubtools-pulplib)\n- [Documentation](https://release-engineering.github.io/pubtools-pulplib/)\n- [PyPI](https://pypi.org/project/pubtools-pulplib)\n\n\nInstallation\n------------\n\nInstall the `pubtools-pulplib` package from PyPI.\n\n```\npip install pubtools-pulplib\n```\n\n\nUsage Example\n-------------\n\n```python\nfrom pubtools.pulplib import Client\n\n# Make a client pointing at this Pulp server\nwith Client(url='https://pulp.example.com/', auth=('admin', 'some-password')) as client:\n\n  # Get a particular repo by ID.\n  # All methods return Future instances; .result() blocks\n  repo = client.get_repository('zoo').result()\n\n  # Pulp objects have relevant methods, e.g. publish().\n  # Returned future may encapsulate one or more Pulp tasks.\n  publish = repo.publish().result()\n```\n\nDevelopment\n-----------\n\nPatches may be contributed via pull requests to\nhttps://github.com/release-engineering/pubtools-pulplib.\n\nAll changes must pass the automated test suite, along with various static\nchecks.\n\nThe [Black](https://black.readthedocs.io/) code style is enforced.\nEnabling autoformatting via a pre-commit hook is recommended:\n\n```\npip install -r requirements-dev.txt\npre-commit install\n```\n\nLicense\n-------\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-engineering%2Fpubtools-pulplib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelease-engineering%2Fpubtools-pulplib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-engineering%2Fpubtools-pulplib/lists"}