Skip to main content

Extract public repository data.

Project description

made-with-python GitHub license

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


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)

Uploaded Source

Built Distribution

gitprofile-0.3-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page