adbc-driver-flightsql


Nameadbc-driver-flightsql JSON
Version 1.3.0 PyPI version JSON
download
home_pageNone
SummaryAn ADBC driver for working with Apache Arrow Flight SQL.
upload_time2024-11-13 01:52:24
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!---
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

# ADBC Apache Arrow Flight SQL Driver for Python

This package contains bindings for the [Golang Apache Arrow Flight SQL
driver][flightsql], using the [driver manager][driver-manager] to provide a
[DBAPI 2.0/PEP 249-compatible][dbapi] interface on top.

[dbapi]: https://peps.python.org/pep-0249/
[driver-manager]: https://arrow.apache.org/adbc/current/python/driver_manager.html
[flightsql]: https://arrow.apache.org/adbc/current/driver/flight_sql.html

## Building

Dependencies: a build of the Apache Arrow Flight SQL driver, and the
`adbc-driver-manager` Python package.  Optionally, install PyArrow to
use the DBAPI 2.0-compatible interface.

Set the environment variable `ADBC_FLIGHTSQL_LIBRARY` to the path to
`libadbc_driver_flightsql.{dll,dylib,so}` before running `pip install`.

```
# If not already installed
pip install -e ../adbc_driver_manager

export ADBC_FLIGHTSQL_LIBRARY=/path/to/libadbc_driver_flightsql.so
pip install --no-deps -e .
```

For users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify ``-DADBC_DRIVER_FLIGHTSQL=ON`` you can also add ``-DADBC_BUILD_PYTHON=ON`` to define a ``python`` target.

For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_FLIGHTSQL=ON
cmake --build build --target python
```

will properly build and install the Python library for you.


See [CONTRIBUTING.md](../../CONTRIBUTING.md) for details on the
general build process.

## Testing

To run the tests, use pytest:

```shell
$ pytest -vvx
```

See [CONTRIBUTING.md](../../CONTRIBUTING.md) for details on the
general test process.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "adbc-driver-flightsql",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Apache Arrow Developers <dev@arrow.apache.org>",
    "download_url": "https://files.pythonhosted.org/packages/f3/f0/0b6fdda19da07ec9f77d0ac0396b0867e7267ff9542f57420eb067ee44d2/adbc_driver_flightsql-1.3.0.tar.gz",
    "platform": null,
    "description": "<!---\n  Licensed to the Apache Software Foundation (ASF) under one\n  or more contributor license agreements.  See the NOTICE file\n  distributed with this work for additional information\n  regarding copyright ownership.  The ASF licenses this file\n  to you under the Apache License, Version 2.0 (the\n  \"License\"); you may not use this file except in compliance\n  with the License.  You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing,\n  software distributed under the License is distributed on an\n  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n  KIND, either express or implied.  See the License for the\n  specific language governing permissions and limitations\n  under the License.\n-->\n\n# ADBC Apache Arrow Flight SQL Driver for Python\n\nThis package contains bindings for the [Golang Apache Arrow Flight SQL\ndriver][flightsql], using the [driver manager][driver-manager] to provide a\n[DBAPI 2.0/PEP 249-compatible][dbapi] interface on top.\n\n[dbapi]: https://peps.python.org/pep-0249/\n[driver-manager]: https://arrow.apache.org/adbc/current/python/driver_manager.html\n[flightsql]: https://arrow.apache.org/adbc/current/driver/flight_sql.html\n\n## Building\n\nDependencies: a build of the Apache Arrow Flight SQL driver, and the\n`adbc-driver-manager` Python package.  Optionally, install PyArrow to\nuse the DBAPI 2.0-compatible interface.\n\nSet the environment variable `ADBC_FLIGHTSQL_LIBRARY` to the path to\n`libadbc_driver_flightsql.{dll,dylib,so}` before running `pip install`.\n\n```\n# If not already installed\npip install -e ../adbc_driver_manager\n\nexport ADBC_FLIGHTSQL_LIBRARY=/path/to/libadbc_driver_flightsql.so\npip install --no-deps -e .\n```\n\nFor users building from the arrow-adbc source repository, you can alternately use CMake to manage library dependencies and set environment variables for you. Assuming you specify ``-DADBC_DRIVER_FLIGHTSQL=ON`` you can also add ``-DADBC_BUILD_PYTHON=ON`` to define a ``python`` target.\n\nFor example, assuming you run cmake from the project root:\n\n```shell\ncmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_FLIGHTSQL=ON\ncmake --build build --target python\n```\n\nwill properly build and install the Python library for you.\n\n\nSee [CONTRIBUTING.md](../../CONTRIBUTING.md) for details on the\ngeneral build process.\n\n## Testing\n\nTo run the tests, use pytest:\n\n```shell\n$ pytest -vvx\n```\n\nSee [CONTRIBUTING.md](../../CONTRIBUTING.md) for details on the\ngeneral test process.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "An ADBC driver for working with Apache Arrow Flight SQL.",
    "version": "1.3.0",
    "project_urls": {
        "homepage": "https://arrow.apache.org/adbc/",
        "repository": "https://github.com/apache/arrow-adbc"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2147d97c79b03e655817cc19ccdd3a771707a830de8e79db2ff88b2d4c4dd662",
                "md5": "f860bd51f4e1ff08e0c4e1dc9596eb9d",
                "sha256": "7e54598ffd9eedf6f32b74826ca472b85ac8b270aeaaf53cd0d99cd291afd4d9"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0-py3-none-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f860bd51f4e1ff08e0c4e1dc9596eb9d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6369521,
            "upload_time": "2024-11-13T01:50:45",
            "upload_time_iso_8601": "2024-11-13T01:50:45.964122Z",
            "url": "https://files.pythonhosted.org/packages/21/47/d97c79b03e655817cc19ccdd3a771707a830de8e79db2ff88b2d4c4dd662/adbc_driver_flightsql-1.3.0-py3-none-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23ad089d5e808564582670b4d25b3a1e94d1784ec9421ab205c73f80f59c4c99",
                "md5": "5c61d2a89b0baaf89f33ad9d2e8dda7a",
                "sha256": "cbcd030c387a154e6db1475880c5b903971d43f2479394379c3847a5b8f28d2f"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "5c61d2a89b0baaf89f33ad9d2e8dda7a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6003590,
            "upload_time": "2024-11-13T01:50:48",
            "upload_time_iso_8601": "2024-11-13T01:50:48.464026Z",
            "url": "https://files.pythonhosted.org/packages/23/ad/089d5e808564582670b4d25b3a1e94d1784ec9421ab205c73f80f59c4c99/adbc_driver_flightsql-1.3.0-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03e5cc80885b8bf7dc94125e8a03c7ce02e698dd946d75b1a67817b0dfb9ac4c",
                "md5": "c1691c2a0f0470ad0d8f542cccba404f",
                "sha256": "f16900b7a76e2848da8d9c63d7a65ab209775c23badef4c65f4d310d0c0c2503"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "c1691c2a0f0470ad0d8f542cccba404f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5870862,
            "upload_time": "2024-11-13T01:50:51",
            "upload_time_iso_8601": "2024-11-13T01:50:51.690273Z",
            "url": "https://files.pythonhosted.org/packages/03/e5/cc80885b8bf7dc94125e8a03c7ce02e698dd946d75b1a67817b0dfb9ac4c/adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "905647c2c7eec81071c96c0293a746988e4dd748c8fb19d098a4f55f747c65fe",
                "md5": "ba11ec60ea5f208df1b2d8d25fb7232b",
                "sha256": "ae7f2d6dc59e1f2838206eb23264fe7eeaea000b90b10f4c2867c6c26c30f713"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ba11ec60ea5f208df1b2d8d25fb7232b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6396999,
            "upload_time": "2024-11-13T01:50:53",
            "upload_time_iso_8601": "2024-11-13T01:50:53.828675Z",
            "url": "https://files.pythonhosted.org/packages/90/56/47c2c7eec81071c96c0293a746988e4dd748c8fb19d098a4f55f747c65fe/adbc_driver_flightsql-1.3.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d6b79c6b5753de7dfdef2eeb4691ecec8dad10cab239191c30f54b7f193f708",
                "md5": "82ac4ac36217ea6fce2afc9a28346f42",
                "sha256": "847387985165b162fce718d4a5f57845c31e3074766d4c2879f16908701a53e9"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "82ac4ac36217ea6fce2afc9a28346f42",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 11848714,
            "upload_time": "2024-11-13T01:50:56",
            "upload_time_iso_8601": "2024-11-13T01:50:56.260263Z",
            "url": "https://files.pythonhosted.org/packages/5d/6b/79c6b5753de7dfdef2eeb4691ecec8dad10cab239191c30f54b7f193f708/adbc_driver_flightsql-1.3.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3f00b6fdda19da07ec9f77d0ac0396b0867e7267ff9542f57420eb067ee44d2",
                "md5": "f1731a019f22c75d327150270bcc16ce",
                "sha256": "b1bf51ba9606489afaaae93813ce88dde3bf321deb082f4a1ed4231f4ba39f2a"
            },
            "downloads": -1,
            "filename": "adbc_driver_flightsql-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f1731a019f22c75d327150270bcc16ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 19914,
            "upload_time": "2024-11-13T01:52:24",
            "upload_time_iso_8601": "2024-11-13T01:52:24.860432Z",
            "url": "https://files.pythonhosted.org/packages/f3/f0/0b6fdda19da07ec9f77d0ac0396b0867e7267ff9542f57420eb067ee44d2/adbc_driver_flightsql-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-13 01:52:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apache",
    "github_project": "arrow-adbc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "adbc-driver-flightsql"
}
        
Elapsed time: 0.71635s