{"id":16717980,"url":"https://github.com/drup/ocaml-lmdb","last_synced_at":"2025-10-01T07:31:41.544Z","repository":{"id":18176015,"uuid":"21288973","full_name":"Drup/ocaml-lmdb","owner":"Drup","description":"Ocaml bindings for lmdb.","archived":false,"fork":false,"pushed_at":"2025-01-17T18:24:33.000Z","size":406,"stargazers_count":48,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-17T18:27:04.352Z","etag":null,"topics":["ctypes","database","lmdb","ocaml"],"latest_commit_sha":null,"homepage":"https://drup.github.io/ocaml-lmdb/dev/","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/Drup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-06-27T20:54:56.000Z","updated_at":"2025-01-17T18:24:34.000Z","dependencies_parsed_at":"2024-03-05T10:00:38.439Z","dependency_job_id":null,"html_url":"https://github.com/Drup/ocaml-lmdb","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drup%2Focaml-lmdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drup%2Focaml-lmdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drup%2Focaml-lmdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drup%2Focaml-lmdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Drup","download_url":"https://codeload.github.com/Drup/ocaml-lmdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234841979,"owners_count":18895142,"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":["ctypes","database","lmdb","ocaml"],"created_at":"2024-10-12T21:34:35.517Z","updated_at":"2025-10-01T07:31:41.197Z","avatar_url":"https://github.com/Drup.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCaml-lmdb [![Build Status](https://travis-ci.org/Drup/ocaml-lmdb.svg?branch=master)](https://travis-ci.org/Drup/ocaml-lmdb) [![docs](https://img.shields.io/badge/doc-online-blue.svg)][doc]\n\nThe [LMDB][] database is a fast in-file database that supports ACID transactions.\n\nThese bindings expose a typesafe yet low-overhead API. Both transactions and cursors are available. \nDatabase implementations are specialized both by keys and values.\nTwo module are predefined: `Lmdb.Db` (string keys and string values) and `Lmdb.IntDb` (int keys and string values). \nNew implementation (which can use special LMDB features such as multi-values) can be added via a functorial interface.\n\nPlease consult the [documentation][doc] and a [simple example](tests/simple_db.ml).\n\n```ocaml\nlet open Lmdb in\nlet env = Env.(create Rw ~flags:Flags.no_subdir ~max_maps:1) \"mydb\" in\nlet map = Map.create Nodup ~key:Conv.string ~value:Conv.string\n\t    ~name:\"Camelidae\" env in\nMap.add map \"Bactrian camel\" \"Elegant and beautiful animal with two humps.\"\n```\n\n[lmdb]: http://symas.com/mdb/#overview\n[doc]: https://drup.github.io/ocaml-lmdb/dev/lmdb/Lmdb/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrup%2Focaml-lmdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrup%2Focaml-lmdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrup%2Focaml-lmdb/lists"}