Skip to main content

Ocient Database Python API

Project description

Ocient Database Python API

This python database API conforms to the Python Database API Specification 2.0 and can be used to access the Ocient database.

This module can also be called as a main function, in which case it acts as a primitive CLI for the database.

When called as main, it a connection string in DSN (data source name) format, followed by zero or more query strings that will be executed. Output is returned in JSON format.

The Ocient DSN is of the format: ocient://user:password@[host][:port][/database][?param1=value1&...]

user and password must be supplied. host defaults to localhost, port defaults to 4050, database defaults to system and tls defaults to off.

Currently supported parameters are:

  • tls: Which can have the values "off", "unverified", or "on"
  • force: Which can have the values "true"
  • handshake: Which can have the value "cbc"

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

pyocient-1.0.0.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

pyocient-1.0.0-py2.py3-none-any.whl (38.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyocient-1.0.0.tar.gz.

File metadata

  • Download URL: pyocient-1.0.0.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for pyocient-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ee00432862a631d13ce382121e6f156bb96c959d147d81e47fe0c003262d6773
MD5 8977b03bfd5b137772eb525c467e609f
BLAKE2b-256 4434ec4bfce0f5f214e9654998b7fef9b38f59eaf135c0944612c21a627b06dd

See more details on using hashes here.

Provenance

File details

Details for the file pyocient-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pyocient-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for pyocient-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa71b01b0f53a77f6ae9f569e4d4cc9581e477d6de7fb066fb6905e994a26d5b
MD5 9295ab98e7ef8cb76bcfd6701a913201
BLAKE2b-256 2c95176003cc6ffe57da380557fa4831db22143df079963f2bdc5b076b2f2b25

See more details on using hashes here.

Provenance

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