csu / Pyquora
Licence: other
A Python module for fetching and parsing data from Quora.
Stars: β 121
Programming Languages
python
139335 projects - #7 most used programming language
Labels
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
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
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
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
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.
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
Check out the issues on GitHub and/or make a pull request to contribute!
pyquora
Projects using -
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].