oSoMoN / osc-tiny

Home Page:https://osc-tiny.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://osc-tiny.readthedocs.io/

License:MIT License


Languages

Language:Python 100.0%