Skip to main content

Configuration and data management tool for BEDbase

Project description

bbconf

Run pytests pypi-badge pypi-version Code style: black Github badge coverage

BEDBASE project configuration package (agent)

What is this?

bbconf is a configuration and data management library for the BEDbase platform. It serves as the central backbone for all BEDbase tools and pipelines by:

  • Reading and validating YAML configuration files
  • Setting up and managing connections to PostgreSQL, Qdrant, S3, and PEPHub
  • Loading ML models (Region2Vec, text embedders, sparse encoders, UMAP) used for BED file search
  • Providing high-level Python interfaces for querying and managing BED files and BED sets
  • Exposing a unified BedBaseAgent object that all downstream tools use to interact with the platform

Documentation: https://docs.bedbase.org/bedboss

Source Code: https://github.com/databio/bbconf


Installation

To install bbclient use this command:

pip install bbconf

or install the latest version from the GitHub repository:

pip install git+https://github.com/databio/bbconf.git

Quick start

from bbconf import BedBaseAgent

agent = BedBaseAgent(config="config.yaml")

# Access submodules
agent.bed        # BED file operations
agent.bedset     # BED set operations
agent.objects    # Generic object/file operations

# Get platform statistics
stats = agent.get_stats()
print(stats.bedfiles_number, stats.bedsets_number)

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

bbconf-0.14.11.tar.gz (407.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bbconf-0.14.11-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file bbconf-0.14.11.tar.gz.

File metadata

  • Download URL: bbconf-0.14.11.tar.gz
  • Upload date:
  • Size: 407.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bbconf-0.14.11.tar.gz
Algorithm Hash digest
SHA256 a0fc6cbfc4617f3ca32ade677c28190ed5f18563909179c7e63ed38f8d6e50ad
MD5 4dfa129f293326c2116f46acc8137332
BLAKE2b-256 3925c7eb81ca9893814ad366a09f54c2935b316f14b055e9adcdb262c9a99a83

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbconf-0.14.11.tar.gz:

Publisher: python-publish.yml on databio/bbconf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bbconf-0.14.11-py3-none-any.whl.

File metadata

  • Download URL: bbconf-0.14.11-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bbconf-0.14.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5701e50048757817c7a388401ce345728b52bfba9d7e7dbaa8e72401ba083719
MD5 657eed9d6ed28e0f14f07c88f2031b5f
BLAKE2b-256 8cb85b6b02a184db759dadf59d025b9c84efbfb6b3afb24a3b29ca3246095f95

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbconf-0.14.11-py3-none-any.whl:

Publisher: python-publish.yml on databio/bbconf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page