fastled-wasm-compiler


Namefastled-wasm-compiler JSON
Version 1.1.7 PyPI version JSON
download
home_pagehttps://github.com/zackees/fastled-wasm-compiler
SummaryFastled Wasm Compiler
upload_time2025-08-12 23:49:35
maintainerZachary Vorhies
docs_urlNone
authorNone
requires_python>=3.10
licenseBSD 3-Clause License
keywords template-python-cmd
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fastled-wasm-compiler

The compiler and build system for FastLED for WASM.

[![Linting](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/lint.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/lint.yml)

[![Win_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_win.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_win.yml)
[![Ubuntu_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_ubuntu.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_ubuntu.yml)
[![MacOS_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_macos.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_macos.yml)

[![Build and Push Multi Docker Image](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/build_multi_docker_image.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/build_multi_docker_image.yml)



```bash
# Option 1: Clone only main branch
git clone -b main --single-branch https://github.com/zackees/fastled-wasm-compiler.git

# Option 2: Clone normally then configure to exclude gh-pages
git clone https://github.com/zackees/fastled-wasm-compiler.git
cd fastled-wasm-compiler
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/* ^refs/heads/gh-pages"
```

## Development

Run `./install` to install the dependencies.

Run `./lint` to run the linter.

Run `./test` to run the tests.

## Thin Precompiled Headers (Thin PCH)

The FastLED WASM compiler now supports Thin Precompiled Headers (Thin PCH), which provide faster rebuild times and better cacheability compared to traditional PCH.

To enable Thin PCH:
- Set the `THIN_PCH=1` environment variable
- Or use the `--thin-pch` flag with the build scripts

Example:
```bash
# Using environment variable
THIN_PCH=1 ./build_tools/build_lib.sh --all

# Using command line flag
./build_tools/build_lib.sh --thin-pch --all
```

# Notes:

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zackees/fastled-wasm-compiler",
    "name": "fastled-wasm-compiler",
    "maintainer": "Zachary Vorhies",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "template-python-cmd",
    "author": null,
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# fastled-wasm-compiler\r\n\r\nThe compiler and build system for FastLED for WASM.\r\n\r\n[![Linting](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/lint.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/lint.yml)\r\n\r\n[![Win_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_win.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_win.yml)\r\n[![Ubuntu_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_ubuntu.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_ubuntu.yml)\r\n[![MacOS_Tests](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_macos.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/test_macos.yml)\r\n\r\n[![Build and Push Multi Docker Image](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/build_multi_docker_image.yml/badge.svg)](https://github.com/zackees/fastled-wasm-compiler/actions/workflows/build_multi_docker_image.yml)\r\n\r\n\r\n\r\n```bash\r\n# Option 1: Clone only main branch\r\ngit clone -b main --single-branch https://github.com/zackees/fastled-wasm-compiler.git\r\n\r\n# Option 2: Clone normally then configure to exclude gh-pages\r\ngit clone https://github.com/zackees/fastled-wasm-compiler.git\r\ncd fastled-wasm-compiler\r\ngit config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/* ^refs/heads/gh-pages\"\r\n```\r\n\r\n## Development\r\n\r\nRun `./install` to install the dependencies.\r\n\r\nRun `./lint` to run the linter.\r\n\r\nRun `./test` to run the tests.\r\n\r\n## Thin Precompiled Headers (Thin PCH)\r\n\r\nThe FastLED WASM compiler now supports Thin Precompiled Headers (Thin PCH), which provide faster rebuild times and better cacheability compared to traditional PCH.\r\n\r\nTo enable Thin PCH:\r\n- Set the `THIN_PCH=1` environment variable\r\n- Or use the `--thin-pch` flag with the build scripts\r\n\r\nExample:\r\n```bash\r\n# Using environment variable\r\nTHIN_PCH=1 ./build_tools/build_lib.sh --all\r\n\r\n# Using command line flag\r\n./build_tools/build_lib.sh --thin-pch --all\r\n```\r\n\r\n# Notes:\r\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Fastled Wasm Compiler",
    "version": "1.1.7",
    "project_urls": {
        "Homepage": "https://github.com/zackees/fastled-wasm-compiler"
    },
    "split_keywords": [
        "template-python-cmd"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "718da8e523da52dc0cdcfbfd287184307f2f9c77779dfff016a23cffc587fcee",
                "md5": "f3ceb54ac262100bea1dbb1d7012c77f",
                "sha256": "e44dacabc0e0191c203dd366fbc371c37d16eb29f6dabb7e851ccf893066abcf"
            },
            "downloads": -1,
            "filename": "fastled_wasm_compiler-1.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f3ceb54ac262100bea1dbb1d7012c77f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 95930,
            "upload_time": "2025-08-12T23:49:35",
            "upload_time_iso_8601": "2025-08-12T23:49:35.559829Z",
            "url": "https://files.pythonhosted.org/packages/71/8d/a8e523da52dc0cdcfbfd287184307f2f9c77779dfff016a23cffc587fcee/fastled_wasm_compiler-1.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 23:49:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zackees",
    "github_project": "fastled-wasm-compiler",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fastled-wasm-compiler"
}
        
Elapsed time: 3.45221s