{"id":34070271,"url":"https://github.com/sohoffice/tavalidate","last_synced_at":"2026-04-01T19:18:23.780Z","repository":{"id":57473563,"uuid":"239286121","full_name":"sohoffice/tavalidate","owner":"sohoffice","description":"Utilities to help you validate Tavern response","archived":false,"fork":false,"pushed_at":"2020-03-02T15:26:18.000Z","size":10,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-16T06:56:02.464Z","etag":null,"topics":["rest-api","unittest","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sohoffice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-09T10:36:27.000Z","updated_at":"2020-03-02T15:26:20.000Z","dependencies_parsed_at":"2022-09-26T17:40:55.735Z","dependency_job_id":null,"html_url":"https://github.com/sohoffice/tavalidate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sohoffice/tavalidate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohoffice%2Ftavalidate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohoffice%2Ftavalidate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohoffice%2Ftavalidate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohoffice%2Ftavalidate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sohoffice","download_url":"https://codeload.github.com/sohoffice/tavalidate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohoffice%2Ftavalidate/sbom","scorecard":{"id":836545,"data":{"date":"2025-08-11","repo":{"name":"github.com/sohoffice/tavalidate","commit":"83c80de1606003b5cfaa6be18ae0585247ded0c5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/7 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":"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-55x5-fj6c-h6m8","Warn: Project is vulnerable to: PYSEC-2021-19 / GHSA-jq4v-f5q6-mjqq","Warn: Project is vulnerable to: PYSEC-2020-62 / GHSA-pgww-xf46-h92r","Warn: Project is vulnerable to: PYSEC-2022-230 / GHSA-wrxv-2j5q-m38w"],"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-23T19:11:46.129Z","repository_id":57473563,"created_at":"2025-08-23T19:11:46.129Z","updated_at":"2025-08-23T19:11:46.129Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31045622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T09:35:52.079Z","status":"ssl_error","status_checked_at":"2026-03-27T09:35:20.916Z","response_time":164,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["rest-api","unittest","xml"],"created_at":"2025-12-14T07:04:59.300Z","updated_at":"2026-04-01T19:18:23.773Z","avatar_url":"https://github.com/sohoffice.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"tavalidate, utilities to help you validate [Tavern](https://tavern.readthedocs.io/en/latest/) response.\n\nInstallation\n------------\n\nTavalidate can be installed through pip.\n\n```\npip install tavalidate\n```\n\nXML Validate\n----\n\nTavern has great built-in Json support, but things are difficult when it comes to XML.\nUse tavalidate.xmlv package to validate XML response.\n\nXML validation example:\n\n```\nresponse:\n  status_code: 200\n  verify_response_with:\n    function: tavalidate:assert_xml\n    extra_kwargs:\n      expected: |\n        \u003cfoo attr=\"!anystr\"\u003e\n          \u003cbar attr2=\"baz\"\u003e!anyint\u003c/bar\u003e\n        \u003c/foo\u003e\n```\n\nSimply put, pass the expected xml as an argument to the `tavalidate.xmlv.validate` function. The\nfunction will validate the xml structure, node value and attribute value.\n\n### extra_kwargs\n\nBelow are the supported extra kwargs of `tavalidate.xmlv.validate` function.\n\n#### expected\n\nThis is the expected XML string.\n\nYou may use some (not all) of the tavern magic values to match data of your specified type:\n\n- !anything: This matches value of any type.\n- !anystr: Matches any string\n- !anyint: Matches any integer\n- !anyfloat: Matches any float\n- !anybool: Matches any boolean\n\n#### strict\n\nUse `strict: True` if you want to make sure there's no extra tag in the response.\n\nXML Save\n----\n\nUse tavalidate.xmlv package to save XML response.\n\nIt allows you to use [XPath](https://en.wikipedia.org/wiki/XPath) to specify the value to save\ninside the xml document. If the XPath somehow selects multiple nodes, tavalidate will print a\nwarning, but the first value will still be saved.\n\nXML save example:\n\n```\nresponse:\n  save:\n    $ext:\n      function: tavalidate:save_xml\n      extra_kwargs:\n        variables:\n          bar: '/foo/bar/text()'\n          at1: '/foo/@at1'\n```\n\n\nLogging\n-------\n\nConfigure the logger `tavalidate` so you can see the response body and other logs in\nDEBUG level.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohoffice%2Ftavalidate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsohoffice%2Ftavalidate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohoffice%2Ftavalidate/lists"}