A Gitea-API wrapper in Python
Go to file
Langenfeld 8a02cd7e27 added using properties instead of plain fields to track changing and access to invalid objects 2019-06-12 00:06:55 +02:00
gitea added using properties instead of plain fields to track changing and access to invalid objects 2019-06-12 00:06:55 +02:00
.gitignore added gitignore 2019-05-03 14:52:04 +02:00
LICENSE
README.md Update README.md 2019-05-17 15:28:47 +02:00
__init__.py
requirements.txt updated requirements 2019-05-03 14:52:04 +02:00
test_api.py small fix to get team setup working again 2019-06-11 21:36:18 +02:00

README.md

py-gitea

Code style: black

A very simple API client for Gitea (1.8.0-rc2)

This has been somewhat tested (and used!), so most things should work as expected.

Note that not the full Swagger-API is accessible. The implemented part is focused on Organization/Team/Repository/User-creation, also putting users in Teams in Organizations and adding Repositories to Teams. Sadly the API does not do all of what I wanted to use. Still, it should be pretty easy to add almost all API-calls.

tests

Can be run like this:

python3 -m pytest tests.py

Make sure to have a gitea-instance running on http://localhost:3000, and an admin-user token at .token.