Skip to main content
## Github library to interact with it's public API

Requirements:
<br>------------------
* [pytest](http://doc.pytest.org/en/latest/): Uses __pytest__ as the unit-testing framework. Install using <code>pip install pytest</code>.
* [requests](https://pypi.python.org/pypi/requests/2.11.1): Uses __requests__ for interacting with the various api urls.

How to use:
<br>--------------
* __Load Github Profile & Public Repo details of a user__: Loading a github profile just needs a _username_ to startwith. Here is a small demo with _username_ [__demfier__](https://github.com/Demfier).<br>

Type the following commands in python shell:

```python
import gitpub

username = 'demfier'
profile = gitpub.Profile()
profile.load_gh_profile(username) # loads profile details of `username`
profile.get_public_repos() # loads all the public repo details of `username`
```

* __Run Tests__: Just run the command<code>py.test -v</code> to see the test results.


Download files

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

Source Distribution

gitpub-1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitpub-1.0-py2-none-any.whl (6.8 kB view details)

Uploaded Python 2

File details

Details for the file gitpub-1.0.tar.gz.

File metadata

  • Download URL: gitpub-1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitpub-1.0.tar.gz
Algorithm Hash digest
SHA256 10cfbd46b96873f7b9f6274b9adb1b151d726e0170e5cac2f05ff6cd6dc5ef53
MD5 a59ea8cef3614ef58bcb5ef63538c3ad
BLAKE2b-256 e5b9275dd4163b1a6e814bdccf22925294c31eabe89685d1d01b4699dfc42364

See more details on using hashes here.

File details

Details for the file gitpub-1.0-py2-none-any.whl.

File metadata

  • Download URL: gitpub-1.0-py2-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitpub-1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4383e081b105848d407ddb23e73c11bdc6429f0907838617fcf9c578c4b95c6f
MD5 d0db9faf4c78bffcc18fc5889b137037
BLAKE2b-256 0bd2d889af43abeff0c1013b98c16055a9ea25ded230a80709796e66e5938b02

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page