Skip to main content

Endatabas Python Client

Project description

Endatabas Console and Python Client

The official console and Python client library for Endatabas.

Installation

pip install endb
pip install websockets  # optional WebSocket support
pip install pyarrow     # optional Apache Arrow support

endb is supported on Python 3.10 and above. WebSocket support is optional.

Documentation

Console Usage

endb_console [--url URL] [-u USERNAME] [-p PASSWORD]

Python Client Library Usage

from endb import Endb
e = Endb()
e.sql("INSERT INTO users {name: 'Yuvi'}")
e.sql("SELECT * FROM users;")

When the websockets dependency is installed, it is possible to return asynchronous results to the Python interactive shell directly if you start it with python3 -m asyncio:

from endb import EndbWebSocket
ews = EndbWebSocket()
result = await ews.sql("SELECT * FROM users;")
print(result)

Development

pip install setuptools wheel twine
make

Copyright and License

This subdirectory of the main Git repository and the contents of the endb PyPI package are subject to the MIT License:

Copyright 2023-2024 Håkan Råberg and Steven Deobald.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

endb-0.2.0b1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

endb-0.2.0b1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file endb-0.2.0b1.tar.gz.

File metadata

  • Download URL: endb-0.2.0b1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for endb-0.2.0b1.tar.gz
Algorithm Hash digest
SHA256 e2ab4e3c331007cda76bb4fb8232e519695da73458c9733d3c150a0473d4dc7d
MD5 faff6c83af8521f96f4262d548e19def
BLAKE2b-256 3280c75dbb3b333b43fc14ae0879f16c2c55358304d507b9e86ebad7e697d634

See more details on using hashes here.

File details

Details for the file endb-0.2.0b1-py3-none-any.whl.

File metadata

  • Download URL: endb-0.2.0b1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for endb-0.2.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 db66da8aca7e9f22722a1a13725642922b9437c8f63f703d660a0c8bc3f95a38
MD5 9ce2061a847eb3db51d15f833072b36e
BLAKE2b-256 1e5fa3da79d726ca178895754d6749114cb335e38a7e29ab75295ef94efe97c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page