Python

Create Python package with dependencies using setuptools

I have not worked with packaging Python module for so long. It seems distutils was deprecated since Python 2.4. The recommendation is to use setuptools instead. It offers lots of useful functionalities, e.g., easy install with automatic dependencies resolver.

To create a package with setuptools, the package should have

pyedxl - a python library for handling EDXL

I am proud to announce my latest work called which is a python library for handling OASIS Emergency Data Exchange Language (EDXL) Distribution Element. At this time, it partially supports most of specification version 1.0 published on March 14, 2006. The main purpose to develop this library is to learn how to use lxml effectively. For those who can't stand to read, you might directly go to the .

Installing Jabber for Access Grid Tool Kit 3 - A long tale

I'm not familiar with Jabber server for so long. Anyway, I used its client all day all night to access . Jabber is one of the most powerful open-source instant messaging software based on XMPP. Actually, installing Jabber should be quite easy as long as you don't need SSL support. I used to setup Jabber long time ago. At that time, it was very easy so I expected to just do it again by recent version as a backend for Access Grid Text Chat.

Working with XML and namespace in Python

One important thing in programming today is XML. Many applications rely on XML because it want to store hierarchical data in persistent storage aka file. This truth is applied to most Java application because it seems, in my opinion, Java has the most larger sets of XML libraries from the top to the ground. In other words, ones may do anything with XML in Java very easy. Unfortunately, I am not a good Java programmer in any point of view. My favorite language is Python and OS is Linux. XML in Python is not as good as that one in Java. That's a problem.

How to run a Bridge for AccessGrid 3

In some situations, you might want unicast support in Access Grid because multicast is not available or impossible to implement, e.g., VPN. Fortunately, Access Grid comes with built-in unicast-to-multicast bridge support especially Access Grid 3. However, it is a kind of undocumented feature. I found a few tutorial how to run it. Actually, there are many possibility to run a bridge in Access Grid 3.

Choices of OpenCARE

I am trying to develop something to interact with Apache ActiveMQ as a part of OpenCARE project. At first, I tried Java but it seems to be so difficult for me which mostly works on C/C++, Python, and PHP. Fortunately, ActiveMQ supports various protocol such as OpenWire, Stomp and XMPP. Stomp supports many scripting languages, e.g., Ruby, Perl, Python and PHP. I prefer Python but it seems both STOMPy and stomp.py are not complete. In addition, they are a bit outdate. So XMPP seems to be the most interesting protocol for now.