{"id":7804701,"name":"pyo3-tch","ecosystem":"cargo","description":"Manipulate PyTorch tensors from a Python extension via PyO3/tch.","homepage":null,"licenses":"MIT/Apache-2.0","normalized_licenses":["MIT","Apache-2.0"],"repository_url":"https://github.com/LaurentMazare/tch-rs","keywords_array":["deep-learning","machine-learning","pytorch"],"namespace":null,"versions_count":13,"first_release_published_at":"2023-05-29T09:23:39.352Z","latest_release_published_at":"2026-08-23T16:48:18.368Z","latest_release_number":"0.26.0","latest_published_release_number":"0.26.0","last_synced_at":"2026-10-28T20:22:55.242Z","created_at":"2023-05-29T09:39:50.033Z","updated_at":"2026-10-28T20:22:55.243Z","registry_url":"https://crates.io/crates/pyo3-tch/","install_command":"cargo install pyo3-tch","documentation_url":"https://docs.rs/pyo3-tch/","metadata":{"categories":["science"]},"repo_metadata":{"id":38028780,"uuid":"171052201","full_name":"LaurentMazare/tch-rs","owner":"LaurentMazare","description":"Rust bindings for the C++ api of PyTorch.","archived":false,"fork":false,"pushed_at":"2026-08-23T16:46:54.000Z","size":4775,"stargazers_count":5506,"open_issues_count":278,"forks_count":459,"subscribers_count":48,"default_branch":"main","last_synced_at":"2026-10-28T20:22:28.498Z","etag":null,"topics":["deep-learning","machine-learning","neural-network","pytorch","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LaurentMazare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"accessibility":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2019-02-16T21:08:44.000Z","updated_at":"2026-10-28T17:05:02.000Z","dependencies_parsed_at":"2026-10-20T20:38:17.057Z","dependency_job_id":null,"html_url":"https://github.com/LaurentMazare/tch-rs","commit_stats":{"total_commits":727,"total_committers":64,"mean_commits":11.359375,"dds":"0.24484181568088037","last_synced_commit":"f277babe5ec6701af766aa819325bf262e401248"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LaurentMazare/tch-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/sbom","scorecard":{"id":82478,"data":{"date":"2025-08-11","repo":{"name":"github.com/LaurentMazare/tch-rs","commit":"fde04c49b3e99ce298f401e83aa16705c0ae600d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Maintained","score":10,"reason":"11 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","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":2,"reason":"Found 2/10 approved changesets -- score normalized to 2","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust-ci.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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact mw not signed: https://api.github.com/repos/LaurentMazare/tch-rs/releases/63436646","Warn: release artifact mw does not have provenance: https://api.github.com/repos/LaurentMazare/tch-rs/releases/63436646"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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":"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/rust-ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-15T06:12:20.063Z","repository_id":38028780,"created_at":"2025-08-15T06:12:20.063Z","updated_at":"2025-08-15T06:12:20.063Z"},"funding_links":[],"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":346510206,"owners_count":38562429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-28T02:00:07.200Z","response_time":53,"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"},"owner_record":{"login":"LaurentMazare","name":"Laurent Mazare","uuid":"1041292","kind":"user","description":"CTO at Kyutai","email":"","website":"http://laurentmazare.github.io","location":"Paris, France","twitter":"lmazare","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1041292?u=4d4c5fe94c63a8eb244d812c6d97511c3640d122\u0026v=4","repositories_count":24,"last_synced_at":"2025-05-28T14:02:19.971Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/LaurentMazare","funding_links":[],"total_stars":null,"followers":2449,"following":1,"created_at":"2022-11-03T17:11:21.909Z","updated_at":"2025-05-28T14:02:19.971Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare/repositories"},"tags":[{"name":"0.18.0","sha":"ef4eade5596cba10e0edceac3e812e5621c61008","kind":"commit","published_at":"2024-10-17T16:57:28.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/0.18.0","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/0.18.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@0.18.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/0.18.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/0.18.0/manifests","release_url":null},{"name":"mw","sha":"4bbe0dab393848b342014785acf2383e2b8f0eb2","kind":"commit","published_at":"2022-04-02T08:30:26.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/mw","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/mw","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@mw","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/mw","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/mw/manifests","release_url":null},{"name":"model-weights","sha":"75ed90052665577532029e0d29014b6341f1b45c","kind":"commit","published_at":"2022-04-02T08:15:56.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/model-weights","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/model-weights","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@model-weights","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/model-weights","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/model-weights/manifests","release_url":null}]},"repo_metadata_updated_at":"2026-10-28T20:22:55.039Z","dependent_packages_count":1,"downloads":63982,"downloads_period":"total","dependent_repos_count":1,"rankings":{"downloads":56.546684020765085,"dependent_repos_count":16.549964839834225,"dependent_packages_count":18.18453850412197,"stargazers_count":2.202919784417351,"forks_count":2.744118944213131,"docker_downloads_count":null,"average":19.245645218670354},"purl":"pkg:cargo/pyo3-tch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/pyo3-tch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/pyo3-tch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/pyo3-tch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-20T20:47:38.296Z","issues_count":285,"pull_requests_count":221,"avg_time_to_close_issue":15107656.204225352,"avg_time_to_close_pull_request":4590543.723163842,"issues_closed_count":142,"pull_requests_closed_count":177,"pull_request_authors_count":69,"issue_authors_count":217,"avg_comments_per_issue":2.354385964912281,"avg_comments_per_pull_request":0.497737556561086,"merged_pull_requests_count":137,"bot_issues_count":0,"bot_pull_requests_count":4,"past_year_issues_count":22,"past_year_pull_requests_count":20,"past_year_avg_time_to_close_issue":994613.0,"past_year_avg_time_to_close_pull_request":1346696.5555555555,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":9,"past_year_pull_request_authors_count":13,"past_year_issue_authors_count":18,"past_year_avg_comments_per_issue":0.8181818181818182,"past_year_avg_comments_per_pull_request":0.35,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":4,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/issues","maintainers":[{"login":"LaurentMazare","count":111,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/LaurentMazare"}],"active_maintainers":[{"login":"LaurentMazare","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/LaurentMazare"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/pyo3-tch/codemeta","maintainers":[{"uuid":"41378","login":"LaurentMazare","name":"Laurent Mazare","email":null,"url":"https://github.com/LaurentMazare","packages_count":67,"html_url":"https://crates.io/users/LaurentMazare","role":null,"created_at":"2023-05-29T11:53:41.292Z","updated_at":"2023-05-29T11:53:41.292Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/LaurentMazare/packages"}]}