Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-crawler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-crawler

A web spider to crawl public github repositories

  • 0.0.6
  • PyPI
  • Socket score

Maintainers
1

Github Crawler

A web spider to crawl public github repositories

Built with ❤︎ and :coffee: by Karthik Hosur


A web spider to crawl public github repositories to collect data of github user profiles,repositories and user social counts for educational purpose only. The project was earlier built to collect data from github for academic data analysis project.

Features

  • Extract User Social Status
  • Extract Repository Names
  • Extract User Activity
  • Extract Repository Social Information
  • Extract Repository Data

Installation

  • You can install this package using
pip install github-crawler

Usage

Extract the profile information of a github user

  • Import it in your Python project
from github_crawler import user_profile

github_crawler.user_profile("karthikhosur") # Use the username of the user

Result

The module would return a dictionary with result as follows:

{'followers': 2,
 'following': 4,
 'stars': 5,
 'repositories': ['/karthikhosur/Github-Crawler',
  '/karthikhosur/FairCV',
  '/karthikhosur/Stop-Words-Remover-API',
  '/karthikhosur/BlogsParser-API',

Extract a Repository information

  • Import it in your Python project
from github_crawler import repo_info

github_crawler.repo_info("/karthikhosur/Github-Crawler")# Use the username with the repository name in the format given

Result

The module would return a dictionary with result as follows:

{'watchers': 1, 'stargazers': 1, 'forks': 1}

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc