microtron: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
(updated to v0.16, now available from Pypi, value-class-pattern support)
 
Line 1: Line 1:
[http://github.com/amccollum/microtron Microtron] is a microformats [[parser]] and library for the Python
'''[http://github.com/amccollum/microtron Microtron]''' is a microformats [[parser]] and library for the Python
programming language.
programming language.


http://github.com/amccollum/microtron
Available from Pypi and github:
* http://pypi.python.org/pypi/Microtron/0.16
* http://github.com/amccollum/microtron


current version: 0.14
current version: 0.16


== authors and contributors ==
== authors and contributors ==
Line 16: Line 18:


== summary ==
== summary ==
Microtron is intended to be a general-purpose microformat parser/transformer.
Microtron is a general-purpose microformat parser/transformer.


It can operate on the definition file included in [[Optimus]], making it a close replacement for certain tasks, and can easily be extended with new formats without modifying the source.  The primary advantages are speed (> 100x faster that [[Optimus]] for some operations), simplicity (single file) and small code size (currently < 200 lines).
It can operate on the definition file included in [[Optimus]], making it a close replacement for certain tasks, and can easily be extended with new formats without modifying the source.  The primary advantages are speed (> 100x faster that [[Optimus]] for some operations), simplicity (single file) and small code size (currently < 200 lines).
Line 40: Line 42:
* [[rel-principles]]
* [[rel-principles]]
* [[rel-tag]]
* [[rel-tag]]
and patterns:
* [[value-class-pattern]] - value-title in particular


== installation ==
== installation ==

Latest revision as of 21:07, 2 October 2011

Microtron is a microformats parser and library for the Python programming language.

Available from Pypi and github:

current version: 0.16

authors and contributors

Microtron was originally written by Andrew McCollum at microformatsDevCamp 2009.

The following folks have contributed code to Microtron:

  • Andrew McCollum
  • Christophe Benz
  • Mark Ng
  • Ben Campbell

summary

Microtron is a general-purpose microformat parser/transformer.

It can operate on the definition file included in Optimus, making it a close replacement for certain tasks, and can easily be extended with new formats without modifying the source. The primary advantages are speed (> 100x faster that Optimus for some operations), simplicity (single file) and small code size (currently < 200 lines).

supported microformats

and patterns:

installation

With setuptools' easy_install:

   easy_install microtron

With pip:

  pip install microtron

documentation

  • ...

feedback and issues

  • ...

future plans

  • ...

see also