{"id":32168413,"url":"https://github.com/jongretar/dbfex","last_synced_at":"2026-02-18T21:02:32.877Z","repository":{"id":199861100,"uuid":"702328724","full_name":"JonGretar/DBFex","owner":"JonGretar","description":"Read DBASE dbf files in Elixir.","archived":false,"fork":false,"pushed_at":"2024-03-27T08:58:18.000Z","size":190,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-16T18:23:04.423Z","etag":null,"topics":["database","dbase","dbf","elixir-lang","foxbase","foxpro"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/JonGretar.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-09T05:35:19.000Z","updated_at":"2024-03-14T09:12:45.000Z","dependencies_parsed_at":"2023-10-16T20:40:55.454Z","dependency_job_id":"37bf6105-0441-4fda-bbdb-34a5b4d72a35","html_url":"https://github.com/JonGretar/DBFex","commit_stats":null,"previous_names":["jongretar/dbfex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JonGretar/DBFex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonGretar%2FDBFex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonGretar%2FDBFex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonGretar%2FDBFex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonGretar%2FDBFex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonGretar","download_url":"https://codeload.github.com/JonGretar/DBFex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonGretar%2FDBFex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","dbase","dbf","elixir-lang","foxbase","foxpro"],"created_at":"2025-10-21T15:53:55.936Z","updated_at":"2026-02-18T21:02:32.872Z","avatar_url":"https://github.com/JonGretar.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBF\n\nRead DBASE files in Elixir.\n\nAt the moment it only supports read.\n\n## Usage\n\nOpen a file with open/1 or open/2 \n\n```elixir\n{:ok, db} = DBF.open(\"test/dbf_files/bayarea_zipcodes.dbf\")\n```\n\nThe resulting DB follows the enumerable protocol, so you can use all the functions in the Enum module.\n\nSo to get all the records of a database you can do:\n\n```elixir\ndb |\u003e Enum.to_list()\n```\n\nThe result will be a tuple ´{status, %{...}}´ with the record status being either :record or :deleted_record.\n\nYou can get specific rows by using the `DBF.get/2` function.\n\n```elixir\ncase DBF.get(db, 2) do\n  {:record, row} -\u003e IO.inspect row\n  {:deleted_record, row} -\u003e IO.inspect row\n  {:error, _} -\u003e IO.puts \"OMG\"\nend\n```\n\n## DBF File Format\n\n * http://independent-software.com/dbase-dbf-dbt-file-format.html\n * https://www.clicketyclick.dk/databases/xbase/format/dbf.html#DBF_STRUCT\n * https://wiki.dbfmanager.com/dbf-structure \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongretar%2Fdbfex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongretar%2Fdbfex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongretar%2Fdbfex/lists"}