{"id":32116770,"url":"https://github.com/plotly/dash-html-components","last_synced_at":"2025-10-20T16:10:49.939Z","repository":{"id":46568307,"uuid":"62158932","full_name":"plotly/dash-html-components","owner":"plotly","description":"OBSOLETE - now part of https://github.com/plotly/dash","archived":true,"fork":false,"pushed_at":"2022-03-02T16:57:19.000Z","size":7551,"stargazers_count":153,"open_issues_count":18,"forks_count":49,"subscribers_count":53,"default_branch":"dev","last_synced_at":"2025-09-19T01:50:49.817Z","etag":null,"topics":["dash"],"latest_commit_sha":null,"homepage":"https://dash.plotly.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plotly.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"custom":"https://plotly.com/products/consulting-and-oem/"}},"created_at":"2016-06-28T16:56:01.000Z","updated_at":"2025-08-29T05:22:37.000Z","dependencies_parsed_at":"2022-09-23T03:23:04.130Z","dependency_job_id":null,"html_url":"https://github.com/plotly/dash-html-components","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/plotly/dash-html-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fdash-html-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fdash-html-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fdash-html-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fdash-html-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotly","download_url":"https://codeload.github.com/plotly/dash-html-components/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotly%2Fdash-html-components/sbom","scorecard":{"id":738051,"data":{"date":"2025-08-11","repo":{"name":"github.com/plotly/dash-html-components","commit":"b35a29ade381ab213adf94b7c1fed24e232e0aee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":6,"reason":"Found 6/10 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T16:29:38.295Z","repository_id":46568307,"created_at":"2025-08-22T16:29:38.296Z","updated_at":"2025-08-22T16:29:38.296Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279989785,"owners_count":26255455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dash"],"created_at":"2025-10-20T16:10:44.257Z","updated_at":"2025-10-20T16:10:45.258Z","avatar_url":"https://github.com/plotly.png","language":"Python","funding_links":["https://plotly.com/products/consulting-and-oem/"],"categories":["Component Libraries"],"sub_categories":[],"readme":"# Notice\n\nAs of Dash 2, the development of dash-html-components has been moved to the [main Dash repo](https://github.com/plotly/dash)\n\nThis package exists for backward compatibility\n\n---\n\n# dash-html-components\n\nVanilla HTML components for [Dash][]\n\n### Install dependencies\n\n1. Create a virtual env and activate.\n    ```\n    $ virtualenv venv\n    $ venv/bin/activate\n    ```\n    _Note: venv\\Scripts\\activate for Windows_\n\n2. Install Python packages required to build components.\n    ```\n    $ pip install -r dev-requirements.txt\n    ```\n3. Generate components and install npm packages\n    ```\n    $ npm install\n    ```\n\n### Generating HTML Components\n\nThe components in `src/components`, as well as the export index in\n`src/index.js` are programmatically generated from element definitions in\n`scripts/`. To regenerate:\n\n\n```sh\n$ npm run generate-components\n```\nThe list of attributes is regenerated by scraping the\n[MDN HTML attribute reference][].\n\n_Note: This step will have already been done for you when you ran `npm install`_\n\n### Development\n\n#### Testing your components in Dash\n\n1. Watch for changes\n\n        $ npm run build:watch\n\n2. Install module locally (after every change)\n\n        # Generate metadata, and build the JavaScript bundle\n        $ npm run install-local\n\n        # Now you're done. For subsequent changes, if you've got `npm run build:watch`\n        $ python setup.py install\n\n3. Run the Dash layout you want to test\n\n        # Import dash_html_components to your layout, then run it:\n        $ python my_dash_layout.py\n\n#### Installing Python package locally\n\nBefore publishing to PyPi, you can test installing the module locally:\n\n```sh\n# Install in `site-packages` on your machine\n$ npm run install-local\n```\n\n#### Uninstalling Python package locally\n\n```sh\n$ npm run uninstall-local\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) for guidelines on contributing to this project.\n\n\n### Create a production build and publish:\n\n1. Build your code:\n    ```\n    $ npm run build\n    ```\n2. Create a Python tarball\n    ```\n    $ python setup.py sdist\n    ```\n    This distribution tarball will get generated in the `dist/` folder\n\n3. Test your tarball by copying it into a new environment and installing it locally:\n    ```\n    $ pip install dash-html-components-\u003cnew-version\u003e.tar.gz\n    ```\n\n4. If it works, then you can publish the component to NPM and PyPI:\n    1. Publish on PyPI\n        ```\n        $ twine upload dist/*\n        ```\n    2. Cleanup the dist folder (optional)\n        ```\n        $ rm -rf dist\n        ```\n    3. Publish on NPM (Optional if chosen False in `publish_on_npm`)\n        ```\n        $ npm publish\n        ```\n        _Publishing your component to NPM will make the JavaScript bundles available on the unpkg CDN. By default, Dash servers the component library's CSS and JS from the remote unpkg CDN, so if you haven't published the component package to NPM you'll need to set the `serve_locally` flags to `True` (unless you choose `False` on `publish_on_npm`). We will eventually make `serve_locally=True` the default, [follow our progress in this issue](https://github.com/plotly/dash/issues/284)._\n\n[Dash]: https://plotly.com/dash\n[MDN HTML attribute reference]: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes\n[NPM package authors]: https://www.npmjs.com/package/dash-html-components/access\n[PyPi]: https://pypi.python.org/pypi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotly%2Fdash-html-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotly%2Fdash-html-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotly%2Fdash-html-components/lists"}