{"id":18487833,"url":"https://github.com/mautrix/python","last_synced_at":"2025-12-11T23:09:47.079Z","repository":{"id":37027826,"uuid":"124447503","full_name":"mautrix/python","owner":"mautrix","description":"A Python 3 asyncio Matrix framework.","archived":false,"fork":false,"pushed_at":"2025-09-23T21:09:02.000Z","size":2177,"stargazers_count":210,"open_issues_count":30,"forks_count":79,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-23T23:16:57.985Z","etag":null,"topics":["appservice","asyncio","matrix","matrix-appservice","matrix-org","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mautrix.png","metadata":{"files":{"readme":"README.rst","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-08T20:59:39.000Z","updated_at":"2025-09-23T21:09:05.000Z","dependencies_parsed_at":"2023-11-26T19:29:58.956Z","dependency_job_id":"6d05ca3e-b63f-4c2f-824d-45b4c56dae15","html_url":"https://github.com/mautrix/python","commit_stats":{"total_commits":1220,"total_committers":31,"mean_commits":"39.354838709677416","dds":0.09344262295081962,"last_synced_commit":"04072cb2f4a00e6e1b02e16389720a94aad71f0f"},"previous_names":["tulir/mautrix-python","tulir/mautrix-appservice-python"],"tags_count":218,"template":false,"template_full_name":null,"purl":"pkg:github/mautrix/python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mautrix%2Fpython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mautrix%2Fpython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mautrix%2Fpython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mautrix%2Fpython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mautrix","download_url":"https://codeload.github.com/mautrix/python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mautrix%2Fpython/sbom","scorecard":{"id":628655,"data":{"date":"2025-08-11","repo":{"name":"github.com/mautrix/python","commit":"970f371b033b39fd00135792fa3b190fe43d4e27"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","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":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/python-package.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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: 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":"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":"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/python-package.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-package.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-package.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/mautrix/python/python-package.yml/master?enable=pin","Warn: containerImage not pinned by hash: docs/Dockerfile:1: pin your Docker image by updating python:latest to python:latest@sha256:3b2f1b9c9948e9dc96e1a2f4668ba9870ff43ab834f91155697476142b3bc299","Warn: pipCommand not pinned by hash: docs/Dockerfile:4","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:62","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   5 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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 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"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2020-24 / GHSA-2xpj-f5g2-8p7m","Warn: Project is vulnerable to: PYSEC-2018-21 / GHSA-hgg3-g7gr-66r7","Warn: Project is vulnerable to: GHSA-j225-cvw7-qrx7","Warn: Project is vulnerable to: PYSEC-2019-124 / GHSA-38fc-9xqv-7f7q","Warn: Project is vulnerable to: PYSEC-2019-123 / GHSA-887w-45rq-vxgf","Warn: Project is vulnerable to: PYSEC-2012-9 / GHSA-hfg2-wf6j-x53p","Warn: Project is vulnerable to: GHSA-55x5-fj6c-h6m8","Warn: Project is vulnerable to: PYSEC-2014-9 / GHSA-57qw-cc2g-pv5p","Warn: Project is vulnerable to: PYSEC-2021-19 / GHSA-jq4v-f5q6-mjqq","Warn: Project is vulnerable to: GHSA-pgww-xf46-h92r","Warn: Project is vulnerable to: PYSEC-2022-230 / GHSA-wrxv-2j5q-m38w","Warn: Project is vulnerable to: PYSEC-2018-12 / GHSA-xp26-p53h-6h2p","Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T07:13:20.753Z","repository_id":37027826,"created_at":"2025-08-21T07:13:20.754Z","updated_at":"2025-08-21T07:13:20.754Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278712710,"owners_count":26032742,"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-07T02:00:06.786Z","response_time":59,"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":["appservice","asyncio","matrix","matrix-appservice","matrix-org","python","python3"],"created_at":"2024-11-06T12:50:50.165Z","updated_at":"2025-10-07T03:06:52.912Z","avatar_url":"https://github.com/mautrix.png","language":"Python","funding_links":[],"categories":["Python","Bridges","Bot SDKs"],"sub_categories":["Bridge Libraries","Python"],"readme":"mautrix-python\n==============\n\n|PyPI| |Python versions| |License| |Docs| |Code style| |Imports|\n\nA Python 3.10+ asyncio Matrix framework.\n\nMatrix room: `#maunium:maunium.net`_\n\n\nComponents\n----------\n\n* Basic HTTP request sender (mautrix.api_)\n\n* `Client API`_ endpoints as functions (mautrix.client.api_)\n\n* Medium-level application service framework (mautrix.appservice_)\n\n  * Basic transaction and user/alias query support (based on Cadair's python-appservice-framework_)\n  * Basic room state storage\n  * Intent wrapper around the client API functions (design based on matrix-appservice-bridge)\n\n* Medium-level end-to-end encryption framework (mautrix.crypto_)\n\n  * Handles all the complicated e2ee key exchange\n  * Uses libolm through python-olm for the low-level crypto\n\n* High-level bridging utility framework (mautrix.bridge_)\n\n  * Base class for bridges\n  * Common bridge configuration and appservice registration generation things\n  * Double-puppeting helper\n  * End-to-bridge encryption helper\n\n* High-level client framework (mautrix.client_)\n\n  * Syncing and event handling helper.\n  * End-to-end encryption helper.\n\n* Utilities (mautrix.util_)\n\n  * Matrix HTML parsing and generating utilities\n  * Manhole system (get a python shell in a running process)\n  * YAML config helpers\n  * Database helpers (new: asyncpg, legacy: SQLAlchemy)\n  * Color logging utility\n  * Very simple HMAC-SHA256 utility for signing tokens (like JWT, but hardcoded to use a single good algorithm)\n\n.. _#maunium:maunium.net: https://matrix.to/#/#maunium:maunium.net\n.. _python-appservice-framework: https://github.com/Cadair/python-appservice-framework/\n.. _Client API: https://spec.matrix.org/latest/client-server-api/\n\n.. _mautrix.api: https://docs.mau.fi/python/latest/api/mautrix.api.html\n.. _mautrix.client.api: https://docs.mau.fi/python/latest/api/mautrix.client.api.html\n.. _mautrix.appservice: https://docs.mau.fi/python/latest/api/mautrix.appservice/index.html\n.. _mautrix.bridge: https://docs.mau.fi/python/latest/api/mautrix.bridge/index.html\n.. _mautrix.client: https://docs.mau.fi/python/latest/api/mautrix.client.html\n.. _mautrix.crypto: https://docs.mau.fi/python/latest/api/mautrix.crypto.html\n.. _mautrix.util: https://docs.mau.fi/python/latest/api/mautrix.util/index.html\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/mautrix.svg\n   :target: https://pypi.python.org/pypi/mautrix\n   :alt: PyPI: mautrix\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/mautrix.svg\n.. |License| image:: https://img.shields.io/github/license/mautrix/python.svg\n   :target: https://github.com/mautrix/python/blob/master/LICENSE\n   :alt: License: MPL-2.0\n.. |Docs| image:: https://img.shields.io/gitlab/pipeline-status/mautrix/python?branch=master\u0026gitlab_url=https%3A%2F%2Fmau.dev\u0026label=docs\n   :target: https://docs.mau.fi/python/latest/\n.. |Code style| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n.. |Imports| image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336\n   :target: https://pycqa.github.io/isort/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmautrix%2Fpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmautrix%2Fpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmautrix%2Fpython/lists"}