Gitscrpy
A python library to scrape github.Simple to use syntaxInstall using pip
Install
pip install gitscrpy
Run
from gitscrpy import getgit
# Imports the package
a=getgit.gitinit("fredysomy")
# Initialize
# User repository functions
a.getrepo(n)
# return the first n repos in the users repository list.
a.getrepo(2)
# [{'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +âš¡ Instant Hosting in The Web.âš¡', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}, {'name': 'fredysomy', 'url': 'https://github.com/fredysomy/fredysomy', 'stars': '4'}]
a.getrepo(1)
# {'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +âš¡ Instant Hosting in The Web.âš¡', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}
# User details functions
a.getuser("star")
# Retrun no of stars user have
# 172
a.getuser("name")
# Returns the name of the User
# Fredy Somy
a.getuser("u_name")
# Returns the Username of the User
# fredysomy
a.getuser("follower")
# Returns no of followers the User
# 25
a.getuser("following")
# Returns the no of following the User
# 60
a.getuser("img")
# Returns the link to the User avatar
# https://hfsjdhfjshd.com
Metadata
Release files for gitscrpy 0.3.2.3
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 | |
|---|---|---|---|---|
| gitscrpy-0.3.2.3.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitscrpy-0.3.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / gitscrpy-0.3.2.3.tar.gz
| Download URL | gitscrpy-0.3.2.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a704c18cf53c7fa3b01294c8db88a9c3d67b107d732697fc276ec35571d0eb21
|
|
BLAKE2b-256 checksum How to use checksums |
9c5b52170d2e2ad403233bd6631b239782815b5473cdf2c3f158a3209bd1104d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.4
|
Release files / gitscrpy-0.3.2.3-py3-none-any.whl
| Download URL | gitscrpy-0.3.2.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24dc6535f0a71333c223d207e762074b0e8dfc0f2d2a9d2c28844bb2a44c448f
|
|
BLAKE2b-256 checksum How to use checksums |
d58c83c271b45e83789b556c880b4a40661c63e93266c64e6acb6dca04e74e82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.4
|
Security for gitscrpy 0.3.2.3
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.