Git Product home page Git Product logo

python-gems's Introduction

Python Gems


A collection of python scripts that solve interesting problems.

  • async_sched.py - A asynchronous scheduler implemented using coroutines, in principle similar to Tornado's ioloop

  • config_parser.py - My implementation of python standard library's ConfigParser module

  • dancing_links.py - My implementation of Dr. Knuth's dancing links algorithm, with a demo to solve N-Queen problem

  • disjoint_set.py - Disjoint set is a very important data structure, this is my naive implementation

  • fileinput.py - My implementation of python standard library's fileinput module

  • go_repl.py - A REPL for golang, support executing Go statements with instant feedback

  • html_template.py - A simple html template engine, supporting similar syntax as Django template language

  • lisp.py - A Lisp parser implemented in python, inspired by Peter Novig's essay

  • memento.py - Very elegant memento design pattern impl, copied from activestate recipes

  • patch_module.py - Patch python modules lazily, only when they are imported

  • quine.py - A python script to print itself

  • rpc.py - Simplistic RPC for python

  • timeit.py - My partial implementation of standard library's timeit module

  • emojify - Render an image with emoji's based on the colors in original image

  • web_terminal - A remote console from a web browser

  • online_judge - A OJ system like leetcode, with a small problemset, supporting only python solutions

  • image_crawler - A web image crawler written based on Tornado

  • http_server - A basic http server supporting static files/wsgi apps/proxying

python-gems's People

Contributors

john2ksonn avatar realhacker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.