{"id":50681599,"url":"https://github.com/notfilippo/arrow-zig","last_synced_at":"2026-06-08T19:32:18.057Z","repository":{"id":357343683,"uuid":"1236396682","full_name":"notfilippo/arrow-zig","owner":"notfilippo","description":"Apache Arrow columnar format in Zig","archived":false,"fork":false,"pushed_at":"2026-05-19T11:17:49.000Z","size":515,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T14:18:50.096Z","etag":null,"topics":["arrow","zig"],"latest_commit_sha":null,"homepage":"https://notfilippo.github.io/arrow-zig/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notfilippo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-12T07:57:08.000Z","updated_at":"2026-05-19T11:17:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/notfilippo/arrow-zig","commit_stats":null,"previous_names":["notfilippo/arrow-zig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/notfilippo/arrow-zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notfilippo%2Farrow-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notfilippo%2Farrow-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notfilippo%2Farrow-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notfilippo%2Farrow-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notfilippo","download_url":"https://codeload.github.com/notfilippo/arrow-zig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notfilippo%2Farrow-zig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34078019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arrow","zig"],"created_at":"2026-06-08T19:32:17.136Z","updated_at":"2026-06-08T19:32:18.052Z","avatar_url":"https://github.com/notfilippo.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nCopyright 2026 Filippo Rossi\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# arrow-zig\n\nApache Arrow columnar format in Zig.\n\nRequires Zig 0.16.0+.\n\nDocs: \u003chttps://notfilippo.github.io/arrow-zig/\u003e\n\n## Getting Started\n\nFrom a Zig project:\n\n```sh\nzig fetch --save=arrow git+https://github.com/notfilippo/arrow-zig.git\n```\n\nThen add the dependency module to the executable or library in `build.zig`:\n\n```zig\nconst std = @import(\"std\");\n\npub fn build(b: *std.Build) void {\n    const target = b.standardTargetOptions(.{});\n    const optimize = b.standardOptimizeOption(.{});\n    const arrow_dep = b.dependency(\"arrow\", .{\n        .target = target,\n        .optimize = optimize,\n    });\n\n    const exe = b.addExecutable(.{\n        .name = \"my_app\",\n        .root_module = b.createModule(.{\n            .root_source_file = b.path(\"src/main.zig\"),\n            .target = target,\n            .optimize = optimize,\n        }),\n    });\n    exe.root_module.addImport(\"arrow\", arrow_dep.module(\"arrow\"));\n\n    b.installArtifact(exe);\n}\n```\n\nPass `.single_threaded = true` to `b.dependency(\"arrow\", .{ ... })` to\ndisable atomic buffer refcounts for single-threaded use.\n\n## Example\n\n```zig\nconst arrow = @import(\"arrow\");\nconst std = @import(\"std\");\n\npub fn main() !void {\n    var gpa: std.heap.DebugAllocator(.{}) = .init;\n    defer _ = gpa.deinit();\n    const allocator = gpa.allocator();\n\n    var b = arrow.builder.NumericBuilder(i32).init(allocator);\n    defer b.deinit();\n\n    try b.append(10);\n    try b.appendNull();\n    try b.append(30);\n\n    const data = try b.finish();\n    defer data.deinit();\n\n    const values = try arrow.array.NumericArray(i32).fromData(data);\n    std.debug.print(\"{}\\n\", .{values.value(2)});\n}\n```\n\n## Contributing\n\nRun the full local check before sending changes:\n\n```sh\nzig build ci\n```\n\nThis runs license checks, generated docs, regular tests and nanoarrow interop tests.\n\nFormat and ABI details follow the [Arrow Columnar Format](https://arrow.apache.org/docs/format/Columnar.html)\nand [Arrow C Data Interface](https://arrow.apache.org/docs/format/CDataInterface.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotfilippo%2Farrow-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotfilippo%2Farrow-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotfilippo%2Farrow-zig/lists"}