Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android support? #71

Open
baseplate-admin opened this issue Oct 11, 2024 · 2 comments
Open

Android support? #71

baseplate-admin opened this issue Oct 11, 2024 · 2 comments

Comments

@baseplate-admin
Copy link

Hi, awesome work on this repo ( it seems that the duct tape and dreams is doing wonders )

I was wondering if you were "planning to add"/support android/ios for python.

Thanks a bunch

@niklas2902
Copy link
Owner

Hi,

Thank you very much. I'd love to have this on Android/iOS (and maybe even web).

I have to admit, I'm a little scared because I have no idea how much work it's going to be 😅, so I haven't started it yet.

Nonetheless, I'm planning to look into Android at the beginning of 2025.

For iOS, it's a bit difficult for me because I don't have the hardware. This is the same problem as Mac support for me. So, at some point in the future, I'll probably look into iOS and Mac, but unlike Android, I don't have any plans for when to do this.

@baseplate-admin
Copy link
Author

Thanks so much for replying.

I'd love to have this on Android/iOS (and maybe even web).

You can look at a project that did this. It's called flet. They are using websocket to communicate between a backend python process and a frontend flutter process.

I have to admit, I'm a little scared because I have no idea how much work it's going to be 😅, so I haven't started it yet.

Unfortunately it's a lot lot lot of work, flet guys took about 4 years to support python.

Nonetheless, I'm planning to look into Android at the beginning of 2025.

Yep, i think you can use something like chaquopy to bundle your executable, but in this manner you won't have access to packages like numpy, torch, since they are not compiled for arm/android.

For iOS, it's a bit difficult for me because I don't have the hardware. This is the same problem as Mac support for me. So, at some point in the future, I'll probably look into iOS and Mac, but unlike Android, I don't have any plans for when to do this.

Ah i see. No worries. i just wanted to know your opinion on this.


Overall, this is a very solid project. Job well done :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants