Submitted by Fossidarity in RaddleBots
Defuncts /u/TorBot, /u/ArchiveBot & /u/ShredBot
This should reduce the amount of comments and the load on the Raddle servers.
Submitted by Fossidarity in RaddleBots
Defuncts /u/TorBot, /u/ArchiveBot & /u/ShredBot
This should reduce the amount of comments and the load on the Raddle servers.
Cool, I'm interested to see how that will work in practice. What do you mean sans-io? The library itself does the network calls using reqwest if that's what you're asking. It's basically a HTML scraper using HTTP calls but when emma will implement a proper API I'll make it a lot more robust.
yep i meant if the library does the I/O.
an API would be sweet.
Ah right yeah it does. I used to do it with a Selenium instance but that was a lot more sensitive for faults and required running WebDriver which sucks on servers.
Off topic but do you know if there's a way to create an Android app with python gui stuff?
i've used Kivy a lot in the past, its an easy and nice framework but kinda slow if you go too far. There is also an effort going on at the Pybee project but last time i checked about a year ago it was pretty basic.
That looks pretty good! Do you think it will be hard to create an Android app with this and a Rust backend?
not sure how to do this. Kivy has a utility called buildozer that takes care of building the .apk but i don't know how you can link binaries. Rust compiles for Android though so there must be a way.
Would that be this: https://python-for-android.readthedocs.io/en/latest/recipes/#using-an-ndkrecipe ?
I've never done anything for Android so I'm just guessing..
iirc that's what kivy's buildozer uses underneath. I haven't done much for Android either and everything was through Kivy which i mainly used for RPI projects. Android and buildozer was not a fun experience. You will probably need the AndroidSDK too.
Hmmm this doesn't sound like much fun. I'm looking to create a simple Android app which exposes some basic functionality from my Rust API, but I think this will be quite hard and tedious.
i think it would be easier to do it all in Rust but i have no idea about the frameworks/libs for Android GUI apps in Rust atm.
Nice.
surreal wrote
was looking for a chance to try and interface python with rust. there are some cool projects out there like PyO3, is that postmill lib sans-io?
nice rust repos you're cultivating there.