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"

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-0.3.3.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

pyocient-0.3.3-py2.py3-none-any.whl (33.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for pyocient-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5fd3d8984ac02bc7fa5fbd59bbb83bc88e9da3225fd7d3bb0488f4910cf4b652
MD5 a7ce696125f9682b9264404b10080a43
BLAKE2b-256 22d4f8475b1edda60aa748e1fc36e066ed15cfb3a2044166341e1e8ad64865c1

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyocient-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c4654278f89e4853c6c02417ddebba30189993302ea4200e74a8f269ecec378
MD5 9d41099854ce5fd819728a92b24fcbaa
BLAKE2b-256 0541301feaba52905d634af65c880adbf45d6a6f9e5eebff09d4397702bf7a91

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