A Python library for Pagure APIs. Pagure is a light-weight git-centered forge based on pygit2, created by Pierre-Yves Chibon.
Use pip to install.
pip3 install libpagure
python3 -m pip install libpagure
>>> from libpagure import Pagure >>> pg = Pagure()
>>> pg.api_version() '0.8'
>>> from libpagure import Pagure >>> pg = Pagure(pagure_token="foobar") >>> pg.new_project(name="foo", description="bar", url="http://foobar.io", create_readme=True) >>> Project "foo" created
This library is a Python warp of Pagure web APIs. You can refer to Pagure API reference.