openspending / cubepress

Flat-file generator for aggregated spending reports
MIT License
5 stars 2 forks source link

Python 3 #1

Open pwalsh opened 9 years ago

pwalsh commented 9 years ago

I think I'll do a Python 3 port, which should be quite simple given the size of the codebase. It will give me a chance to go over the code more closely, too.

I'd prefer to port using a similar pattern to what I did here, and which I also did in this, this and this. So, I am not intending to use six. six is great, especially for porting over large projects (e.g.: Django), but here, we have a small, focussed codebase, that is quite manageable without it.

Basic procedure is:

pudo commented 9 years ago

I wonder if it isn't worth getting it end-to-end running first? Should be maybe a two-hour session. Concretely, I think the permutations generation for the aggregator is incomplete.

pwalsh commented 9 years ago

Sure, I will do that, but also just wanted to declare I want to add Py3 support. I think I'll get to this next week sometime.