{"id":32174730,"url":"https://github.com/rwhitt2049/trouve","last_synced_at":"2026-02-20T16:01:37.421Z","repository":{"id":60723475,"uuid":"80084974","full_name":"rwhitt2049/trouve","owner":"rwhitt2049","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-03T03:07:29.000Z","size":435,"stargazers_count":5,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-01-12T18:06:35.151Z","etag":null,"topics":["internet-of-things","iot","sensor","time-series","timeseries"],"latest_commit_sha":null,"homepage":"https://trouve.readthedocs.io","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/rwhitt2049.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2017-01-26T04:12:24.000Z","updated_at":"2025-05-03T03:01:45.000Z","dependencies_parsed_at":"2025-05-02T08:22:38.372Z","dependency_job_id":"6e40c761-6f90-4683-aab0-dc65be980355","html_url":"https://github.com/rwhitt2049/trouve","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rwhitt2049/trouve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwhitt2049%2Ftrouve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwhitt2049%2Ftrouve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwhitt2049%2Ftrouve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwhitt2049%2Ftrouve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwhitt2049","download_url":"https://codeload.github.com/rwhitt2049/trouve/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwhitt2049%2Ftrouve/sbom","scorecard":{"id":791304,"data":{"date":"2025-08-11","repo":{"name":"github.com/rwhitt2049/trouve","commit":"195a663cc19ffe015d8fbfbb36a3e8cf9ab765d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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/workflow.yaml: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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rwhitt2049/trouve/workflow.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/rwhitt2049/trouve/workflow.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/rwhitt2049/trouve/workflow.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/rwhitt2049/trouve/workflow.yaml/develop?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:25","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:26","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:43","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"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 4 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-23T07:37:29.100Z","repository_id":60723475,"created_at":"2025-08-23T07:37:29.100Z","updated_at":"2025-08-23T07:37:29.100Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["internet-of-things","iot","sensor","time-series","timeseries"],"created_at":"2025-10-21T19:07:40.636Z","updated_at":"2026-02-20T16:01:37.415Z","avatar_url":"https://github.com/rwhitt2049.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Trouve\n======\n\nA package to search for events in time-series data that match a boolean condition. Various\ntransformation functions are built in to filter and alter events.\n\nSee Trouve's documentation at https://trouve.readthedocs.io\n\nInstall\n-------\n``trouve`` is on the Python Package Index (PyPI):\n\n::\n\n   pip install trouve\n\nDependencies\n------------\n\n* ``numpy``\n\n* ``pandas``\n\n* ``toolz``\n\nExample\n-------\n\nThis finds events in a short sample of 1Hz, time-series data and filters out events based\non their duration\n\n.. code-block:: python\n\n   \u003e\u003e\u003e import numpy as np\n   \u003e\u003e\u003e from trouve import find_events\n   \u003e\u003e\u003e import trouve.transformations as tt\n   \u003e\u003e\u003e x = np.array([1, 2, 2, 2, 0, 1, 2, 0, 2, 2])\n   \u003e\u003e\u003e period = 1 # period = 1 / sample_rate\n   \u003e\u003e\u003e duration_filter = tt.filter_durations(2, 3)\n   \u003e\u003e\u003e events = find_events(x == 2, duration_filter, period=1)\n   \u003e\u003e\u003e len(events)\n   2\n   \u003e\u003e\u003e events.as_array()\n   array([ 0.,  1.,  1.,  1.,  0.,  0.,  0.,  0.,  1.,  1.])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwhitt2049%2Ftrouve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwhitt2049%2Ftrouve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwhitt2049%2Ftrouve/lists"}