kopia lustrzana https://github.com/Langenfeld/py-gitea
installation in readme
rodzic
575a554bcc
commit
c8ebd7e1e6
16
README.md
16
README.md
|
@ -1,12 +1,12 @@
|
||||||
# py-gitea
|
# 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
|
Note that not the full Swagger-API is accessible. The whole implementation is focused
|
||||||
focused on Organization/Team/Repository/User-creation, also putting users in
|
on making access and working with Organizations, Teams, Repositories and Users as pain
|
||||||
Teams in Organizations and adding Repositories to Teams.
|
free as possible.
|
||||||
|
|
||||||
Originally forked from https://github.com/m301/py-gitea.
|
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:
|
First get a `gitea` object wrapping access and authentication (via an api token) for your gitea instance:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
from gitea import *
|
||||||
|
|
||||||
gitea = Gitea(URL, TOKEN)
|
gitea = Gitea(URL, TOKEN)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -67,6 +69,10 @@ for team in teams:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Use ``pip install py-gitea`` to install.
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
Tests can be run with:
|
Tests can be run with:
|
||||||
|
|
Ładowanie…
Reference in New Issue