Questions tagged [python]

Accompanies [app]s written in, or [library]s meant to be used from, the Python programming language

Filter by
Sorted by
Tagged with
2 votes
0 answers
59 views

SO Link-only Parser: Parse Stack Overflow for potentially link-only answers

The provided Python script is designed to identify potentially "link-only" answers on Stack Overflow for a specified time period and set of tags. It does this by leveraging the Stack ...
-1 votes
0 answers
79 views

Meta SO Link-only Discussion Parser: Parse Meta Stack Overflow for Discussions About Link-only Answers

The inspiration for this project arose from my observations and personal challenges with the Stack Overflow moderation system, particularly when my "Not An Answer" flags for link-only ...
4 votes
0 answers
238 views

PyStackAPI - wrapper for the StackExchange API, written in Python

PyStackAPI The latest version - 0.2.0 What is PyStackAPI? PyStackAPI is a modern, 100% typed wrapper for the StackExchange API, written in Python. Documentation You can find documentation here: https:/...
3 votes
1 answer
927 views

How can I extract user information on Stack Overflow using Python and the Stack Overflow API?

I am new to Python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For example, can I extract the user: name bio and number of questions ...
193 votes
20 answers
14k views

Flack Overstow - Generate spam from Stack Exchange posts

Online demo courtesy of Nathan Osman: http://quickmediasolutions.com/flack Note: this tool now works with all Stack Exchange sites. Just paste the URL of your profile and the app will take care of the ...
7 votes
0 answers
631 views

OBSOLETE - Stacktistics: Show recent popular languages, mobile platforms and web techs based on question counts

Screenshot / Code Snippet About You may wonder what kind of languages, mobile platforms, or web technologies are most popular these days. stacktistics shows the popularity of programming languages, ...
21 votes
3 answers
2k views

StackTray: The Stack Overflow tray application

Screenshot Icon on left Hover over icon Context menu Reputation Alerts About This application sits in your system tray and periodically checks Stack Overflow for any new badges or ...
6 votes
1 answer
393 views

Stack-Trac - List stackoverflow/serverfault/... questions that are related to your Trac tickets

About This little app will look at the summary from the currently viewed Trac ticket and find related questions & answers on stackoverflow, or other stackexchange sites. Screenshot stack-trac ...
1 vote
1 answer
3k views

JSONDecodeError: Expecting value: line 3 column 1 (char 3)

I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error: JSONDecodeError: Expecting value: line 3 column 1 (char 3) Here is my script: ...
4 votes
0 answers
370 views

StackExchangePy: Python3 wrapper for StackExchange API

About StackExchangePy is another python package for StackExchange API, written in python3. License The package is under GPL3 license. Download To install it, type pip3 install stackexchangepy in your ...
5 votes
0 answers
288 views

Stack Exchange Dump 2 MySQL - Load the data dump into a database with Python

I created a a utility to load the Stack Exchange data dump into a MySQL database: https://github.com/stephenostermiller/stack-exchange-2-mysql It is written in Python so it should in theory work on ...
1 vote
2 answers
713 views

Fetch all questions of a particular tag from the Stack Exchange API in Python

I am trying to fetch all questions of the Swift tag from Stack Overflow. I created the query using https://api.stackexchange.com/docs/questions and wrote a simple wrapper in Python. def fetch_question(...
9 votes
0 answers
294 views

Answerable, a recommender of unanswered questions

About Answerable is a Python program that finds unanswered questions on Stack Overflow that you could be able to answer. Background At first I didn't know about the StackExchange API, so I planned to ...
19 votes
6 answers
4k views

Stack.PY - A Python Module for Accessing the Stack Exchange 2.1 API

Now on PyPI! You can now find Stack.PY on PyPI, Python's package index. This means that you can install the package simply by running the following command in a terminal: pip install stackpy About ...
127 votes
4 answers
22k views

StackPrinter: The Stack Exchange Printer Suite

UPDATE: Version 1.1 - MySE section, PrettyPrint, StackPrinter API Screenshots: App Homepage Printable view Logo: http://www.stackprinter.com StackPrinter is a website that pulls the main ...
1 vote
1 answer
177 views

Non-verbatim search strings in py-stackexchange

I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u import sys sys....
48 votes
1 answer
28k views

Stackdump, an offline browser for StackExchange sites

Screenshots (source: edgylogic.com) (source: edgylogic.com) (source: edgylogic.com) About Stackdump was conceived for those who work in environments that do not have easy access to the ...
1 vote
1 answer
273 views

"client_id not provided" when trying to obtain an access_token

So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back. Instead I get an ...
12 votes
2 answers
1k views

Sanction - An OAuth 2.0 implementation

Code Snippet from sanction.client import Client from sanction.adapters.google import Google client = Client(Google, { "google.client_id": "myclientid", "google.client_secret": "...
3 votes
0 answers
161 views

davidism's sandbox and misc apps

This app registration supports development environments for the following projects by enabling OAuth and API access locally: sopython (GitHub) is the official website of the Python chat on Stack ...
9 votes
0 answers
2k views

Stack Overflow CLI

SoCLI Stack overflow command line written in python. Using SoCLI you can search and browse stack overflow without leaving the terminal. Just use the socli command: Installation Supported ...
52 votes
6 answers
4k views

OBSOLETE - Stack2Blog - Turning your answers into blogs (For "sale")

Stack2Blog for Sale Hi everyone! Since we're working on a few other projects, we haven't worked on Stack2Blog in a while. We still think it can be useful, especially with the rise of platforms like ...
3 votes
0 answers
2k views

RTFM: a discord bot which runs code and queries documentations

This post is to ensure the bot described can use the API with a key ; it can search questions from any SE website This bot is still in development. However a stable version is already running 24/7 (...
6 votes
1 answer
1k views

OBSOLETE - pyso.py - Python Stack Overflow library

Screenshot / Code Snippet import pyso # Install the Server Fault API version 1.0. pyso.install_site(pyso.APISite("api.serverfault.com", "1.0")) # Get all the names of the moderators. print list((m["...
21 votes
1 answer
867 views

Stackathlon 2.5: Leader board for users active on multiple sites

tl;dr New! See "More Athlons" below. Screenshot About It's surprising how few people are active on multiple Stack Exchange sites. Well, maybe not so surprising. But it's a big world; you'd ...
2 votes
0 answers
320 views

XMPPExchange: An XMPP bridge for chat

Screenshots You can use it to use chat on CLI too, with the help of profanity: Note: You need to run /online when you login to enable relaying. (Quick how to use: apt-get install profanity, ...
3 votes
1 answer
968 views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
-4 votes
1 answer
132 views

How to pass the api client credentials for stackexchange api in python [duplicate]

I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys. My problem is,...
133 votes
30 answers
16k views

Py-StackExchange: An API wrapper for Python

UPDATE: 2.x support is now mainline! Please read the wiki page for important information about the update. A warm welcome to you, traveller. You have arrived at the home of Py-StackExchange, the ...
4 votes
1 answer
2k views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
1 vote
1 answer
117 views

Stack API doesn't return json with encoding of UTF-8

Here is the query RESULT { "items": [ { "badge_counts": { "bronze": 2, "silver": 1, "gold": 0 }, ...
3 votes
2 answers
1k views

Python library for the StackExchange v2 API? [duplicate]

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
9 votes
0 answers
155 views

SE Chat Flagger Bot

This is a bot that sits in the MSE tavern. What does it do? Smokey sends in a spam report. You reply tp with a reason and it will flag the post accordingly. NOTES: This does not flag based on how ...
10 votes
1 answer
1k views

SEAPI - A lightweight Python wrapper for the Stack Exchange API

About A lightweight Python wrapper for the Stack Exchange API v2.1. Built with Requests. Why yet another SE API Python wrapper? (I'm aware of Stack.PY - A Python Module for Accessing the Stack ...
2 votes
0 answers
80 views

Auto categorize questions (Placeholder) [closed]

Screenshot / Code Snippet I am just starting to write the code. Will update as I make progress. My plan is as following: Scrape about 50 questions and answers per tag from select set of websites. ...
1 vote
1 answer
85 views

Is my script's API usage okay?

I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2. I've already asked there for a review of that Python code, but I would ...
5 votes
0 answers
716 views

StackAPI - A(nother) Python wrapper

This is a(nother) Python wrapper for the Stack Exchange API. I wrote this to assist with a couple of my projects that needed to do a lot of API interactions. After using it and polishing it up for as ...
1 vote
1 answer
116 views

I want a python program example for more requests a day

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable ...
9 votes
1 answer
234 views

SCombinator - Combined Questions of All the sites that API supported

About Just another combination of all the sites that API supported. If you use all those sites, it would be very useful, because you can surf all at one place. Almost real-time like Stack Overflow ...
36 votes
3 answers
8k views

StackTracker - Cross-platform desktop notification app

Screenshot / Code Snippet Current Version: Beta build v1.0 About StackTracker, a cross-platform desktop notifier for the StackExchange API built with PyQt4 The application displays a task tray ...
3 votes
1 answer
122 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
7 votes
0 answers
1k views

Slack-Overflow - A programmer's best friend, now in Slack

A quick hack made in a couple of hours. A programmer's best friend, now in Slack. Search StackOverflow right from Slack without coming off as dumb. Setup is super simple and straightforward. https:/...
3 votes
0 answers
140 views

Is there any app that could extract and manage questions from Stack Overflow?

I'm looking for help with a Stack Overflow application that could do the following things for me: Extract the top voted questions at a given date and tag Extract the answered questions of some given ...
4 votes
0 answers
128 views

Python library 2.2 API Wrapper?

Is there a Python library that encompasses the new functionality in the 2.2 API? I've seen this question and this question, and the comments indicating that libraries were being created and updated ...
2 votes
1 answer
118 views

AttributeError with Py-StackExchange

i'm trying to execute this python script : #! /usr/bin/python import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) my_favourite_guy = so.user(41981) print my_favourite_guy....
3 votes
0 answers
291 views

stack2py - A Python wrapper for API v2 [alpha]

About stack2py is a library which wraps the SE API (v2.1) for Python. It aims to provide a clean and complete interface to the user, giving them complete control and accessibility. Although, ...
1 vote
0 answers
226 views

Attribute error while using the stackoverflow api wrapper for python on IDLE

This is the code that I use to access Stack Overflow: from stackexchange import Site, StackOverflow so = stackexchange.StackOverflow() for q in so.questions(pagesize=50): print q.title It runs ...
8 votes
0 answers
168 views

StackIRC - Posting Questions from Stack Exchange Sites to IRC Channels

Screenshot http://static.quickmediasolutions.com/media/screenshots/irc.png About Similar to the Twitter feeds for each Stack Exchange site, this small IRC bot retrieves questions from any Stack ...
3 votes
0 answers
274 views

Calibre recipe for StackExchange recent question feeds

The Calibre ebook manager has a recipe system to generate ebooks from websites/news feeds in order to read them offline. The following recipe creates an ebook from all StackExchange news feeds: from ...
7 votes
0 answers
206 views

Quick Media Solutions - The First Tool to Take Advantage of Write Access in v2.1 of the API!

Website http://quickmediasolutions.com Screenshot About Quick Media Solutions is my personal website where most of the web services and tools I have written reside. I recently rewrote the entire ...