installation in readme

pull/3/head
Langenfeld 2021-01-12 10:37:18 +01:00
rodzic 575a554bcc
commit c8ebd7e1e6
1 zmienionych plików z 11 dodań i 5 usunięć

Wyświetl plik

@ -1,12 +1,12 @@
# py-gitea
A very simple API client for Gitea version 1.9.0.
A very simple API client for Gitea version 1.13.x.
This has been somewhat tested (and used!), so most things should work as expected.
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.
Note that not the full Swagger-API is accessible. The whole implementation is focused
on making access and working with Organizations, Teams, Repositories and Users as pain
free as possible.
Originally forked from https://github.com/m301/py-gitea.
@ -15,6 +15,8 @@ Originally forked from https://github.com/m301/py-gitea.
First get a `gitea` object wrapping access and authentication (via an api token) for your gitea instance:
```python
from gitea import *
gitea = Gitea(URL, TOKEN)
```
@ -67,6 +69,10 @@ for team in teams:
```
## Installation
Use ``pip install py-gitea`` to install.
## Tests
Tests can be run with: