Skip to main content

pulp_ostree-client

Fetch, Upload, Organize, and Distribute Software Packages

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: v3
  • Package version: 2.6.1
  • Generator version: 7.19.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://pulpproject.org

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import pulpcore.client.pulp_ostree

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pulpcore.client.pulp_ostree

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import pulpcore.client.pulp_ostree
from pulpcore.client.pulp_ostree.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:24817
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_ostree.Configuration(
    host = "http://localhost:24817"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_ostree.Configuration(
    username = os.environ["USERNAME"],
    password = os.environ["PASSWORD"]
)

# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with pulpcore.client.pulp_ostree.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_ostree.ContentCommitsApi(api_client)
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
    checksum = 'checksum_example' # str | Filter results where checksum matches value (optional)
    limit = 56 # int | Number of results to return per page. (optional)
    offset = 56 # int | The initial index from which to return the results. (optional)
    ordering = ['ordering_example'] # List[str] | Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
    orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
    pulp_id__in = None # List[UUID] | Multiple values may be separated by commas. (optional)
    pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
    repository_version = 'repository_version_example' # str |  (optional)
    repository_version_added = 'repository_version_added_example' # str |  (optional)
    repository_version_removed = 'repository_version_removed_example' # str |  (optional)
    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)

    try:
        # List ostree commits
        api_response = api_instance.list(x_task_diagnostics=x_task_diagnostics, checksum=checksum, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
        print("The response of ContentCommitsApi->list:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ContentCommitsApi->list: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:24817

Class Method HTTP request Description
ContentCommitsApi list GET /pulp/api/v3/content/ostree/commits/ List ostree commits
ContentCommitsApi read GET {ostree_ostree_commit_href} Inspect an ostree commit
ContentCommitsApi set_label POST {ostree_ostree_commit_href}set_label/ Set a label
ContentCommitsApi unset_label POST {ostree_ostree_commit_href}unset_label/ Unset a label
ContentConfigsApi list GET /pulp/api/v3/content/ostree/configs/ List ostree configs
ContentConfigsApi read GET {ostree_ostree_config_href} Inspect an ostree config
ContentConfigsApi set_label POST {ostree_ostree_config_href}set_label/ Set a label
ContentConfigsApi unset_label POST {ostree_ostree_config_href}unset_label/ Unset a label
ContentContentApi create POST /pulp/api/v3/content/ostree/content/ Create an ostree content
ContentContentApi list GET /pulp/api/v3/content/ostree/content/ List ostree contents
ContentContentApi read GET {ostree_ostree_content_href} Inspect an ostree content
ContentContentApi set_label POST {ostree_ostree_content_href}set_label/ Set a label
ContentContentApi unset_label POST {ostree_ostree_content_href}unset_label/ Unset a label
ContentObjectsApi list GET /pulp/api/v3/content/ostree/objects/ List ostree objects
ContentObjectsApi read GET {ostree_ostree_object_href} Inspect an ostree object
ContentObjectsApi set_label POST {ostree_ostree_object_href}set_label/ Set a label
ContentObjectsApi unset_label POST {ostree_ostree_object_href}unset_label/ Unset a label
ContentRefsApi list GET /pulp/api/v3/content/ostree/refs/ List ostree refs
ContentRefsApi read GET {ostree_ostree_ref_href} Inspect an ostree ref
ContentRefsApi set_label POST {ostree_ostree_ref_href}set_label/ Set a label
ContentRefsApi unset_label POST {ostree_ostree_ref_href}unset_label/ Unset a label
ContentSummariesApi list GET /pulp/api/v3/content/ostree/summaries/ List ostree summarys
ContentSummariesApi read GET {ostree_ostree_summary_href} Inspect an ostree summary
ContentSummariesApi set_label POST {ostree_ostree_summary_href}set_label/ Set a label
ContentSummariesApi unset_label POST {ostree_ostree_summary_href}unset_label/ Unset a label
DistributionsOstreeApi add_role POST {ostree_ostree_distribution_href}add_role/ Add a role
DistributionsOstreeApi create POST /pulp/api/v3/distributions/ostree/ostree/ Create an ostree distribution
DistributionsOstreeApi delete DELETE {ostree_ostree_distribution_href} Delete an ostree distribution
DistributionsOstreeApi list GET /pulp/api/v3/distributions/ostree/ostree/ List ostree distributions
DistributionsOstreeApi list_roles GET {ostree_ostree_distribution_href}list_roles/ List roles
DistributionsOstreeApi my_permissions GET {ostree_ostree_distribution_href}my_permissions/ List user permissions
DistributionsOstreeApi partial_update PATCH {ostree_ostree_distribution_href} Update an ostree distribution
DistributionsOstreeApi read GET {ostree_ostree_distribution_href} Inspect an ostree distribution
DistributionsOstreeApi remove_role POST {ostree_ostree_distribution_href}remove_role/ Remove a role
DistributionsOstreeApi set_label POST {ostree_ostree_distribution_href}set_label/ Set a label
DistributionsOstreeApi unset_label POST {ostree_ostree_distribution_href}unset_label/ Unset a label
DistributionsOstreeApi update PUT {ostree_ostree_distribution_href} Update an ostree distribution
RemotesOstreeApi add_role POST {ostree_ostree_remote_href}add_role/ Add a role
RemotesOstreeApi create POST /pulp/api/v3/remotes/ostree/ostree/ Create an ostree remote
RemotesOstreeApi delete DELETE {ostree_ostree_remote_href} Delete an ostree remote
RemotesOstreeApi list GET /pulp/api/v3/remotes/ostree/ostree/ List ostree remotes
RemotesOstreeApi list_roles GET {ostree_ostree_remote_href}list_roles/ List roles
RemotesOstreeApi my_permissions GET {ostree_ostree_remote_href}my_permissions/ List user permissions
RemotesOstreeApi partial_update PATCH {ostree_ostree_remote_href} Update an ostree remote
RemotesOstreeApi read GET {ostree_ostree_remote_href} Inspect an ostree remote
RemotesOstreeApi remove_role POST {ostree_ostree_remote_href}remove_role/ Remove a role
RemotesOstreeApi set_label POST {ostree_ostree_remote_href}set_label/ Set a label
RemotesOstreeApi unset_label POST {ostree_ostree_remote_href}unset_label/ Unset a label
RemotesOstreeApi update PUT {ostree_ostree_remote_href} Update an ostree remote
RepositoriesOstreeApi add_role POST {ostree_ostree_repository_href}add_role/ Add a role
RepositoriesOstreeApi create POST /pulp/api/v3/repositories/ostree/ostree/ Create an ostree repository
RepositoriesOstreeApi delete DELETE {ostree_ostree_repository_href} Delete an ostree repository
RepositoriesOstreeApi import_all POST {ostree_ostree_repository_href}import_all/ Import refs and commits to a repository
RepositoriesOstreeApi import_commits POST {ostree_ostree_repository_href}import_commits/ Append child commits to a repository
RepositoriesOstreeApi list GET /pulp/api/v3/repositories/ostree/ostree/ List ostree repositorys
RepositoriesOstreeApi list_roles GET {ostree_ostree_repository_href}list_roles/ List roles
RepositoriesOstreeApi modify POST {ostree_ostree_repository_href}modify/ Modify repository
RepositoriesOstreeApi my_permissions GET {ostree_ostree_repository_href}my_permissions/ List user permissions
RepositoriesOstreeApi partial_update PATCH {ostree_ostree_repository_href} Update an ostree repository
RepositoriesOstreeApi read GET {ostree_ostree_repository_href} Inspect an ostree repository
RepositoriesOstreeApi remove_role POST {ostree_ostree_repository_href}remove_role/ Remove a role
RepositoriesOstreeApi set_label POST {ostree_ostree_repository_href}set_label/ Set a label
RepositoriesOstreeApi sync POST {ostree_ostree_repository_href}sync/ Sync from remote
RepositoriesOstreeApi unset_label POST {ostree_ostree_repository_href}unset_label/ Unset a label
RepositoriesOstreeApi update PUT {ostree_ostree_repository_href} Update an ostree repository
RepositoriesOstreeVersionsApi delete DELETE {ostree_ostree_repository_version_href} Delete a repository version
RepositoriesOstreeVersionsApi list GET {ostree_ostree_repository_href}versions/ List repository versions
RepositoriesOstreeVersionsApi read GET {ostree_ostree_repository_version_href} Inspect a repository version
RepositoriesOstreeVersionsApi repair POST {ostree_ostree_repository_version_href}repair/

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • Type: HTTP basic authentication

cookieAuth

  • Type: API key
  • API key parameter name: sessionid
  • Location:

Author

pulp-list@redhat.com

Metadata

Release files for pulp-ostree-client 2.6.1

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

Source distribution (sdist)

Source distribution for pulp-ostree-client 2.6.1
File Size Uploaded Provenance Actions
pulp_ostree_client-2.6.1.tar.gz 88.3 kB With provenance Details for pulp_ostree_client-2.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pulp-ostree-client 2.6.1
File Interpreter ABI Platform Actions
pulp_ostree_client-2.6.1-py3-none-any.whl Python 3 none any Details for pulp_ostree_client-2.6.1-py3-none-any.whl

Total release size: 242.3 kB

Release files / pulp_ostree_client-2.6.1.tar.gz

Download URL pulp_ostree_client-2.6.1.tar.gz
Size 88.3 kB
Tags Source
SHA-256 checksum
How to use checksums
036483c4c8096d224ae2a4d7e17344103289fca94c05558ccdfbe48400dfcdee
BLAKE2b-256 checksum
How to use checksums
ffece49405ac606f925a03bc6dd64890c46745f2c352d93d777fe78d689bca3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / pulp_ostree_client-2.6.1-py3-none-any.whl

Download URL pulp_ostree_client-2.6.1-py3-none-any.whl
Size 153.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af02f32d2d8eb8b5fcf4ba65551f418630e8183a945c47dfc5c247b11740a5ea
BLAKE2b-256 checksum
How to use checksums
cf682339050366504471a7c5edef970db78b0d5d2922c09bd003c7a9525e21cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Security for pulp-ostree-client 2.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pulp_ostree_client-2.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.6.1 This release

2 release files Full provenance

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