{"id":13614720,"url":"https://github.com/duckdb/duckdb-swift","last_synced_at":"2025-05-12T07:32:24.535Z","repository":{"id":155769208,"uuid":"616555895","full_name":"duckdb/duckdb-swift","owner":"duckdb","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-09T00:43:59.000Z","size":39350,"stargazers_count":99,"open_issues_count":5,"forks_count":22,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-09T01:33:17.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/duckdb.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}},"created_at":"2023-03-20T16:04:59.000Z","updated_at":"2025-05-09T00:43:57.000Z","dependencies_parsed_at":"2023-09-24T02:51:49.352Z","dependency_job_id":"f657cc20-9233-4944-8a18-2ec324bf09d5","html_url":"https://github.com/duckdb/duckdb-swift","commit_stats":null,"previous_names":[],"tags_count":612,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckdb","download_url":"https://codeload.github.com/duckdb/duckdb-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253695302,"owners_count":21948857,"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":[],"created_at":"2024-08-01T20:01:04.908Z","updated_at":"2025-05-12T07:32:19.494Z","avatar_url":"https://github.com/duckdb.png","language":"C++","funding_links":[],"categories":["Database"],"sub_categories":["Getting Started"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://duckdb.org/images/logo-dl/DuckDB_Logo-stacked.svg\" height=\"120\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/duckdb/duckdb/actions\"\u003e\n    \u003cimg src=\"https://github.com/duckdb/duckdb/actions/workflows/Main.yml/badge.svg?branch=main\" alt=\"Github Actions Badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://app.codecov.io/gh/duckdb/duckdb\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/duckdb/duckdb/branch/main/graph/badge.svg?token=FaxjcfFghN\" alt=\"codecov\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/tcvwpjfnZx\"\u003e\n    \u003cimg src=\"https://shields.io/discord/909674491309850675\" alt=\"discord\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/duckdb/duckdb/releases/\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/duckdb/duckdb?color=brightgreen\u0026display_name=tag\u0026logo=duckdb\u0026logoColor=white\" alt=\"Latest Release\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## DuckDB Swift\nDuckDB Swift is the native Swift API for DuckDB. It employs a modern Swift \nbased API for clients across Apple, Linux and Windows platforms.\n\n## DuckDB\nDuckDB is a high-performance analytical database system. It is designed to be fast, reliable and easy to use. DuckDB provides a rich SQL dialect, with support far beyond basic SQL. DuckDB supports arbitrary and nested correlated subqueries, window functions, collations, complex types (arrays, structs), and more. For more information on the goals of DuckDB, please refer to [the Why DuckDB page on our website](https://duckdb.org/why_duckdb).\n\n## Installation\nTo use DuckDB in your Swift based project:\n\n1. Add DuckDB to your `Swift.package` dependencies:\n\n    ```swift\n    .package(url: \"https://github.com/duckdb/duckdb-swift\", .upToNextMajor(from: .init(1, 0, 0))),\n    ```\n\n2. Add `DuckDB` as a dependency to your target:\n \n    ```swift\n    .target(name: \"TargetName\", dependencies: [\n      .product(name: \"DuckDB\", package: \"duckdb-swift\"),\n    ...\n    ]),\n    ```\n\n## Documentation and Playgrounds\nThe DuckDB Swift API is fully documented using DocC and the documentation can be generated from within Xcode via `Product \u003e Build Documentation`.\n\nYou can also explore an Xcode Playground that demonstrates getting up and running with DuckDB and visualizing data using SwiftUI. To access the playground, clone this repository, open the `DuckDB.xcworkspace` file, and navigate to the `DuckDBPlayground` from within Xcode's project explorer panel.\n\n## Contributing\nIssues and Pull Requests should be submitted via [the main DuckDB repository](https://github.com/duckdb/duckdb).\n\n## Development \nDevelopment is managed through [the main DuckDB repository](https://github.com/duckdb/duckdb). To set-up a Swift development environment:\n\n  1. Check out the main DuckDB repository at [`https://github.com/duckdb/duckdb`](https://github.com/duckdb/duckdb)\n  2. Pull the latest git tags:\n  ```shell\n  git fetch --all --tags\n  ```\n  3. Generate the Unified Build files for the package:\n  ```shell\n  python3 tools/swift/create_package.py tools/swift\n  ```\n  4. Open the Xcode workspace at `tools/swift/duckdb-swift/DuckDB.xcworkspace`\n\nPlease also refer to our [Contribution Guide](https://github.com/duckdb/duckdb/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckdb%2Fduckdb-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduckdb%2Fduckdb-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckdb%2Fduckdb-swift/lists"}