## 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.
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.
Metadata
Release files for gitpub 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 | |
|---|---|---|---|
| gitpub-1.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitpub-1.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.2 kB
Release files / gitpub-1.0.tar.gz
| Download URL | gitpub-1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10cfbd46b96873f7b9f6274b9adb1b151d726e0170e5cac2f05ff6cd6dc5ef53
|
|
BLAKE2b-256 checksum How to use checksums |
e5b9275dd4163b1a6e814bdccf22925294c31eabe89685d1d01b4699dfc42364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / gitpub-1.0-py2-none-any.whl
| Download URL | gitpub-1.0-py2-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
4383e081b105848d407ddb23e73c11bdc6429f0907838617fcf9c578c4b95c6f
|
|
BLAKE2b-256 checksum How to use checksums |
0bd2d889af43abeff0c1013b98c16055a9ea25ded230a80709796e66e5938b02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |