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.10.tar.gz (407.3 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.10-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bbconf-0.14.10.tar.gz
Algorithm Hash digest
SHA256 ba75c2747bf51036c6a7b8ee01ce9a6b2e01726ab97adbda00055564fa174b86
MD5 02ed7be217551a930b798d31e3c5b3a5
BLAKE2b-256 70baef8e57864b34ddaf688fe6ed544f176de8f7dd2ba17220f176d3aafb1fcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbconf-0.14.10.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.10-py3-none-any.whl.

File metadata

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

File hashes

Hashes for bbconf-0.14.10-py3-none-any.whl
Algorithm Hash digest
SHA256 776253abdcdbb55fd4c063864882650bb790013c3b54089095f20f9186dd2aea
MD5 a2251713f84a6aba6b40b6a197436ecd
BLAKE2b-256 903723ef945e78a4b0a143150e4f70632c05731626a5b6b10565689adb3d4243

See more details on using hashes here.

Provenance

The following attestation bundles were made for bbconf-0.14.10-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