{"id":17008149,"url":"https://github.com/szikszail/yamltopy","last_synced_at":"2025-03-22T12:21:01.088Z","repository":{"id":62590400,"uuid":"346461926","full_name":"szikszail/yamltopy","owner":"szikszail","description":"A Python CLI tool to convert YAML file to Python module for better load performance","archived":false,"fork":false,"pushed_at":"2021-03-12T20:48:16.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T04:00:10.487Z","etag":null,"topics":["hacktoberfest","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/szikszail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-10T19:01:56.000Z","updated_at":"2023-10-04T12:06:23.000Z","dependencies_parsed_at":"2022-11-03T17:57:36.266Z","dependency_job_id":null,"html_url":"https://github.com/szikszail/yamltopy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szikszail%2Fyamltopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szikszail%2Fyamltopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szikszail%2Fyamltopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szikszail%2Fyamltopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szikszail","download_url":"https://codeload.github.com/szikszail/yamltopy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244954145,"owners_count":20537719,"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","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":["hacktoberfest","python","yaml"],"created_at":"2024-10-14T05:27:32.219Z","updated_at":"2025-03-22T12:21:01.063Z","avatar_url":"https://github.com/szikszail.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yamltopy\n\n![PyPI](https://img.shields.io/pypi/v/yamltopy?style=flat-square)\n![PyPI - Downloads](https://img.shields.io/pypi/dw/yamltopy?style=flat-square)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/szikszail/yamltopy?style=flat-square)\n\n## Install\n\n```shell\npip install yamltopy\n```\n\n## Usage\n\n```\nusage: yamltopy [-h] [-i INPUT] [-o OUTPUT] [-n NAME] [-v]\n\nConvert YAML configuration file to a Python modulefor better performance\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        The input Yaml file (YML or YAML)\n  -o OUTPUT, --output OUTPUT\n                        The output Py file\n  -n NAME, --name NAME  The name of the exported variable containg the Yaml data\n  -v, --verbose\n```\n\nConvert YAML file to PY:\n\n```shell\nyamltopy -i path/to/file.yaml -o path/to/output.py -n NAME_OF_VARIABLE\n```\n\nYou can import the output file (if modules set up properly):\n\n```python\nfrom path.to.output import NAME_OF_VARIABLE\n\nprint(NAME_OF_VARIABLE)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszikszail%2Fyamltopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszikszail%2Fyamltopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszikszail%2Fyamltopy/lists"}