{"id":17678544,"url":"https://github.com/antoinegagne/parthenon-hs","last_synced_at":"2025-05-12T22:53:50.781Z","repository":{"id":58342749,"uuid":"521794659","full_name":"AntoineGagne/parthenon-hs","owner":"AntoineGagne","description":"Tool to convert Athena terms into JSON values","archived":false,"fork":false,"pushed_at":"2025-03-25T14:44:09.000Z","size":64,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T22:53:44.368Z","etag":null,"topics":["athena","aws","cli","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AntoineGagne.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-05T22:52:23.000Z","updated_at":"2025-03-25T14:44:12.000Z","dependencies_parsed_at":"2023-02-16T09:45:54.488Z","dependency_job_id":"6d522315-7924-441a-ae8e-240356b9151e","html_url":"https://github.com/AntoineGagne/parthenon-hs","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":0.4722222222222222,"last_synced_commit":"09d7ef9e6002aa9a58898f3e1dfd46abfefb22ef"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineGagne%2Fparthenon-hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineGagne%2Fparthenon-hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineGagne%2Fparthenon-hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoineGagne%2Fparthenon-hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntoineGagne","download_url":"https://codeload.github.com/AntoineGagne/parthenon-hs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837389,"owners_count":21971981,"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":["athena","aws","cli","haskell"],"created_at":"2024-10-24T08:05:10.120Z","updated_at":"2025-05-12T22:53:50.760Z","avatar_url":"https://github.com/AntoineGagne.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parthenon\n\n[![Build Status](https://github.com/AntoineGagne/parthenon-hs/actions/workflows/haskell.yml/badge.svg)](https://github.com/AntoineGagne/parthenon-hs/actions)\n\n`parthenon` is a tool that convert Athena terms into JSON values.\n\n## How to get\n\n### Downloading binaries\n\nThe binaries can be found in the\n[Releases](https://github.com/AntoineGagne/parthenon-hs/releases) section.\n\n### Downloading the Docker image\n\nThe latest image can be downloaded via the following command:\n\n```sh\ndocker pull haskellenthusiast/parthenon\n```\n\nOther images can be found at\n[Dockerhub](https://hub.docker.com/r/haskellenthusiast/parthenon).\n\n### Building\n\n#### Build from source\n\nAfter cloning this repository, the following command can be used to build the\nbinary:\n\n```sh\nstack build\n```\n\n#### Build the Docker image\n\n```sh\ndocker build . -t parthenon:latest\n```\n\n## Usage\n\n### With the binary\n\n```sh\n# Create a schema\ncat \u003c\u003c EOF \u003e vectors\narray\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e\nEOF\n\ncat \u003c\u003c EOF \u003e athena-vectors\n[{x=1.0, y=1.0, z=1.0}]\nEOF\n\necho '[{x=1.0, y=1.0, z=1.0}]' | parthenon @vectors -\n# [{\"x\":1,\"y\":1,\"z\":1}]\necho '[{x=1.0, y=1.0, z=1.0}]' | parthenon 'array\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e' -\n# [{\"x\":1,\"y\":1,\"z\":1}]\nparthenon 'array\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e' '[{x=1.0, y=1.0, z=1.0}]'\n# [{\"x\":1,\"y\":1,\"z\":1}]\nparthenon 'array\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e' @athena-vectors\n# [{\"x\":1,\"y\":1,\"z\":1}]\n```\n\n### With the Docker image\n\nUsing the Docker image is similar to the commands above:\n\n```sh\ndocker run --rm -i parthenon:latest 'array\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e' '[{x=1.0, y=1.0, z=1.0}]'\necho '[{x=1.0, y=1.0, z=1.0}]' | docker run --rm -i parthenon:latest 'array\u003cstruct\u003cx: double, y: double, z: double\u003e\u003e'\n```\n\nTo make it easier to invoke the image, the following alias can be used:\n\n```sh\nalias parthenon='docker run --rm -i parthenon:latest'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinegagne%2Fparthenon-hs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoinegagne%2Fparthenon-hs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinegagne%2Fparthenon-hs/lists"}