Skip to main content

pyokera

Python client for RecordService implementations.

Dependencies

Required:

  • Python 3.4+

  • six, bit_array, thriftpy2, urllib3, certifi

pip3 install six bit_array thriftpy2 urllib3 certifi

Optional:

  • pandas for conversion to DataFrame objects

Installation

pip3 install pyokera

To verify:

>>> import okera.odas
>>> okera.odas.version()
'##OKERA_RELEASE_VERSION##'

Usage

from okera import context
ctx = context()
with ctx.connect(host='localhost', port=12050) as conn:
    conn.list_databases()
    pd = conn.scan_as_pandas("okera_sample.sample")
    pd

To enable a connection to a server with token-authentication:

from okera import context
ctx = context()
ctx.enable_token_auth(token_str='my-token')
with ctx.connect(host='localhost', port=12050) as conn:
    conn.list_databases()

To enable a connection to a server with kerberos-authentication:

from okera import context
ctx = context()
# Connecting to server principal 'cerebro/service@REALM'
ctx.enable_kerberos('cerebro', host_override='service')
with ctx.connect(host='localhost', port=12050) as conn:
    conn.list_databases()

Metadata

Release files for pyokera 2.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyokera 2.9.0
File Size Uploaded Provenance Actions
pyokera-2.9.0.tar.gz 338.7 kB Without provenance Details for pyokera-2.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyokera 2.9.0
File Interpreter ABI Platform Actions
pyokera-2.9.0-py3.6.egg Legacy Egg format - - Details for pyokera-2.9.0-py3.6.egg

Total release size: 1.1 MB

Release files / pyokera-2.9.0.tar.gz

Download URL pyokera-2.9.0.tar.gz
Size 338.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b969909e8aed1aebde54d93a66116c6b1fa22529fe1b7708825850776f9c559f
BLAKE2b-256 checksum
How to use checksums
081ba94adfacee3cdcdf85837634e10efd42675f43ec0be08a34dd066b75d9ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release files / pyokera-2.9.0-py3.6.egg

Download URL pyokera-2.9.0-py3.6.egg
Size 740.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
ba3d116527cd5e0f119272453e713c507f803545aa039c3dcc6c94a4d95f113a
BLAKE2b-256 checksum
How to use checksums
ca3a3fff9f17f277954ec07378a2e3208b25c8188ab093f6cd5c92136adf47c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Security for pyokera 2.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page