构建服务的插件,通过pullrequests确认将数据从网站推送到github
flask_github_prox的Python项目详细描述
……图片::https://covertalls.io/repos/ponteineptique/flask-github-proxy/badge.svg?service=github
:alt:coverage status
:target:https://coveralls.io/github/ponteineptique/flask github proxy
。图片::https://travis ci.org/ponteineptique/flask github proxy.svg
:alt:build status
:target:https://travis ci.org/ponteineptique/flask github proxy
。图片::https://badge.fury.io/py/flask_github_proxy.svg
:alt:pypi version
:目标:http://badge.fury.io/py/flask_github_proxy
。图片::https://readthedocs.org/projects/docs/badge/?version=latest
:alt:documentation
:target:https://flask github proxy.readthedocs.io/en/latest/
什么?
要使用此服务,您需要一个github令牌(生成令牌:https://github.com/settings/tokens)
安装
代码块::bash
git克隆https://github.com/ponteineptique/flask github proxy.git
cd flask github proxy
python3 setup.py install
example
代码块::python
:行号:
from flask import flask
from flask_github_proxy import githubproxy
from flask_github_proxy.models import author
app=flask(“name”)
proxy=githubproxy(
“/proxy”,
“pontineptique/dummy1”,
“alpheos project/dummy1”,
secret=“something”,
token=“github token”,
app=app,
origin\u branch=“master”,
default\u author=author(
“github代理”,
"anonymous@github.com"
)
)
app.run()
Funding and original development
################################
This python software has originally been developed in the context of the Syriaca_ Project, under the funding of NEH.
.. 图片:./(u static/images/neh_logo.png
:alt:neh
:目标:http://www.neh.gov/
……_叙利亚:http://www.syriaca.org/
:alt:coverage status
:target:https://coveralls.io/github/ponteineptique/flask github proxy
。图片::https://travis ci.org/ponteineptique/flask github proxy.svg
:alt:build status
:target:https://travis ci.org/ponteineptique/flask github proxy
。图片::https://badge.fury.io/py/flask_github_proxy.svg
:alt:pypi version
:目标:http://badge.fury.io/py/flask_github_proxy
。图片::https://readthedocs.org/projects/docs/badge/?version=latest
:alt:documentation
:target:https://flask github proxy.readthedocs.io/en/latest/
什么?
要使用此服务,您需要一个github令牌(生成令牌:https://github.com/settings/tokens)
安装
代码块::bash
git克隆https://github.com/ponteineptique/flask github proxy.git
cd flask github proxy
python3 setup.py install
example
代码块::python
:行号:
from flask import flask
from flask_github_proxy import githubproxy
from flask_github_proxy.models import author
app=flask(“name”)
proxy=githubproxy(
“/proxy”,
“pontineptique/dummy1”,
“alpheos project/dummy1”,
secret=“something”,
token=“github token”,
app=app,
origin\u branch=“master”,
default\u author=author(
“github代理”,
"anonymous@github.com"
)
)
app.run()
Funding and original development
################################
This python software has originally been developed in the context of the Syriaca_ Project, under the funding of NEH.
.. 图片:./(u static/images/neh_logo.png
:alt:neh
:目标:http://www.neh.gov/
……_叙利亚:http://www.syriaca.org/