jakubcerveny / gilbert

Space-filling curve for rectangular domains or arbitrary size.
BSD 2-Clause "Simplified" License
121 stars 11 forks source link

Publish as python package #1

Closed clbarnes closed 3 years ago

clbarnes commented 3 years ago

Would you be interested in this becoming an installable library on pypi.org so that others could easily use it? I am happy to do the work but thought I'd see whether it would be welcome before just raising a massive PR. Alternatively if it would distract too much from the core algorithm I'm happy to make a separate package which just refers back to this.

jakubcerveny commented 3 years ago

Hi Chris, thanks for the offer but I'm not sure this is actually a library. This is just an algorithm that I thought could be useful to someone and I chose Python to publish it, more or less as "pseudocode" (the original version was in C++). How massive would the packaging be? Just linking from a separate package actually sounds good. It would leave this repo as a simple reference for the original (naive) algorithm and the production version (possibly optimized or non-recursive) could have its own repo (I'll be happy to link to your work).

clbarnes commented 3 years ago

I am personally a fan of small libraries with a lot of build cruft so it sounds like a separate project may be the way to go! I'll let you know if/when I get round to it.