visclaw icon indicating copy to clipboard operation
visclaw copied to clipboard

Pykml : Updates to Python 3.x

Open donnaaboise opened this issue 5 years ago • 8 comments

I use pykml for creating KML files, and it has worked well up until the change to Python 3.x. It doesn't seem to be maintained any longer, but with a few minor tweaks is still perfectly useable.

My question is, can I go ahead and clone a version of pykml, maintain it myself, and make it available to VisClaw users (or anyone else for that matter)? Do I need some sort of permission or agreement from the original developer (@tylere Tyler Erickson, now a developer for Google Earth Engine)? I have posted an issue on the Pykml site asking if anyone is maintaining it, but no response so far.

Any suggestions for how I can handle this would be most useful.

donnaaboise avatar Oct 23 '19 15:10 donnaaboise

Do you know if there's a replacement available? Is the intention that another package should pick up the functionality that we should switch to?

mandli avatar Oct 23 '19 18:10 mandli

I got a response from the developer on my posting to the pykml website. Tyler is in the process of updating pykml to Python 3.x now, and will have an update by the end of the week.

donnaaboise avatar Oct 23 '19 21:10 donnaaboise

Ok, so we are maybe ok?

mandli avatar Oct 23 '19 21:10 mandli

I think so! I'll see where we are at in a couple of weeks.

donnaaboise avatar Oct 24 '19 14:10 donnaaboise

I have pushed a new version of pykml to PyPI that adds Python3 support. If you encounter any issues, feel free to add them here.

tylere avatar Oct 25 '19 21:10 tylere

Thanks, Tyler! Going forward, is pykml a project you plan to support and/or maintain at some level? pykml has been an extremely useful package for creating KML files to overlay our simulation results onto Google Earth.

donnaaboise avatar Oct 26 '19 04:10 donnaaboise

I do plan to maintain it, but do not plan to add much in terms of functionality. pyKML is a pretty thin wrapper for lxml, which has made it fairly stable without requiring a lot of maintenance.

tylere avatar Oct 26 '19 13:10 tylere

Great news! I think all we need is maintenance for any upcoming releases of Python. I can't think of much in the way of functionality that pykml is lacking.

donnaaboise avatar Oct 26 '19 15:10 donnaaboise