Agha: Another GitHub API
Yes, Agha is another GitHub API library for Python 2.x development.
Support basic CRUD operations throw the official REST API v3: http://developer.github.com/v3/
Example:
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
api.delete_myrepo("mytestrepo1")
# Show my profile information
print "USER: %(login)s, NAME: %(name)s, EMAIL: %(email)s" % api.get_myprofile()
Requirements
Python 2.6+
Requests library
About
This source code is available in https://github.com/mrsarm/python-agha
Developed by Mariano Ruiz <mrsarm@gmail.com>
License: LGPL-3 (C) 2014
Metadata
Release files for agha 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agha-0.1.0.tar.gz | 17.6 kB | Without provenance | Details for agha-0.1.0.tar.gz |
Release files / agha-0.1.0.tar.gz
| Download URL | agha-0.1.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e8cd753687b75a24d56529e08881dc731db0c6cedd2937265fc5b43432a229b
|
|
BLAKE2b-256 checksum How to use checksums |
eb6a446fa3ece44f4d45693ed2b5ccba64805d9f738f658b6b5c6e5a711a352f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for agha 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.