Extract public repository data.
Project description
GitHub: github.com/euanacampbell/gitprofile
PyPi: pypi.org/project/gitprofile
Installation
pip install gitprofile
Import
from gitprofile.github import profile
Setup
from gitprofile.github import profile
github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)
Repositories
from gitprofile.github import profile
github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)
for repo in user_profile:
print( repo.title )
# github-public
# octopus_energy_api
# boggle_solver
# System-Monitoring
# Pathfinding-Algorithm
# pegasus
# euanacampbell.github.io
# sqlite-editor
# reddit-client
Accessible details
from gitprofile.github import profile
github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)
first_repo = user_profile.repositories[0]
# title
first_repo.title
#gitprofile
# url
first_repo.url
#https://github.com/euanacampbell/gitprofile
# description
first_repo.description
#Extract public repository data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitprofile-0.3.tar.gz
(3.2 kB
view hashes)