Skip to main content

Endatabas Python Client

Project description

Endatabas Client and Console

The official Python client library and console for Endatabas.

Installation

pip install endb
pip install websockets

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

Documentation

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.1.0a18.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

endb-0.1.0a18-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file endb-0.1.0a18.tar.gz.

File metadata

  • Download URL: endb-0.1.0a18.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for endb-0.1.0a18.tar.gz
Algorithm Hash digest
SHA256 e8ba8d6e35c4c38caaa924a1dd3c37009df4aff97f581e1b4b8106380c84a44e
MD5 45d1cf91fc783a917380ae78ed10e1dc
BLAKE2b-256 d1310dcc817c4f55754510f47f37bb1026e2eb970eb6db92274bbae74a45d9cf

See more details on using hashes here.

File details

Details for the file endb-0.1.0a18-py3-none-any.whl.

File metadata

  • Download URL: endb-0.1.0a18-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for endb-0.1.0a18-py3-none-any.whl
Algorithm Hash digest
SHA256 9c8fa79480027846c847e29fb0d9c09ecd72a4dd90dc6dc9b3ccf8c99ddbb156
MD5 366eb7711a1039dd9432c083c3319f08
BLAKE2b-256 8808e406940d496478161705085e0eb292e62668a5f77ac5497990d1a779892f

See more details on using hashes here.

Supported by

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