jcranch / octrees

a Python implementation of the octree data structure and supporting algorithms
GNU General Public License v2.0
37 stars 9 forks source link

Possibility of a PyPi package? #2

Closed jayaddison closed 2 years ago

jayaddison commented 2 years ago

:wave: hello - I discovered this library while looking for pure-Python octree implementations for yesterday's advent of code puzzle.

I wondered if you have any plans to publish the library to PyPi to make it easier to re-use? (it's also possible I could find some time over the holidays to look into preparing packaging for it, as a pull request)

jcranch commented 2 years ago

Dear James,

Merry Christmas!

I've not really had much direct experience of PyPi (I tend to just use Debian packages), so it would be a little out of my way to do it. But, if you'd like to do it it's very likely that I'd accept such a request.

Incidentally, I did have a look at that puzzle, but I didn't see a really intelligent octree-based algorithm (though I could see a couple of workable non-octree-based approaches).

Cheers,

James \/\/\

On 23/12/2021 11:37, James Addison wrote:

👋 hello - I discovered this library while looking for pure-Python octree implementations for yesterday's advent of code puzzle https://adventofcode.com/2021/day/22.

I wondered if you have any plans to publish the library to PyPi to make it easier to re-use? (it's also possible I could find some time over the holidays to look into preparing packaging for it, as a pull request)

— Reply to this email directly, view it on GitHub https://github.com/jcranch/octrees/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLUE7G7S4IQE2RCW6CEZLUSMCYVANCNFSM5KUTC4KQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

jayaddison commented 2 years ago

Merry Christmas to you too!

Okie doke; I'll take a look into configuring packaing, as time allows.

And yep, I didn't end up using octrees to solve the puzzle; early during exploration it felt like constructing (potentially multi-rooted) trees of cubes might be a viable path.. but I switched course from that later on.

That said.. this was the only octree implementation I could find that doesn't require native language bindings, and I figured it could be useful for people in future, so a side-quest to look into publishing it on PyPi seemed worthwhile.