Skip to content

SUSE/osc-tiny

Repository files navigation

OSC Tiny

Build Status Publish Status PyPI version Coverage badge

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