{"repo":"Langenfeld/py-gitea","free":true,"listed":false,"github":"https://github.com/Langenfeld/py-gitea","clone":"git clone https://github.com/Langenfeld/py-gitea.git","description":"A Gitea-API wrapper in Python","language":"Python","stars":83,"topics":["gitea","api-client","python"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"py-gitea A simple API client for Gitea 1.24 based on the idea that passing around dictionaries and strings is disgusting and needs to be wrapped in something safe. So, the whole implementation is focused on making access and working with Organizations, Teams, Repositories and Users as pain free as possible. Most functions should be covered by tests or should be in use (somewhere) so things should work as expected. Note that not the full Swagger-API is accessible. Originally forked from https://github.com/m301/py-gitea. Usage First get a gitea object wrapping access and authentication (via an api token) for your gitea instance: Operations like requesting the Gitea version or authentication user can be done directly from the gitea object: Adding entities like Users, Organizations, ... also is done via the gitea object. All operations on entities in gitea are then accomplished via the according wrapper objects for those entities. Each of those objects has a .request method that creates an entity according to your gitea instance or can be requested from other entities. Note that the fields of the User, Organization,... classes are dynamically created at runtime, and thus not visible during divelopment. Refer to the Gitea-API documentation for the fields names. Fields that can not be altered via gitea-api, are read only. After altering a field, the .commit method of the according object must be called to synchronize the changed fields with your gitea instance. An entity in gitea c","default_branch":null,"files":null,"tree":[],"storefront":"/r/Langenfeld","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Langenfeld/py-gitea/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}