{"id":26160108,"url":"https://github.com/otvam/yaml_extension_python","last_synced_at":"2026-04-26T20:31:25.467Z","repository":{"id":164277150,"uuid":"232812148","full_name":"otvam/yaml_extension_python","owner":"otvam","description":"Python Code for Extending the YAML Format","archived":false,"fork":false,"pushed_at":"2021-11-04T04:14:07.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T17:45:04.908Z","etag":null,"topics":["include","python","yaml","yaml-extension","yaml-parser"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/otvam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-01-09T13:11:32.000Z","updated_at":"2023-07-20T04:11:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"9080ab32-53e7-406a-ab30-709946fb3cf4","html_url":"https://github.com/otvam/yaml_extension_python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/otvam/yaml_extension_python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otvam%2Fyaml_extension_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otvam%2Fyaml_extension_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otvam%2Fyaml_extension_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otvam%2Fyaml_extension_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otvam","download_url":"https://codeload.github.com/otvam/yaml_extension_python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otvam%2Fyaml_extension_python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: 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":["include","python","yaml","yaml-extension","yaml-parser"],"created_at":"2025-03-11T11:59:55.674Z","updated_at":"2026-04-26T20:31:25.462Z","avatar_url":"https://github.com/otvam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Code for Extending the YAML Format\n\n![license - BSD](https://img.shields.io/badge/license-BSD-green)\n![language - python](https://img.shields.io/badge/language-python-blue)\n![category - hobby](https://img.shields.io/badge/category-hobby-lightgrey)\n![status - unmaintained](https://img.shields.io/badge/status-unmaintained-red)\n\nThis **Python** class offers extensions to the **YAML** format:\n* include YAML file in YAML file\n* include relative filesystem paths\n* include Python expression\n\nThe extensions can be used as:\n```\ninclude_var: !include 'sub.yaml' #include the content file sub.yaml\npath_var: !path 'sub.yaml' # parse the relative path with respect to the YAML file\nexec_var: !exec '[1, 2, 3]' # evaluate the Python expression\n```\n\nThe example [test_yaml.pym](test_yaml.py) demonstrates the YAML parsing with the extensions.\n\nThis class:\n* was tested on \"MS Windows\" but should run with Linux\n* was tested with Python 3.6 and 3.7 but should run with Python 2.7\n\nThis class uses \"ast.literal_eval\" for a \"safe\" parsing of Python expression. However the capabilities are limited.\nFor an advanced parsing \"pyparsing\" could be used.\n\n## Author\n\n**Thomas Guillod** - [GitHub Profile](https://github.com/otvam)\n\n## License\n\nThis project is licensed under the **BSD License**, see [LICENSE.md](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotvam%2Fyaml_extension_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotvam%2Fyaml_extension_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotvam%2Fyaml_extension_python/lists"}