Skip to main content

Python Flutter Extension

Project description

Attacus :snake: :butterfly:

Flutter Python Extension

Flutter

Flutter Embedder

SDL

Development

Required

Optional

Clone

git clone https://github.com/crungelab/attacus
cd attacus

Tool Chain

cxbuild

pybind11

Develop

hatch shell
procure
cxbuild develop

Build

cxbuild

Flutter Custom Devices

This will enable and display the location of your .flutter_custom_devices.json file

flutter config --enable-custom-devices
flutter custom-devices

Add this to your .flutter_custom_devices.json file

    {
      "id": "attacus",
      "label": "Attacus",
      "sdkNameAndVersion": "Attacus 0.1",
      "platform": null,
      "enabled": true,
      "ping": [
        "ping",
        "-n",
        "1",
        "-w",
        "500",
        "localhost"
      ],
      "pingSuccessRegex": "[<=]\\d+ms",
      "postBuild": [
        "python",
        "-m",
        "attacus.post_build"
      ],
      "install": [
        "python",
        "-m",
        "attacus.install"
      ],
      "uninstall": [
        "python",
        "-m",
        "attacus.uninstall"
      ],
      "runDebug": [
        "python",
        "main.py"
      ],
      "forwardPort": null,
      "forwardPortSuccessRegex": null,
      "screenshot": null
    }

Examples

flutter build bundle
python main.py

or

flutter run

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

attacus-0.1.2-cp310-cp310-win_amd64.whl (901.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page