Skip to main content

A Python client for Pulp 2.x, used by release-engineering publishing tools.

Build Status

Installation

Install the pubtools-pulplib package from PyPI.

pip install pubtools-pulplib

Usage Example

from pubtools.pulplib import Client

# Make a client pointing at this Pulp server
with Client(url='https://pulp.example.com/', auth=('admin', 'some-password')) as client:

  # Get a particular repo by ID.
  # All methods return Future instances; .result() blocks
  repo = client.get_repository('zoo').result()

  # Pulp objects have relevant methods, e.g. publish().
  # Returned future may encapsulate one or more Pulp tasks.
  publish = repo.publish().result()

Development

Patches may be contributed via pull requests to https://github.com/release-engineering/pubtools-pulplib.

All changes must pass the automated test suite, along with various static checks.

The Black code style is enforced. Enabling autoformatting via a pre-commit hook is recommended:

pip install -r requirements-dev.txt
pre-commit install

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Metadata

Release files for pubtools-pulplib 2.45.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pubtools-pulplib 2.45.0
File Size Uploaded
pubtools_pulplib-2.45.0.tar.gz 114.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pubtools-pulplib 2.45.0
File Interpreter ABI Platform
pubtools_pulplib-2.45.0-py3-none-any.whl Python 3 none any Details

Total release size: 246.7 kB

Release files / pubtools_pulplib-2.45.0.tar.gz

Download URL pubtools_pulplib-2.45.0.tar.gz
Size 114.6 kB
Tags Source
SHA-256 checksum
How to use checksums
538933115da1871cd69fc96bb52c16f275ed1cc55dce2f3501d66670f77a6d4c
BLAKE2b-256 checksum
How to use checksums
0fe9bee8bcdaecf2769b3a59aebfbd8e1247210bb8b8085fb3f1a84e941615f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / pubtools_pulplib-2.45.0-py3-none-any.whl

Download URL pubtools_pulplib-2.45.0-py3-none-any.whl
Size 132.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68671cb77ccfba3d5dc21b8268d724f459f99ce6f1a4b5fa2d9e10a89adc73e4
BLAKE2b-256 checksum
How to use checksums
36fd86f3d0ad418c5c9e77069784b99aa1ecc4cec75acbf23de1ccb3bdae0330
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

2.45.0 This release

2 release files

2.44.0

2 release files

2.43.2

2 release files

2.42.0

2 release files

2.40.1

2 release files

2.39.2

2 release files

2.39.0

2 release files

2.38.1

2 release files

2.38.0

2 release files

2.37.2

2 release files

2.37.1

2 release files

2.36.0

2 release files

2.29.0

2 release files

2.28.1

2 release files

2.28.0

2 release files

2.27.0

2 release files

2.25.0

2 release files

2.24.0

2 release files

2.23.2

2 release files

2.23.1

2 release files

2.22.0

2 release files

2.21.0

2 release files

2.18.0

2 release files

2.17.0

2 release files

2.16.0

2 release files

2.15.0

2 release files

2.13.0

1 release file

2.12.1

1 release file

2.12.0

1 release file

2.11.0

1 release file

2.10.0

1 release file

2.9.0

1 release file

2.8.0

1 release file

2.7.0

1 release file

2.6.0

1 release file

2.5.0

1 release file

2.4.0

1 release file

2.3.1

1 release file

2.3.0

1 release file

2.2.0

1 release file

2.1.0

1 release file

2.0.0

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page