Name | attacus JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | Python Flutter Extension |
upload_time | 2023-05-28 07:31:47 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT 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.2",
"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": "8bfb909aee3634cb6815f18f8bb7ea065622576d63b13b3d882a183b4a875567",
"md5": "da274a4edf66532ad8a23102c51bd123",
"sha256": "d4e6620a41d958242890dc8da745569a7736b3c913770b2172ea3154ea3bb697"
},
"downloads": -1,
"filename": "attacus-0.1.2-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "da274a4edf66532ad8a23102c51bd123",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 901123,
"upload_time": "2023-05-28T07:31:47",
"upload_time_iso_8601": "2023-05-28T07:31:47.291804Z",
"url": "https://files.pythonhosted.org/packages/8b/fb/909aee3634cb6815f18f8bb7ea065622576d63b13b3d882a183b4a875567/attacus-0.1.2-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-28 07:31:47",
"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"
}