{"id":15023608,"url":"https://github.com/adafruit/adafruit_circuitpython_tsl2561","last_synced_at":"2025-09-04T00:06:20.197Z","repository":{"id":54999520,"uuid":"108047361","full_name":"adafruit/Adafruit_CircuitPython_TSL2561","owner":"adafruit","description":"CircuitPython driver for TSL2561 Light Sensor","archived":false,"fork":false,"pushed_at":"2025-06-17T16:28:58.000Z","size":132,"stargazers_count":4,"open_issues_count":1,"forks_count":6,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-09-01T21:08:06.867Z","etag":null,"topics":["circuitpython","hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adafruit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-23T22:28:06.000Z","updated_at":"2025-06-17T15:28:35.000Z","dependencies_parsed_at":"2023-01-23T19:30:53.973Z","dependency_job_id":"2e25114b-1c69-4cb2-a3ae-a94c509646f0","html_url":"https://github.com/adafruit/Adafruit_CircuitPython_TSL2561","commit_stats":{"total_commits":118,"total_committers":22,"mean_commits":5.363636363636363,"dds":0.788135593220339,"last_synced_commit":"564bb9a29248f9ca2312f0627f4d5958133f8ab4"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/adafruit/Adafruit_CircuitPython_TSL2561","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_TSL2561","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_TSL2561/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_TSL2561/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_TSL2561/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adafruit","download_url":"https://codeload.github.com/adafruit/Adafruit_CircuitPython_TSL2561/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_TSL2561/sbom","scorecard":{"id":164465,"data":{"date":"2025-08-11","repo":{"name":"github.com/adafruit/Adafruit_CircuitPython_TSL2561","commit":"2d9a5fdb54bbfe175455d9a2b44b64ec3efe8f08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/26 approved changesets -- score normalized to 0","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/adafruit/Adafruit_CircuitPython_TSL2561/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/failure-help-text.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/adafruit/Adafruit_CircuitPython_TSL2561/failure-help-text.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_gh.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/adafruit/Adafruit_CircuitPython_TSL2561/release_gh.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_pypi.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/adafruit/Adafruit_CircuitPython_TSL2561/release_pypi.yml/main?enable=pin","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/failure-help-text.yml:1","Warn: no topLevel permission defined: .github/workflows/release_gh.yml:1","Warn: no topLevel permission defined: .github/workflows/release_pypi.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 3.3.22 not signed: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/225929771","Warn: release artifact 3.3.21 not signed: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/218968440","Warn: release artifact 3.3.20 not signed: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/195200544","Warn: release artifact 3.3.19 not signed: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/178784653","Warn: release artifact 3.3.18 not signed: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/133289102","Warn: release artifact 3.3.22 does not have provenance: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/225929771","Warn: release artifact 3.3.21 does not have provenance: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/218968440","Warn: release artifact 3.3.20 does not have provenance: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/195200544","Warn: release artifact 3.3.19 does not have provenance: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/178784653","Warn: release artifact 3.3.18 does not have provenance: https://api.github.com/repos/adafruit/Adafruit_CircuitPython_TSL2561/releases/133289102"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-16T14:25:39.366Z","repository_id":54999520,"created_at":"2025-08-16T14:25:39.367Z","updated_at":"2025-08-16T14:25:39.367Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273529559,"owners_count":25121829,"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-09-03T02:00:09.631Z","response_time":76,"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":["circuitpython","hacktoberfest"],"created_at":"2024-09-24T19:59:14.551Z","updated_at":"2025-09-04T00:06:20.144Z","avatar_url":"https://github.com/adafruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nIntroduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-tsl2561/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/tsl2561/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_TSL2561/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_TSL2561/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: Ruff\n\nCircuitPython driver for TSL2561 Light Sensor.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `Bus Device \u003chttps://github.com/adafruit/Adafruit_CircuitPython_BusDevice\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Bundle\u003e`_.\n\nInstalling from PyPI\n====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/adafruit-circuitpython-tsl2561/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-tsl2561\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-tsl2561\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-tsl2561\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    \u003e\u003e\u003e import board\n    \u003e\u003e\u003e import busio\n    \u003e\u003e\u003e i2c = busio.I2C(board.SCL, board.SDA)\n    \u003e\u003e\u003e import adafruit_tsl2561\n    \u003e\u003e\u003e tsl = adafruit_tsl2561.TSL2561(i2c)\n    \u003e\u003e\u003e tsl.lux\n    3294.37\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs \u003chttps://docs.circuitpython.org/projects/tsl2561/en/latest/\u003e`_.\n\nFor information on building library documentation, please check out `this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/adafruit/Adafruit_CircuitPython_CircuitPython_TSL2561/blob/main/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_tsl2561","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_tsl2561","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_tsl2561/lists"}