Are there any packages that'll help me run python scripts in flutter?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/FlutterDev

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • dart_smython

    A tiny, still incomplete interpreter for a language similar to Python 3

    Well, two years ago I wrote an interpreter for a subset of Python but that isn't able to run generic Python scripts (or even native modules) so it's probably not want you're looking for.

  • django-rest-framework

    Web APIs for Django. 🎸

    I was imagining that you were using numpy or pandas or one of the great Python packages out there for data analysis. This is my situation. After years of using Python, it's nice and comfortable. It's not feasible for me to rewrite a major package in Dart. I do not have the skills. I need to wait for someone with more skills to implement the package in Dart, then I can use it. People give the valid suggestion of, "just use ffi with c." While this is valid and great, I am weak in C and using C libraries. It's realistically tough for me. I'm trying to use as much cloud-based serverless technologies as possible with my Flutter apps. For historical reasons, I have some data in PostgreSQL with Django as the original front-end. If you're using Django, I use Django REST Framework to expose the Python APIs. https://www.django-rest-framework.org/ If you're not using Django already, Flask is slimmer. https://flask-restful.readthedocs.io/en/latest/ This type of architecture would make it easy to process a ton of data in Python and then pass the results to your Flutter apps for some really awesome display and data navigation. Flutter is completely awesome for the UI components.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts