{"id":16311776,"url":"https://github.com/nfsaavedra/puppetparser","last_synced_at":"2025-03-22T20:34:58.047Z","repository":{"id":53261324,"uuid":"475052327","full_name":"Nfsaavedra/puppetparser","owner":"Nfsaavedra","description":"puppetparser is a Python library to parse Puppet scripts into an object model","archived":false,"fork":false,"pushed_at":"2024-08-08T15:54:33.000Z","size":161,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T21:45:32.211Z","etag":null,"topics":["parser","puppet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nfsaavedra.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":"2022-03-28T14:59:48.000Z","updated_at":"2024-09-18T03:26:14.000Z","dependencies_parsed_at":"2022-08-27T06:20:47.491Z","dependency_job_id":null,"html_url":"https://github.com/Nfsaavedra/puppetparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nfsaavedra%2Fpuppetparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nfsaavedra%2Fpuppetparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nfsaavedra%2Fpuppetparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nfsaavedra%2Fpuppetparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nfsaavedra","download_url":"https://codeload.github.com/Nfsaavedra/puppetparser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221839273,"owners_count":16889591,"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":["parser","puppet"],"created_at":"2024-10-10T21:45:29.589Z","updated_at":"2024-10-28T14:18:54.091Z","avatar_url":"https://github.com/Nfsaavedra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# puppetparser\n\npuppetparser is a Python library to parse Puppet scripts. This parser allows the transformation of a Puppet script into an object model that represents the constructs of the Puppet DSL language.\n\n## Installation\n\nTo install run:\n```\npip install puppetparser\n```\n\nOr clone the GitHub repository and run:\n```\npoetry install\n```\n\n## Usage\n\n\n```python\nfrom puppetparser.parser import parse\n\nwith open(path) as f:\n    parsed_script, comments = parse_puppet(f.read())\n```\n\n## Tests\n\nTo run the tests:\n```\npython3 -m unittest discover tests\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[GPL-3.0](https://choosealicense.com/licenses/gpl-3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfsaavedra%2Fpuppetparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfsaavedra%2Fpuppetparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfsaavedra%2Fpuppetparser/lists"}