{"id":24488209,"url":"https://github.com/codiepp/pl_lmdb","last_synced_at":"2025-03-15T00:14:08.122Z","repository":{"id":41850760,"uuid":"380317689","full_name":"CodiePP/pl_lmdb","owner":"CodiePP","description":"Prolog interface to LMDB (Lightning Memory-mapped Database)","archived":false,"fork":false,"pushed_at":"2022-06-03T20:29:34.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T18:04:58.636Z","etag":null,"topics":["hacktoberfest","lmdb","prolog"],"latest_commit_sha":null,"homepage":"","language":"C","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/CodiePP.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":"2021-06-25T17:58:13.000Z","updated_at":"2021-10-17T21:13:24.000Z","dependencies_parsed_at":"2022-08-11T19:20:57.851Z","dependency_job_id":null,"html_url":"https://github.com/CodiePP/pl_lmdb","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/CodiePP%2Fpl_lmdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodiePP%2Fpl_lmdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodiePP%2Fpl_lmdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodiePP%2Fpl_lmdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodiePP","download_url":"https://codeload.github.com/CodiePP/pl_lmdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663581,"owners_count":20327306,"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":["hacktoberfest","lmdb","prolog"],"created_at":"2025-01-21T16:18:50.692Z","updated_at":"2025-03-15T00:14:08.104Z","avatar_url":"https://github.com/CodiePP.png","language":"C","readme":"\n# Interfacing to LMDB from Prolog\n\n[![building the package for SWI Prolog](https://github.com/CodiePP/pl_lmdb/actions/workflows/compilation.yml/badge.svg?branch=main)](https://github.com/CodiePP/pl_lmdb/actions/workflows/compilation.yml)\n\n[LMDB](http://www.lmdb.tech/doc/) is a very fast database which maps committed records into memory.\n\n## compilation\n\n```sh\naclocal --force \u0026\u0026 autoheader --force \u0026\u0026 autoconf --force\n```\nthen run\n```sh\n./configure\n```\nthen call `make swi` to compile for SWI Prolog, or `make gp` to compile for GNU Prolog.\nA simple `make` will produce both.\n\n## installation (SWI Prolog)\n\n```sh\nmkdir -p ${HOME}/lib/sbcl\ncp src/lmdb.qlf ~/lib/sbcl/\ncp pllmdb-* ~/lib/sbcl/pllmdb\n```\n\nadd to the search path for SWI Prolog:\n```sh\necho \":- assertz(file_search_path(sbcl,'${HOME}/lib/sbcl')).\" \u003e\u003e ${HOME}/.config/swi-prolog/init.pl\n```\n\n## tests\n\nrun `make check` to start all tests using SWI Prolog and GNU Prolog. Note the time to completion.\n\nthis test will populate a database with one million of records:\n```sh\nswipl -l test/t3.pl -g test\n```\n\nthis test reads them all back and verifies them:\n```sh\nswipl -l test/t4.pl -g test\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiepp%2Fpl_lmdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodiepp%2Fpl_lmdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiepp%2Fpl_lmdb/lists"}