Skip to main content

Python client for RecordService implementations.

Dependencies

Required:

  • Python 3.4+

  • six, bit_array, thriftpy >=0.3.9

pip3 install six bit_array 'thriftpy>=0.3.9'

Optional:

  • pandas for conversion to DataFrame objects

Installation

pip3 install pycerebro

To verify:

>>> import cerebro.cdas
>>> cerebro.cdas.version()
'0.8.0-beta3'

Usage

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

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

from cerebro 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 cerebro 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 pokera 0.1.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 pokera 0.1.0
File Size Uploaded Provenance Actions
pokera-0.1.0.tar.gz 49.1 kB Without provenance Details for pokera-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pokera 0.1.0
File Interpreter ABI Platform Actions
pokera-0.1.0-py3.5.egg Legacy Egg format - - Details for pokera-0.1.0-py3.5.egg

Total release size: 111.6 kB

Release files / pokera-0.1.0.tar.gz

Download URL pokera-0.1.0.tar.gz
Size 49.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb5e25b0310c884d6a2f8cfbf69d3e29348a003aed5823265f383a68c06d7957
BLAKE2b-256 checksum
How to use checksums
8d92c6d6b095893c0846b2be850749e34406879e2d917adecdebfe764c0bb715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pokera-0.1.0-py3.5.egg

Download URL pokera-0.1.0-py3.5.egg
Size 62.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
072fcec715d85706d13476a3a1b9c63953672d703ddfa90a9a2fdd5c7167c953
BLAKE2b-256 checksum
How to use checksums
5f3d7c09cdfcbcb90e032bc35d1714547262c9a3ad5b8dc4d24900e7e7e19f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pokera 0.1.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

0.1.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