{"id":22923514,"url":"https://github.com/ams-osram/tmf8820_21_28_driver_python","last_synced_at":"2025-04-01T14:44:40.751Z","repository":{"id":232565289,"uuid":"781338039","full_name":"ams-OSRAM/tmf8820_21_28_driver_python","owner":"ams-OSRAM","description":"TMF8820/TMF8821/TMF8828 Python Driver ","archived":false,"fork":false,"pushed_at":"2024-04-10T08:14:03.000Z","size":472,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T09:23:49.897Z","etag":null,"topics":["driver","python","tmf8820","tmf8821","tmf8828"],"latest_commit_sha":null,"homepage":"","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/ams-OSRAM.png","metadata":{"files":{"readme":"README-distribution.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2024-04-03T07:36:24.000Z","updated_at":"2024-12-12T13:25:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"862e6afb-5a05-415d-b1fc-f3bc58069e6e","html_url":"https://github.com/ams-OSRAM/tmf8820_21_28_driver_python","commit_stats":null,"previous_names":["ams-osram-group/tmf8820_21_28_driver_python","ams-osram/tmf8820_21_28_driver_python"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ams-OSRAM%2Ftmf8820_21_28_driver_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ams-OSRAM%2Ftmf8820_21_28_driver_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ams-OSRAM%2Ftmf8820_21_28_driver_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ams-OSRAM%2Ftmf8820_21_28_driver_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ams-OSRAM","download_url":"https://codeload.github.com/ams-OSRAM/tmf8820_21_28_driver_python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246659552,"owners_count":20813329,"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","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":["driver","python","tmf8820","tmf8821","tmf8828"],"created_at":"2024-12-14T08:15:54.380Z","updated_at":"2025-04-01T14:44:40.529Z","avatar_url":"https://github.com/ams-OSRAM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python\nThis folder contains libraries, tools, and tests to interact with the ams OSRAM TMF882X devices over I2C and GPIO.\n\n## Setup Python Environment\nThis framework requires to use python 3.6 or newer for Window 10.\nTo install the required packages, run `python -m pip install -r requirements.txt`.\n\n## Adding your own sub-directory\nWhen you add a new sub-directory and want to execute python files there you need to \n`import __init__` before any other local import. Also you need to copy the file `__init__.py` into this subdirectory\nand make sure the python root path points to the directory where this readme.md file is located.\n`TOF_PYTHON_ROOT_DIR = os.path.normpath(os.path.dirname(__file__) + \"/..\")`\n\nThis is a summary of the files and sub-folders:\n\t\n## ./tmf882x\nAll python classes, files and functions, specific to the TMF8820, TMF8821 and TMF8828.\nThere is a python class to control the device hardware and the bootloader that also allows to download intel hex files to the device.\nThere is a second class that implements measurement application specific commands and controls and data readout, as well as histogram configuration and readout.\n\n## ./tmf882x/dll\nThis directory contains the DLL for the TMF8xxx descattering filter.\n\n### ./tmf882x/examples\nSeveral examples that show the usage:\n- how to perform measurements and read them out\n- how to perform i2c slave address change \n- how to configure for histogram dumping and how to read them out\n\n### ./tmf882x/hex_files\nHex files that are used by the above examples to run the device correctly.\n \n### ./tmf882x/tests\nPython tests to verify functonality of device and/or scripts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fams-osram%2Ftmf8820_21_28_driver_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fams-osram%2Ftmf8820_21_28_driver_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fams-osram%2Ftmf8820_21_28_driver_python/lists"}