mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Upload to the Python Package Index
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
*.pyc
|
||||
GithubCredentials.py
|
||||
.coverage
|
||||
/dist
|
||||
/MANIFEST
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Tutorial
|
||||
========
|
||||
|
||||
First create a Gihub instance::
|
||||
|
||||
from github import Github
|
||||
|
||||
g = Github( "user", "password" )
|
||||
|
||||
Then play with your Github objects::
|
||||
|
||||
for repo in g.user().get_repos():
|
||||
print repo.name
|
||||
repo.edit( has_wiki = False )
|
||||
|
||||
Reference documentation
|
||||
=======================
|
||||
|
||||
See https://github.com/jacquev6/PyGithub/blob/master/Reference.md
|
||||
@@ -1,5 +1,11 @@
|
||||
This is a Python library to access the [Gitub API v3](http://developer.github.com/v3).
|
||||
|
||||
Download and install
|
||||
====================
|
||||
|
||||
This package is in the [Python Package Index](http://pypi.python.org/pypi/PyGithub).
|
||||
You can also clone it on [Github](http://github.com/jacquev6/PyGithub).
|
||||
|
||||
Tutorial
|
||||
========
|
||||
|
||||
@@ -11,9 +17,9 @@ First create a Gihub instance:
|
||||
|
||||
Then play with your Github objects:
|
||||
|
||||
for repository in g.user().get_repositories():
|
||||
print repository.name
|
||||
repository.edit( has_wiki = False )
|
||||
for repo in g.user().get_repos():
|
||||
print repo.name
|
||||
repo.edit( has_wiki = False )
|
||||
|
||||
Reference documentation
|
||||
=======================
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
setup(
|
||||
name = 'PyGithub',
|
||||
version = '0.1-beta',
|
||||
description = 'Use the full Github API v3',
|
||||
author = 'Vincent Jacques',
|
||||
author_email = 'vincent@vincent-jacques.net',
|
||||
url = 'http://github.com/jacquev6/PyGithub',
|
||||
long_description = open( "CheeseShopDescription.rst" ).read(),
|
||||
packages = [
|
||||
'github'
|
||||
],
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: Web Environment",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Topic :: Software Development",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user