{"id":30772193,"url":"https://github.com/query-farm/python-flight-server","last_synced_at":"2025-09-05T00:52:50.455Z","repository":{"id":302154791,"uuid":"871390857","full_name":"Query-farm/python-flight-server","owner":"Query-farm","description":"A Python framework to build Arrow Flight servers for the DuckDB Airport Extension","archived":false,"fork":false,"pushed_at":"2025-07-25T12:34:15.000Z","size":178,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-27T20:21:17.850Z","etag":null,"topics":["arrow-flight","duckdb","duckdb-airport","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Query-farm.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":"2024-10-11T21:39:38.000Z","updated_at":"2025-08-26T01:43:02.000Z","dependencies_parsed_at":"2025-06-30T21:48:17.498Z","dependency_job_id":"ba89c620-bd7c-49bb-bd1a-6fac2c2adb96","html_url":"https://github.com/Query-farm/python-flight-server","commit_stats":null,"previous_names":["query-farm/python-flight-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Query-farm/python-flight-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fpython-flight-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fpython-flight-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fpython-flight-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fpython-flight-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Query-farm","download_url":"https://codeload.github.com/Query-farm/python-flight-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fpython-flight-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273695250,"owners_count":25151484,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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-flight","duckdb","duckdb-airport","python3"],"created_at":"2025-09-05T00:52:46.488Z","updated_at":"2025-09-05T00:52:50.446Z","avatar_url":"https://github.com/Query-farm.png","language":"Python","readme":"# `query-farm-flight-server`\n\nA robust Python framework for building [Apache Arrow Flight](https://arrow.apache.org/blog/2020/05/06/introducing-arrow-flight/) servers that integrate seamlessly with the [Airport extension](https://airport.query.farm) for [DuckDB](https://duckdb.org/).\n\nThis framework enables secure, efficient, and scalable server implementations with features such as authentication, schema management, and predicate pushdown for data queries.\n\n---\n\n## 🚀 Key Features\n\n* ✅ **Authentication \u0026 Authorization**: Pluggable backends for secure access control\n* 📚 **Schema \u0026 Table Management**: Full support for schema evolution and DDL operations\n* 📈 **Rate Limiting \u0026 Usage Tracking**: Monitor and control client usage\n* 🧩 **Extensible \u0026 Type-Safe**: Built for safe and scalable extension\n* ☁️ **AWS Integration**: Support for S3 storage and DynamoDB-based authentication\n\n---\n\n## 🛰 Arrow Flight Server Support\n\nDesigned to simplify the development of Arrow Flight servers:\n\n* Generic, reusable base classes for implementing Arrow Flight endpoints\n* Standardized handlers for all major data operations\n* Supports both streaming and batch workflows\n* Typed parameter parsing and serialization for safer code\n\n---\n\n## 🔐 Authentication System\n\nUnified interface for multiple authentication backends:\n\n* In-memory backend for local development and tests\n* DynamoDB backend for scalable, persistent auth\n* Naive implementation for prototyping\n* Token-based auth with built-in rate limiting\n\n---\n\n## 🔄 Data Serialization\n\nEfficient and type-safe serialization for Airport-compatible servers:\n\n* Parameter serialization using [MessagePack](https://msgpack.org/)\n* Record batch transfer using Arrow IPC\n* Support for DuckDB expression (de)serialization\n* Optimized binary payloads for Arrow Flight actions\n\n---\n\n## 🛠 Admin CLI\n\nBuilt-in command-line tool for managing and monitoring your server:\n\n* Create and manage user accounts and tokens\n* Monitor usage and generate reports\n* Manage configuration settings\n\n---\n\n## 🧩 Designed for Extension\n\nWhether you're integrating new storage backends, customizing authentication, or implementing complex business logic, `query-farm-flight-server` is built to scale with your needs while keeping your codebase clean and type-safe.\n\n\n# Getting Started\n\nInstallation\n\n```python\npip install query-farm-flight-server\n```\n\n# Development\n\nThis python module is designed to be extended for specific database backends. Implement the abstract methods in `BasicFlightServer` to create a custom server for your specific data source.\n\nThe project maintains strict type safety through Python's typing system and Pydantic models, ensuring robust API contracts.\n\n## Author\n\nThis Python module was created by [Query.Farm](https://query.farm).\n\n# License\n\nMIT Licensed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquery-farm%2Fpython-flight-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquery-farm%2Fpython-flight-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquery-farm%2Fpython-flight-server/lists"}