{"id":16717182,"url":"https://github.com/mseri/ocaml-gr","last_synced_at":"2025-04-10T06:43:21.792Z","repository":{"id":69444304,"uuid":"207324803","full_name":"mseri/ocaml-gr","owner":"mseri","description":"[wip]…Low level bindigs to the GR plotting framework (gr-framework.org)","archived":false,"fork":false,"pushed_at":"2021-08-03T08:46:54.000Z","size":310,"stargazers_count":14,"open_issues_count":7,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T07:49:56.798Z","etag":null,"topics":["gr-framework","hacktoberfest","plotting","plotting-framework"],"latest_commit_sha":null,"homepage":"http://www.mseri.me/ocaml-gr/gr/index.html","language":"OCaml","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/mseri.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2019-09-09T14:09:38.000Z","updated_at":"2024-06-07T17:43:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd76b978-3d47-4d69-b0d2-9f1d78e316c1","html_url":"https://github.com/mseri/ocaml-gr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Focaml-gr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Focaml-gr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Focaml-gr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseri%2Focaml-gr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mseri","download_url":"https://codeload.github.com/mseri/ocaml-gr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173434,"owners_count":21059595,"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":["gr-framework","hacktoberfest","plotting","plotting-framework"],"created_at":"2024-10-12T21:30:34.974Z","updated_at":"2025-04-10T06:43:21.784Z","avatar_url":"https://github.com/mseri.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lowlevel bindigs to the [GR](http://gr-framework.org) plotting framework\n\nBased on version [0.37.0](https://github.com/sciapp/gr/tree/v0.37.0/lib/gks), the one installed by hombrew on osx (`brew install libgr`) at the time of creating the bindings.\n\nTo install, first install `libGR` and set the `GRDIR` env variable, then run `opam install gr`.\n\nThe documentation is published here: [online documentation](http://www.mseri.me/ocaml-gr/gr/index.html).\n\nCurrently `libGr` is only looked via `GRDIR` or through the default library paths of your system.\nYou can customise this by unsetting `GRDIR` and specifying the path to `libGR.so` (or `libGR.dylib`) with the environment variable `LIBGRPATH`.\n\nThe tests are only compiling the examples.\nYou can run them as follows:\n```\n$ GRDIR=~/gr dune exec examples/example_simple.exe\n$ GRDIR=~/gr dune exec examples/example_complex.exe\n$ GRDIR=~/gr dune exec examples/example_lowlevel.exe\n$ GRDIR=~/gr dune exec examples/example_dynamic.exe\n```\nMake sure that GRDIR or LIBGRPATH are pointing to the right path.\n\n## Disclaimer\n\nVery incomplete: I don't know how to deal with the ``meta thingy'' in ctypes, and I have yet to bind the GKS library.\n\nAt some point I would like to add a high level interface, but I cannot predict when I will be able to put in thee time.\n\nContributions are welcome.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseri%2Focaml-gr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmseri%2Focaml-gr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseri%2Focaml-gr/lists"}