Skip to main content

A python library to scrape github

Project description

Gitscrpy


  • A python library to scrape github.
  • Simple to use syntax
  • Install 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

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

pysondb-0.1.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pysondb-0.1.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file pysondb-0.1.5.tar.gz.

File metadata

  • Download URL: pysondb-0.1.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pysondb-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d2fc4e24afa7ce021137d8abfec336f655563d55bc40a609feaa474e703ee5ac
MD5 397930a16a8e18856697c9e1872c580b
BLAKE2b-256 546a15777ee302531cc294a344c613df101fc4fe11db0422780022c0b8eebaf2

See more details on using hashes here.

File details

Details for the file pysondb-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pysondb-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pysondb-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a860401eb076863beefc85bd914d61aeddd79ff1af83f474a52363fd6134b8db
MD5 b11fed1a6a9d7e529c664b2e2659bffd
BLAKE2b-256 4699aeff93b7ba74a06848e267dc4101c09b4f21638143ba85e918f980f59897

See more details on using hashes here.

Supported by

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