Skip to main content

Client API for openSUSE BuildService

Project description

OSC Tiny

Build Status Coverage Status PyPI version

This project aims to provide a minimalistic and transparent client for accessing the OpenBuildService API.

Usage

This is a very basic example:

from osctiny import Osc

osc = Osc(
    url="https://api.opensuse.org",
    username="foobar",
    password="helloworld",
)

# This returns an LXML object
osc.requests.get(request_id=1)

# This returns an LXML object
osc.search.request(xpath="state/@name='new'")

For more documentation see https://osc-tiny.readthedocs.io/en/latest/

Contributing

Any contributions are welcome.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osc-tiny-0.6.6.tar.gz (50.6 kB view hashes)

Uploaded source

Built Distribution

osc_tiny-0.6.6-py3-none-any.whl (65.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page