attacus


Nameattacus JSON
Version 0.1.6 PyPI version JSON
download
home_pageNone
SummaryPython Flutter Extension
upload_time2023-06-13 11:19:46
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2023 Kurtis Fields Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Attacus :snake: :butterfly:

Flutter Python Extension

[Flutter](https://flutter.dev/)

[Flutter Embedder](https://github.com/flutter/flutter/wiki/Custom-Flutter-Engine-Embedders)

[SDL](https://github.com/libsdl-org/SDL/)

## Development

### Required

* [Hatch](https://hatch.pypa.io/)

### Optional

* [Ninja](https://ninja-build.org/)

### Clone

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

### Tool Chain

[cxbuild](https://github.com/crungelab/cxbuild)

[pybind11](https://github.com/pybind/pybind11)

### Develop
```bash
hatch shell
procure
cxbuild develop
```

### Build
```bash
cxbuild
```

### [Flutter Custom Devices](https://github.com/flutter/flutter/wiki/Using-custom-embedders-with-the-Flutter-CLI)
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

``` json
    {
      "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
```bash
flutter build bundle
python main.py
```
or
```bash
flutter run
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "attacus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Kurtis Fields <kurtisfields@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# Attacus :snake: :butterfly:\n\nFlutter Python Extension\n\n[Flutter](https://flutter.dev/)\n\n[Flutter Embedder](https://github.com/flutter/flutter/wiki/Custom-Flutter-Engine-Embedders)\n\n[SDL](https://github.com/libsdl-org/SDL/)\n\n## Development\n\n### Required\n\n* [Hatch](https://hatch.pypa.io/)\n\n### Optional\n\n* [Ninja](https://ninja-build.org/)\n\n### Clone\n\n```bash\ngit clone https://github.com/crungelab/attacus\ncd attacus\n```\n\n### Tool Chain\n\n[cxbuild](https://github.com/crungelab/cxbuild)\n\n[pybind11](https://github.com/pybind/pybind11)\n\n### Develop\n```bash\nhatch shell\nprocure\ncxbuild develop\n```\n\n### Build\n```bash\ncxbuild\n```\n\n### [Flutter Custom Devices](https://github.com/flutter/flutter/wiki/Using-custom-embedders-with-the-Flutter-CLI)\nThis will enable and display the location of your .flutter_custom_devices.json file\n```\nflutter config --enable-custom-devices\nflutter custom-devices\n```\nAdd this to your .flutter_custom_devices.json file\n\n``` json\n    {\n      \"id\": \"attacus\",\n      \"label\": \"Attacus\",\n      \"sdkNameAndVersion\": \"Attacus 0.1\",\n      \"platform\": null,\n      \"enabled\": true,\n      \"ping\": [\n        \"ping\",\n        \"-n\",\n        \"1\",\n        \"-w\",\n        \"500\",\n        \"localhost\"\n      ],\n      \"pingSuccessRegex\": \"[<=]\\\\d+ms\",\n      \"postBuild\": [\n        \"python\",\n        \"-m\",\n        \"attacus.post_build\"\n      ],\n      \"install\": [\n        \"python\",\n        \"-m\",\n        \"attacus.install\"\n      ],\n      \"uninstall\": [\n        \"python\",\n        \"-m\",\n        \"attacus.uninstall\"\n      ],\n      \"runDebug\": [\n        \"python\",\n        \"main.py\"\n      ],\n      \"forwardPort\": null,\n      \"forwardPortSuccessRegex\": null,\n      \"screenshot\": null\n    }\n```\n\n## Examples\n```bash\nflutter build bundle\npython main.py\n```\nor\n```bash\nflutter run\n```\n",
    "bugtrack_url": null,
    "license": "MIT License        \n        Copyright (c) 2023 Kurtis Fields        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.        ",
    "summary": "Python Flutter Extension",
    "version": "0.1.6",
    "project_urls": {
        "changelog": "https://github.com/crungelab/attacus/blob/main/CHANGELOG.md",
        "documentation": "https://crungelab.github.io/attacus/",
        "homepage": "https://github.com/crunge/attacus",
        "repository": "https://github.com/crungelab/attacus"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2e5cca0545b33967e4068e6511e1dbc80a05b8608cb9356ce2c2a18e36b31cf7",
                "md5": "c7b61cd4ab143d705fd152538ec999c4",
                "sha256": "707ea24362c9a17fd79fba81f5f82bb2ee201c095281ad2bf209a12112b5f50e"
            },
            "downloads": -1,
            "filename": "attacus-0.1.6-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c7b61cd4ab143d705fd152538ec999c4",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 975466,
            "upload_time": "2023-06-13T11:19:46",
            "upload_time_iso_8601": "2023-06-13T11:19:46.809107Z",
            "url": "https://files.pythonhosted.org/packages/2e/5c/ca0545b33967e4068e6511e1dbc80a05b8608cb9356ce2c2a18e36b31cf7/attacus-0.1.6-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-13 11:19:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "crungelab",
    "github_project": "attacus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "attacus"
}
        
Elapsed time: 0.07482s