microtron: Difference between revisions
Jump to navigation
Jump to search
(→installation: add some installation notes.) |
(updated to v0.16, now available from Pypi, value-class-pattern support) |
||
(4 intermediate revisions by 3 users not shown) | |||
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. | current version: 0.16 | ||
== authors and contributors == | == authors and contributors == | ||
Line 14: | Line 14: | ||
* Andrew McCollum | * Andrew McCollum | ||
* Christophe Benz | * Christophe Benz | ||
* Mark Ng | * [[User:MarkNg|Mark Ng]] | ||
* Ben Campbell | |||
== summary == | == summary == | ||
Microtron is | 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 < | 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). | ||
* Requires [http://codespeak.net/lxml/ lxml] and [http://pypi.python.org/pypi/isodate/ isodate] | * Requires [http://codespeak.net/lxml/ lxml] and [http://pypi.python.org/pypi/isodate/ isodate] | ||
== supported microformats == | == supported microformats == | ||
* [[ | * [[hatom]] | ||
* [[ | * [[haudio]] | ||
* [[hcalendar]] | |||
* [[hcard]] | * [[hcard]] | ||
* [[ | ** [[adr]] | ||
* [[ | ** [[geo]] | ||
* [[hlisting]] | |||
* [[hnews]] | * [[hnews]] | ||
* [[hresume]] | |||
* [[hreview]] | * [[hreview]] | ||
* [[ | * [[votelinks]] | ||
* [[ | * [[xfn]] | ||
* [[xfolk]] | * [[xfolk]] | ||
* [[rel-license]] | |||
* [[rel- | |||
* [[rel-nofollow]] | * [[rel-nofollow]] | ||
* [[rel-principles]] | * [[rel-principles]] | ||
* [[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
- hatom
- haudio
- hcalendar
- hcard
- hlisting
- hnews
- hresume
- hreview
- votelinks
- xfn
- xfolk
- rel-license
- rel-nofollow
- rel-principles
- rel-tag
and patterns:
- value-class-pattern - value-title in particular
installation
With setuptools' easy_install:
easy_install microtron
With pip:
pip install microtron
documentation
- ...
feedback and issues
- ...
future plans
- ...