openSUSE BuildService 的客户端 API
项目描述
OSC 小
该项目旨在为访问OpenBuildService API提供一个简约且透明的客户端。
用法
这是一个非常基本的例子:
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'")
有关更多文档,请参阅https://osc-tiny.readthedocs.io/en/latest/
贡献
欢迎任何贡献。
链接
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
osc-tiny-0.7.3.tar.gz
(53.7 kB
查看哈希)
内置分布
osc_tiny-0.7.3-py3-none-any.whl
(68.7 kB
查看哈希)