divan / txqr

Transfer data via animated QR codes
MIT License
2.92k stars 170 forks source link

Python, Java/Kotlin and Swift wrapper #4

Open DonaldTsang opened 5 years ago

DonaldTsang commented 5 years ago

Adding this to https://github.com/hydrusnetwork/hydrus and associated mobile apps would be useful.
Hydrus is written in Python, BooruNav, AnimeBoxes and Nori are on Android, Mignori is on iOS

fionafibration commented 5 years ago

I would agree, I'd definitely like a Python and Java wrapper. I attempted to generate a Python one using https://github.com/go-python/gopy, but I'm fresh new to Go and don't understand any of it. @divan A python binding would be appreciated, and I think I know how to do a Java one.

DonaldTsang commented 5 years ago

@ThePlasmaRailgun I would say the minimum would be Swift for iOS, Java/Kotlin for android and Python/JS for prototyping and scripting.

fionafibration commented 5 years ago

Agreed. IDK whether there are facilities for compiling/importing/binding Go into JS, Java, or Swift, but I do know Python can import compiled Go with the tool I sent above.

NovaLogicDev commented 5 years ago

the closest concept I have found is gomobile, but they note the bindings have performance overhead

fionafibration commented 5 years ago

GoMobile should be easy bindings, but my attempts at Python bindings have failed miserably. If anyone knows more about this or has more experience, then I'd love if you could take a crack at it.

DonaldTsang commented 5 years ago

@ThePlasmaRailgun any progress on the TxQR java app?

fionafibration commented 5 years ago

Not yet, I'm still working on it.

On Sun, Jan 13, 2019, 8:15 PM Donald Tsang <notifications@github.com wrote:

@ThePlasmaRailgun https://github.com/ThePlasmaRailgun any progress on the TxQR java app?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/divan/txqr/issues/4#issuecomment-453893618, or mute the thread https://github.com/notifications/unsubscribe-auth/AQDJZBv9UJsp8L7AyxB6u15SlNPnJJU8ks5vC_Y3gaJpZM4Y4Muo .

DonaldTsang commented 5 years ago

@ThePlasmaRailgun is Kotlin better than Java?

fionafibration commented 5 years ago

We're writing it in Kotlin, I prefer it to Java.

On Sun, Jan 13, 2019, 8:24 PM Donald Tsang <notifications@github.com wrote:

@ThePlasmaRailgun https://github.com/ThePlasmaRailgun is Kotlin better than Java?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/divan/txqr/issues/4#issuecomment-453894591, or mute the thread https://github.com/notifications/unsubscribe-auth/AQDJZNxAHmErNYOqkfr-oJN93RMbmoq4ks5vC_iHgaJpZM4Y4Muo .

NovaLogicDev commented 5 years ago

As someone who learned Java and then switched over, I can definitely say its a better language

DonaldTsang commented 5 years ago

Referecne: https://github.com/divan/txqr-reader/issues/2