Skip to content

PonteIneptique/flask-github-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Status

Build Status

PyPI version

Documentation

What ?

Flask Github proxy is a flask extension to provide saving resources to GitHub. To use this service, you will need a github token (Generate token : https://github.com/settings/tokens )

Installation

To install it, simply do : pip3 install flask_github_proxy or

git clone https://github.com/ponteineptique/flask-github-proxy.git
cd flask-github-proxy
python3 setup.py install

Example

from flask import Flask
from flask_github_proxy import GithubProxy
from flask_github_proxy.models import Author

app = Flask("name")
proxy = GithubProxy(
    "/proxy",
    "ponteineptique/dummy1",
    "alpheios-project/dummy1",
    secret="something",
    token="Github Token",
    app=app,
    origin_branch="master",
    default_author=Author(
        "Github Proxy",
        "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.

NEH

About

Github proxy to push resource to github

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages