Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Agha, Another GitHub API

Project Description

Yes, Agha is another GitHub API library for Python 2.x development.

Support basic CRUD operations throw the official REST API v3:


 from agha import GitHubApi
 api = GitHubApi("myuser", "mypass")

 # Create a repository
 api.create_repo({'name': 'mytestrepo1', 'description': 'Github Test 1', 'auto_init': True}

 # Edit the repo description
 api.edit_myrepo("mytestrepo1", {'description': 'Another description for my repo'})

 # List my repositories
 for repo in api.get_myrepos():
     print "NAME: %(name)s, DESCRIPTION: %(description)s, URL: %(html_url)s" % repo

 # Delete the repo

# Show my profile information
print "USER: %(login)s, NAME: %(name)s, EMAIL: %(email)s" % api.get_myprofile()


  • Python 2.6+
  • Requests library


This source code is available in

Developed by Mariano Ruiz <>

License: LGPL-3 (C) 2014

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
agha-0.1.0.tar.gz (17.6 kB) Copy SHA256 Checksum SHA256 Source Feb 13, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting