Skip to main content

btrdb-admin-python

This package contains a quick and dirty Python3 implementation of the BTRDB administrative API.

Note: At the moment only the ACL and Core API calls are available

Note: due to the quick/informal nature of this codebase, the tests ONLY include integration tests that expect to connect to a REAL btrdb server. A dotenv file or ENV config is required to run the tests

Usage

Install the API bindings with pip (using Python 3.6 or later):

$ pip install btrdb-admin

Then, obtain a connection to the database using a valid username and password that is able to use the admin API. Then you can execute admin methods directly off of the object.

from btrdb_admin import connect

db = connect("brtrdb.example.net:4411", username="marmaduke", password="usiB6iUsRLyn")
users = db.get_all_users()

JupyterHub Integration

The btrdb_admin library provides support for JupyterHub authentication using the BTrDB IDP. To use with JupyterHub, simply pip install -U btrdb-admin then in your jupyterhub_config.py add the following line:

c.JupyterHub.authenticator_class = 'btrdb'

Note that you should see a comment above the default position of this configuration that btrdb is one of the installed authenticators for use.

Metadata

Release files for btrdb-admin 5.11.1

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

Source distribution (sdist)

Source distribution for btrdb-admin 5.11.1
File Size Uploaded Provenance
btrdb_admin-5.11.1.tar.gz 55.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for btrdb-admin 5.11.1
File Interpreter ABI Platform
btrdb_admin-5.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 114.1 kB

Release files / btrdb_admin-5.11.1.tar.gz

Download URL btrdb_admin-5.11.1.tar.gz
Size 55.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e7e06d087ebeb200c72d42f0bd3a197b40d4b9d73872dc932756688142ac58fa
BLAKE2b-256 checksum
How to use checksums
539b46423cddded99e9b207b09d40f19d089398423ecf4cc91fb4643db34d053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

Release files / btrdb_admin-5.11.1-py3-none-any.whl

Download URL btrdb_admin-5.11.1-py3-none-any.whl
Size 58.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f35a1de5886b8c72faf0f35b06d9c929dde3b4c941f157fcdb50f878aaf68b4
BLAKE2b-256 checksum
How to use checksums
fa6bbd93a965a259e676947fb84cc9a580ea3aa4005e9876aa52a53866864160
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

Security for btrdb-admin 5.11.1

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.

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