{"id":13534492,"url":"https://github.com/yaml/pyyaml","last_synced_at":"2026-07-11T01:26:06.301Z","repository":{"id":1777449,"uuid":"2700147","full_name":"yaml/pyyaml","owner":"yaml","description":"Canonical source repository for PyYAML","archived":false,"fork":false,"pushed_at":"2026-06-17T22:18:20.000Z","size":745,"stargazers_count":2908,"open_issues_count":349,"forks_count":586,"subscribers_count":51,"default_branch":"main","last_synced_at":"2026-07-04T11:02:38.097Z","etag":null,"topics":["python","yaml"],"latest_commit_sha":null,"homepage":"","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/yaml.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","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":"2011-11-03T05:09:49.000Z","updated_at":"2026-07-03T22:07:10.000Z","dependencies_parsed_at":"2023-01-13T11:24:12.281Z","dependency_job_id":"ec09fc4a-3b21-4874-a953-ccff0176db69","html_url":"https://github.com/yaml/pyyaml","commit_stats":{"total_commits":324,"total_committers":42,"mean_commits":7.714285714285714,"dds":0.4629629629629629,"last_synced_commit":"69c141adcf805c5ebdc9ba519927642ee5c7f639"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/yaml/pyyaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fpyyaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fpyyaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fpyyaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fpyyaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/pyyaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fpyyaml/sbom","scorecard":{"id":1238459,"data":{"date":"2025-07-07","repo":{"name":"github.com/yaml/pyyaml","commit":"69c141adcf805c5ebdc9ba519927642ee5c7f639"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":5.8,"checks":[{"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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"Maintained","score":4,"reason":"0 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 7/30 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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"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/ci.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:188: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:201: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:247: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:432: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:599: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:139: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:273: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:279: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:298: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:362: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:368: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:375: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:413: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:464: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:521: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:527: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:534: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:569: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:581: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/yaml/pyyaml/ci.yaml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yaml:553","Warn: pipCommand not pinned by hash: .github/workflows/ci.yaml:60","Warn: pipCommand not pinned by hash: .github/workflows/ci.yaml:230","Info:   0 out of  24 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party 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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"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/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/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/bb9c347dff6349d986baab6578a46d68a5524c62/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/bb9c347dff6349d986baab6578a46d68a5524c62/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 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}}]},"last_synced_at":"2025-10-04T00:34:32.258Z","repository_id":1777449,"created_at":"2025-10-04T00:34:32.258Z","updated_at":"2025-10-04T00:34:32.258Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35130720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":["python","yaml"],"created_at":"2024-08-01T07:01:34.332Z","updated_at":"2026-07-11T01:26:06.296Z","avatar_url":"https://github.com/yaml.png","language":"Python","funding_links":[],"categories":["File Format Processing","Python","Data Format \u0026 I/O","Libraries by Language","Data Serialization Formats","File Formats","Libraries"],"sub_categories":["For Python","Python","Core Libraries"],"readme":"PyYAML\n======\n\nA full-featured YAML processing framework for Python\n\n## Installation\n\nTo install, type `python setup.py install`.\n\nBy default, the `setup.py` script checks whether LibYAML is installed and if\nso, builds and installs LibYAML bindings.\nTo skip the check and force installation of LibYAML bindings, use the option\n`--with-libyaml`: `python setup.py --with-libyaml install`.\nTo disable the check and skip building and installing LibYAML bindings, use\n`--without-libyaml`: `python setup.py --without-libyaml install`.\n\nWhen LibYAML bindings are installed, you may use fast LibYAML-based parser and\nemitter as follows:\n\n    \u003e\u003e\u003e yaml.load(stream, Loader=yaml.CLoader)\n    \u003e\u003e\u003e yaml.dump(data, Dumper=yaml.CDumper)\n\nIf you don't trust the input YAML stream, you should use:\n\n    \u003e\u003e\u003e yaml.safe_load(stream)\n\n## Testing\n\nPyYAML includes a comprehensive test suite.\n\nTo run the complete local test suite, type:\n\n    make test\n\nThis creates a local Python environment, runs the pure Python tests, builds a\nlocal copy of LibYAML, and then runs the LibYAML extension tests. The local\nLibYAML build is pinned by `LIBYAML-REF`, which defaults to `0.2.5`.\n\nTo run only one test mode:\n\n    make test-python\n    make test-libyaml\n\nTo test with a specific Python version:\n\n    make test PYTHON-VERSION=3.13.5\n\n## Further Information\n\n* For more information, check the\n  [PyYAML homepage](https://github.com/yaml/pyyaml).\n\n* [PyYAML tutorial and reference](http://pyyaml.org/wiki/PyYAMLDocumentation).\n\n* Discuss PyYAML with the maintainers on\n  Matrix at https://matrix.to/#/#pyyaml:yaml.io or\n  IRC #pyyaml irc.libera.chat\n\n* Submit bug reports and feature requests to the\n  [PyYAML bug tracker](https://github.com/yaml/pyyaml/issues).\n\n## License\n\nThe PyYAML module was written by Kirill Simonov \u003cxi@resolvent.net\u003e.\nIt is currently maintained by the YAML and Python communities.\n\nPyYAML is released under the MIT license.\n\nSee the file LICENSE for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fpyyaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fpyyaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fpyyaml/lists"}