
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Bindings to interact with the Berkeley Tree Database Admin API using gRPC.
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
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()
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.
FAQs
Bindings to interact with the Berkeley Tree Database Admin API using gRPC.
We found that btrdb-admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.