All Projects β†’ csu β†’ Pyquora

csu / Pyquora

Licence: other
A Python module for fetching and parsing data from Quora.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pyquora

Devstats
πŸ“Š A CLI application that fetches stats from developer sites
Stars: ✭ 105 (-13.22%)
Mutual labels:  statistics
Impy
Impy is a Python3 library with features that help you in your computer vision tasks.
Stars: ✭ 109 (-9.92%)
Mutual labels:  statistics
Mlr
Machine Learning in R
Stars: ✭ 1,542 (+1174.38%)
Mutual labels:  statistics
Ml Videos
A collection of video resources for machine learning
Stars: ✭ 1,446 (+1095.04%)
Mutual labels:  statistics
Ptstat
Probabilistic Programming and Statistical Inference in PyTorch
Stars: ✭ 108 (-10.74%)
Mutual labels:  statistics
Knitr case studies
Inference case studies in knitr
Stars: ✭ 110 (-9.09%)
Mutual labels:  statistics
Laravel Stats
πŸ“ˆ Get insights about your Laravel or Lumen Project
Stars: ✭ 1,386 (+1045.45%)
Mutual labels:  statistics
Ml Dl Scripts
The repository provides usefull python scripts for ML and data analysis
Stars: ✭ 119 (-1.65%)
Mutual labels:  statistics
Isl Python
Porting the R code in ISL to python. Labs and exercises
Stars: ✭ 108 (-10.74%)
Mutual labels:  statistics
Mongoeye
Schema and data analyzer for MongoDB written in Go.
Stars: ✭ 113 (-6.61%)
Mutual labels:  statistics
Tennis Crystal Ball
Ultimate Tennis Statistics and Tennis Crystal Ball - Tennis Big Data Analysis and Prediction
Stars: ✭ 107 (-11.57%)
Mutual labels:  statistics
Tamicappmonitoring
Android App ζ— η—•θΏΉε…¨εŸ‹η‚Ή
Stars: ✭ 108 (-10.74%)
Mutual labels:  statistics
Sweetviz
Visualize and compare datasets, target values and associations, with one line of code.
Stars: ✭ 1,851 (+1429.75%)
Mutual labels:  statistics
Npm Stats
πŸ“ˆ npm package statistics dashboard build with vue
Stars: ✭ 106 (-12.4%)
Mutual labels:  statistics
Statespacemodels.jl
StateSpaceModels.jl is a Julia package for time-series analysis using state-space models.
Stars: ✭ 116 (-4.13%)
Mutual labels:  statistics
Your spotify
Self hosted Spotify tracking dashboard
Stars: ✭ 102 (-15.7%)
Mutual labels:  statistics
Parquet Index
Spark SQL index for Parquet tables
Stars: ✭ 109 (-9.92%)
Mutual labels:  statistics
Fitter
Fit data to many distributions
Stars: ✭ 118 (-2.48%)
Mutual labels:  statistics
Calculate All
calculate_all method for aggregate functions in Active Record
Stars: ✭ 118 (-2.48%)
Mutual labels:  statistics
Psycho.r
An R package for experimental psychologists
Stars: ✭ 113 (-6.61%)
Mutual labels:  statistics

pyquora

Note: Parts of this library are broken due to changes on Quora's end. Issues and pull requests welcome.

Build Status Code Coverage

A Python module to fetch and parse data from Quora.

Table of Contents

Installation

You will need Python 2.x and pip.

Install using pip:

pip install quora

Usage

User statistics

from quora import User

user = User('Christopher-J-Su')

# Get user activity
activity = user.activity

# Do stuff with the parsed activity data
print activity

# Get user statistics
stats = user.stats

# Take a gander
print stats

Questions

from quora import Quora

# Get question statistics
question = Quora.get_question_stats('what-is-python')

# question is:
# {
#     'want_answers': 3,
#     'question_text': u'What is python?', 
#     'topics': [u'Science, Engineering, and Technology', u'Technology', u'Electronics', u'Computers'], 
#     'question_details': None, 'answer_count': 1, 
#     'answer_wiki': '<div class="hidden" id="answer_wiki"><div id="ld_mqcfmt_15628"><div id="__w2_po3p1uM_wiki"></div></div></div>',
# }

Answer statistics

from quora import Quora

# The function can be called in any of the following ways.
answer = Quora.get_one_answer('http://qr.ae/6hARL')
answer = Quora.get_one_answer('6hARL')
answer = Quora.get_one_answer(question, author) # question and answer are variables

# answer is:
# {
#     'want_answers': 8, 
#     'views': 197, 
#     'author': u'Mayur-P-R-Rohith', 
#     'question_link': u'https://www.quora.com/Does-Quora-similar-question-search-when-posing-a-new-question-work-better-than-the-search-box-ove', 
#     'comment_count': 1, 
#     'answer': '...', 
#     'upvote_count': 5
# }

# Get the latest answers from a question
latest_answers = Quora.get_latest_answers('what-is-python')

Features

Currently implemented

  • User statistics
  • User activity
  • Question statistics
  • Answer statistics

To do

  • Detailed user information (followers, following, etc.; not just statistics)

Contribute

Gitter HuBoard

Check out the issues on GitHub and/or make a pull request to contribute!

Projects using pyquora

  • quora-api – A REST API for Quora.
  • quora-backup – A Python package and CLI for backing up Quora data.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].