07 Nov 09

Answers to Python related questions that concern obscure or very subtle points

by mlb 16 years ago

17 Oct 09

PyThumbnail is a Python script that uses Gecko (Firefox’s rendering engine) to generate a thumbnail of a web page. It is headless, meaning you can call it from the command-line or from another program and it doesn’t require a running X server.

by mlb 16 years ago saved 2 times

03 Aug 09

Pashua is a tool for creating native Aqua dialog windows from programming languages that have none or only limited support for graphic user interfaces on Mac OS X. Currently, it supports AppleScript, Perl, PHP, Python, Rexx, Ruby, shell scripts and Tcl—and if your favourite language is not included in this list: writing the glue code for communicating with Pashua is pretty simple.

by piranha 16 years ago
Tags:

28 Jul 09

build cross-platform Python executables

by wakyct 16 years ago saved 2 times

27 Jul 09

Parsers made with funcparserlib are pure-Python LL(*) parsers. It means that it’s very easy to write them without thinking about look-aheads and all that hardcore parsing stuff. But the recursive descent parsing is a rather slow method compared to LL(k) or LR(k) algorithms.

So the primary domain for funcparserlib is parsing little languages or external DSLs (domain specific languages).

The library itself is very small. Its source code is only 0.5 KLOC, with lots of comments included. It features the longest parsed prefix error reporting, as well as a tiny lexer generator for token position tracking.

by piranha 16 years ago

14 Jul 09

minimal but powerful templating language

by piranha 16 years ago

29 Jun 09

CubicWeb is a semantic web application framework, licensed under the LGPL, that empowers developers to efficiently build web applications by reusing components (called cubes) and following the well known object-oriented design principles.

by piranha 16 years ago
Tags:

04 May 09

Will effectively daemonize a running Python script. You can start, stop and spawn a same script.

by piranha 17 years ago
Tags:

09 Apr 09

LEPL is a recursive descent parser, written in Python, which has a a friendly, easy–to–use syntax. The underlying implementation includes several features that make it more powerful than might be expected. For example, it is not limited by the Python stack, because it uses trampolining and co–routines. Multiple parses can be found for ambiguous grammars and it can also handle left–recursive grammars. The aim is a powerful, extensible parser that will also give solid, reliable results to first–time users.

by piranha 17 years ago