{"id":34070345,"url":"https://github.com/marthjod/hipy","last_synced_at":"2026-04-29T12:38:13.585Z","repository":{"id":57437358,"uuid":"51137878","full_name":"marthjod/hipy","owner":"marthjod","description":"Convert Ruby output of older Hiera versions to equivalent Python or JSON data structures","archived":false,"fork":false,"pushed_at":"2019-10-08T15:00:15.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-24T20:51:04.549Z","etag":null,"topics":["hiera","json","pex","pypi","python","python3","ruby"],"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/marthjod.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":"2016-02-05T09:36:08.000Z","updated_at":"2019-10-08T15:00:17.000Z","dependencies_parsed_at":"2022-09-11T03:23:06.029Z","dependency_job_id":null,"html_url":"https://github.com/marthjod/hipy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marthjod/hipy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marthjod%2Fhipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marthjod%2Fhipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marthjod%2Fhipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marthjod%2Fhipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marthjod","download_url":"https://codeload.github.com/marthjod/hipy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marthjod%2Fhipy/sbom","scorecard":{"id":621347,"data":{"date":"2025-08-11","repo":{"name":"github.com/marthjod/hipy","commit":"827626841490252acd0f19576b8a298dc8eaeb2c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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"}}]},"last_synced_at":"2025-08-21T05:18:32.539Z","repository_id":57437358,"created_at":"2025-08-21T05:18:32.539Z","updated_at":"2025-08-21T05:18:32.539Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27720869,"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","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"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":["hiera","json","pex","pypi","python","python3","ruby"],"created_at":"2025-12-14T07:06:18.485Z","updated_at":"2025-12-14T07:06:19.087Z","avatar_url":"https://github.com/marthjod.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hipy\n\n[![Travis CI Build Status](https://travis-ci.org/marthjod/hipy.svg?branch=master)](https://travis-ci.org/marthjod/hipy)\n[![Coverage Status](https://coveralls.io/repos/github/marthjod/hipy/badge.svg?branch=master)](https://coveralls.io/github/marthjod/hipy?branch=master)\n\nConvert Ruby output of older Hiera versions to equivalent Python or JSON data structures.\n\n## Usage\n\n```bash\nUsage: hipy [OPTIONS]\n\n  Convert Hiera output to JSON/Python\n\nOptions:\n  --version          Show the version and exit.\n  --json / --python  Format output as JSON/Python (default: JSON)\n  --help             Show this message and exit.\n```\n\n## Examples\n\n### Standalone CLI script\n\n```bash\n$ echo nil | hipy\nnull\n$ echo nil | hipy --json\nnull\n$ echo nil | hipy --python\nNone\n```\n\n\nFor more examples (and possible limitations), cf. the test examples.\n\n\n### Library\n\n```python\n\u003e\u003e\u003e from hipy.parser import HieraOutputParser\n\u003e\u003e\u003e parser = HieraOutputParser(text='nil')\n\n\u003e\u003e\u003e parser.get_json()\n'null'\n\n\u003e\u003e\u003e parser.get_python() is None\nTrue\n\n\u003e\u003e\u003e parser = HieraOutputParser(text='nil', debug=True)\n\u003cNode called \"nil\" matching \"nil\"\u003e\n```\n\n## Tests\n\n### tox\n\n```\npip install tox\ntox\n```\n\n### manually\n\n```\npip install -r test-requirements.txt\nnosetests -c nose.cfg\n```\n\n## Installation\n\n### PyPI\n\n`pip install hipy`\n\n### Locally\n\nRun `python setup.py install`.\n\n### [PEX](https://pex.readthedocs.io/)\n\n```bash\nvirtualenv venv\nsource venv/bin/activate\npip install hipy pex\n\npex -r \u003c(pip freeze) -c hipy -o hipy.pex\n\ndeactivate\nmv hipy.pex /tmp\ncd /tmp\necho '{\"a\"=\u003e6}' | ./hipy.pex --python\n{u'a': 6}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarthjod%2Fhipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarthjod%2Fhipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarthjod%2Fhipy/lists"}