All Projects → drathier → Stack Overflow Import

drathier / Stack Overflow Import

Import arbitrary code from Stack Overflow as Python modules.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Stack Overflow Import

stackoverflow-slack-bot
Track a tag on StackOverflow and push to Slack
Stars: ✭ 17 (-99.51%)
Mutual labels:  stackoverflow
jobs-stackoverflow
Making it easy to integrate with the Stack Overflow job board API
Stars: ✭ 17 (-99.51%)
Mutual labels:  stackoverflow
Shrimpit
Shrimpit 🍤 is a small CLI analysis tool for checking unused JavaScript, JSX & Vue templates ES6 exports in your project.
Stars: ✭ 255 (-92.67%)
Mutual labels:  import
stack
An Android app for browsing Stack Overflow and other Stack Exchange sites.
Stars: ✭ 218 (-93.74%)
Mutual labels:  stackoverflow
hexo-include-markdown
Easily load markdownfiles in Markdown .
Stars: ✭ 16 (-99.54%)
Mutual labels:  import
android-questions
Small projects for asking at Stackoverflow
Stars: ✭ 31 (-99.11%)
Mutual labels:  stackoverflow
zabbix-review-export-import
Clone of zabbix-review-export with added import object(s) feature
Stars: ✭ 36 (-98.97%)
Mutual labels:  import
Csvkeychain
Import/export between Apple Keychain.app and plain CSV file.
Stars: ✭ 281 (-91.93%)
Mutual labels:  import
mightyscape-1.X
A maintained extension collection for Inkscape 1.0+, working on Windows and Linux
Stars: ✭ 23 (-99.34%)
Mutual labels:  import
project-migration-tools
Project Migration tools to help you migrating to IAR Embedded Workbench more efficiently.
Stars: ✭ 36 (-98.97%)
Mutual labels:  import
filmow to letterboxd
🎥 💚To import Filmow watched movies in Letterboxd. The script can be found on the letterboxd page about importing data under "Additional tools".
Stars: ✭ 13 (-99.63%)
Mutual labels:  import
XToolset
Typed import, and export XLSX spreadsheet to JS / TS. Template-based create, render, and export data into excel files.
Stars: ✭ 110 (-96.84%)
Mutual labels:  import
importnb
notebook files as source
Stars: ✭ 47 (-98.65%)
Mutual labels:  import
borg-import
importer for rsync+hardlink based backups / rsnapshot
Stars: ✭ 33 (-99.05%)
Mutual labels:  import
Xnalaramesh
Blender addon Import/Export XPS Models, Poses
Stars: ✭ 262 (-92.47%)
Mutual labels:  import
dynamic-import-assets
Dynamic Imports for JavaScript and CSS.
Stars: ✭ 20 (-99.43%)
Mutual labels:  import
owl2neo4j
Convert OWL to labeled property graph and import into Neo4J
Stars: ✭ 42 (-98.79%)
Mutual labels:  import
Eslint Plugin Import
ESLint plugin with rules that help validate proper imports.
Stars: ✭ 3,722 (+6.95%)
Mutual labels:  import
Node Firestore Import Export
Firestore data import and export
Stars: ✭ 271 (-92.21%)
Mutual labels:  import
unimport
A linter, formatter for finding and removing unused import statements.
Stars: ✭ 119 (-96.58%)
Mutual labels:  import

StackOverflow Importer

Do you ever feel like all you’re doing is copy/pasting from Stack Overflow?

Let’s take it one step further.

from stackoverflow import quick_sort will go through the search results
of [python] quick sort looking for the largest code block that doesn’t
syntax error in the highest voted answer from the highest voted question
and return it as a module. If that answer doesn’t have any valid python
code, it checks the next highest voted answer for code blocks.
>>> from stackoverflow import quick_sort, split_into_chunks

>>> print(quick_sort.sort([1, 3, 2, 5, 4]))
[1, 2, 3, 4, 5]

>>> print(list(split_into_chunks.chunk("very good chunk func")))
['very ', 'good ', 'chunk', ' func']

>>> print("I wonder who made split_into_chunks", split_into_chunks.__author__)
I wonder who made split_into_chunks https://stackoverflow.com/a/35107113

>>> print("but what's the license? Can I really use this?", quick_sort.__license__)
but what's the license? Can I really use this? CC BY-SA 3.0
>>> assert("nice, attribution!")

This module is licensed under whatever license you want it to be as long as the license is compatible with the fact that I blatantly copied multiple lines of code from the Python standard library.

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].