ANN: Amara XML Toolkit 2.0a4

32 views
Skip to first unread message

Uche Ogbuji

unread,
Mar 5, 2010, 12:53:18 PM3/5/10
to ak...@googlegroups.com
* http://wiki.xml3k.org/Amara2/
* http://hg.4suite.org/amara/trunk
* http://cheeseshop.python.org/pypi/Amara/
* ftp://ftp.4suite.org/pub/Amara/

What is Amara?  Amara XML Toolkit is a collection of Python tools and libraries
for XML processing, designed to balance the native idioms of Python with the
native character of XML.  It is the successor to both the XML components of the
4Suite project, and the Amara 1.x project, which used to build on 4Suite.

Amara is a component of the Akara project, which is a system for building
data services and processing for the Web.

* http://wiki.xml3k.org/Akara/

Amara 2.x is discussed on the Akara mailing list:

* http://groups.google.com/group/akara

For those familiar with 4Suite and Amara 1.x, the best way to get a sense of the
new version is by reading the comprehensive "What's new" document:

* http://wiki.xml3k.org/Amara2/Whatsnew

The biggest change, besides folding 4Suite into Amara, is a performance boost.
Amara has been re-engineered from the ground up to boost performance.  For a
comparison with 4Suite and earlier Amara versions, see:

* http://wiki.xml3k.org/Amara2/Performance

Also, the Amara API, which has always won generous praise, has been improved
even more.  There are far too many changes to detail in this announcement, but
for a flavor of Amara 2.x, including for those who have never used older versions,
follow the tutorial.

* http://wiki.xml3k.org/Amara2/Tutorial

Some quick highlights:

* Includes a module for reading "tag soup" HTML (requires install of html5lib)
* Includes an XML modeling system that allows you to declare rules for
  even simpler and more natural processing
* Includes a very friendly and flexible XML output module
* Heavy use of Python iterators and "lazy" operations
* A Python iterator-based dispatcher system, much like XSLT, but for those who
  insist on loathing XSLT

Amara Bindery: XML as easy as py
--------------------------------

A core concept of Amara is the bindery, which turns XML into a data structure of
Python objects corresponding to the vocabulary used in the XML document,
for maximum clarity.

Bindery turns the document

  <monty>
    <python spam="eggs">What do you mean "bleh"</python>
    <python ministry="abuse">But I was looking for argument</python>
  </monty>

Into a set of objects such that you can write

  binding.monty.python.spam

In order to get the value "eggs" (as a Python Unicode object) or

  binding.monty.python[1]

In order to get the element object with the contents "But I was looking for argument".

License
-------

Amara is open source, provided under the the Apache 2.0 license. See the bundled files
LICENSE and NOTICE for details.

Installation
------------

Amara 2.x requires Python 2.5 or 2.6.  It supports distibute (http://pypi.python.org/pypi/distribute) or pip (http://pypi.python.org/pypi/distribute), as well as setuptools so the following work:

easy_install amara
pip install amara


--
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
Linked-in profile: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji

Luis Miguel Morillas

unread,
Mar 6, 2010, 4:25:46 AM3/6/10
to ak...@googlegroups.com


2010/3/5 Uche Ogbuji <uc...@ogbuji.net>

Hello, Uche,

Is this an official announcement? Are you going to send it to python-announce list?


Regards,

--

Luis Miguel

--
You received this message because you are subscribed to the Google Groups "akara" group.
To post to this group, send email to ak...@googlegroups.com.
To unsubscribe from this group, send email to akara+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akara?hl=en.

Uche Ogbuji

unread,
Mar 6, 2010, 10:57:56 AM3/6/10
to ak...@googlegroups.com
On Sat, Mar 6, 2010 at 2:25 AM, Luis Miguel Morillas <mori...@gmail.com> wrote:

Is this an official announcement? Are you going to send it to python-announce list?

Not yet.  Consider it an internal announcement.  We still don't have Windows packages, and it's been so long since the last official announcement that it would be nice have this buffer against brown-paper-bag bugs.

I'd encourage everyone to try out the package and send along your feedback.

And I'd be grateful for recipes and packages for Windows and any other platform.

Thanks.

Luis Miguel Morillas

unread,
Mar 6, 2010, 5:16:00 PM3/6/10
to ak...@googlegroups.com

2010/3/6 Uche Ogbuji <uc...@ogbuji.net>

On Sat, Mar 6, 2010 at 2:25 AM, Luis Miguel Morillas <mori...@gmail.com> wrote:

Is this an official announcement? Are you going to send it to python-announce list?

Not yet.  Consider it an internal announcement.  We still don't have Windows packages, and it's been so long since the last official announcement that it would be nice have this buffer against brown-paper-bag bugs.
 

I've uploaded two new Windows Installers to http://wiki.xml3k.org/Amara2/Windows . I'll test them this week.

-- lm

 
I'd encourage everyone to try out the package and send along your feedback.

And I'd be grateful for recipes and packages for Windows and any other platform.

Thanks.
--

cleto

unread,
Apr 5, 2010, 11:56:09 AM4/5/10
to akara
Hi!

I'm packaging Amara 2.0a4 for Debian to update the actual python-amara
package (that is too old). I have the binary packages ready for
uploading but I have some copyright issues.

First one, I need to know who is the upstream author. If i don't miss
something, in the NOTICE file appears the next text:

Amara 2.0 and Akara 2.0
Copyright 2008 Zepheira LLC

This product includes software developed at
The XML3K project (http://wiki.xml3k.org)

The copyright is for Zepheira LLC but... may I consider that is the
upstream author too?. In the old package, upstream author is:

Upstream Author: Uche Ogbuji <uche.ogbuji at gmail.com>

I just want to know if there are any change about this.

And, finally, what is the licence of used code from the XML3K
project?. Is it Apache 2.0 too?

Thanks a lot for your job.

Regards,
Cleto

Uche Ogbuji

unread,
Apr 5, 2010, 1:39:12 PM4/5/10
to ak...@googlegroups.com
On Mon, Apr 5, 2010 at 9:56 AM, cleto <cleto....@gmail.com> wrote:
Hi!

I'm packaging Amara 2.0a4 for Debian to update the actual python-amara
package (that is too old). I have the binary packages ready for
uploading but I have some copyright issues.

One of the best things about a strict packaging system such as Debian's is we're forced to clarify all this :)

 
First one, I need to know who is the upstream author. If i don't miss
something, in the NOTICE file appears the next text:

  Amara 2.0 and Akara 2.0
  Copyright 2008 Zepheira LLC

  This product includes software developed at
  The XML3K project (http://wiki.xml3k.org)

The copyright is for Zepheira LLC but... may I consider that is the
upstream author too?. In the old package, upstream author is:

Upstream Author: Uche Ogbuji <uche.ogbuji at gmail.com>

I just want to know if there are any change about this.

The reason I wanted to use Zepheira for the author to avoid the problem if I'm hit by a bus.  Would this work?:

Upstream Author: Uche Ogbuji <uc...@ogbuji.net> and Zepheira, Inc. <con...@zepheira.com>

If there is any form of upstream cc, how about this mailing list?  In general, does Debian prefer to have a mailing list for upstream contact?  That would seem to make sense.

As for copyright, I do see it's all over the place.  We'll work to standardize on:

Copyright 2008-2010 Uche Ogbuji and Zepheira LLC
 
And, finally, what is the licence of used code from the XML3K
project?. Is it Apache 2.0 too?

Well, XML3K is really a loose umbrella project, so it's probably better to remove it from any ownership/copyright/upstream notices.

Thanks.

cleto

unread,
Apr 6, 2010, 1:27:27 PM4/6/10
to akara, Uche Ogbuji
Hi Uche!

There is no problem about if the upstream contact email is a mailing
list, but I think it is good your porposal:

Upstream Author: Uche Ogbuji <uc...@ogbuji.net> and Zepheira, Inc.
<con...@zepheira.com>

If you have not any problem, I'll use this one. ok?.

About the XML3K project, I have deleted all references to it as you
comment.

Regards,
Cleto.

Reply all
Reply to author
Forward
0 new messages