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.12.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.12-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bbconf-0.14.12.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.12.tar.gz
Algorithm Hash digest
SHA256 35a7dbd10b6407530560249bc922e33ca77257e04de9963c0f95df2be9877bd6
MD5 deeda9b6ce95da71f2c43e25884a642c
BLAKE2b-256 12c21ec2447fa4f7a680cf389b2d47336e43dd9bcf86a1959c1685ce80b618bf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bbconf-0.14.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 98783fea54c982ccd1e9a9072a0fca2147bc32e7f8fe9be6702032554df6a76f
MD5 5e8e336fc7a4fe14fa5c501cc7e38a0c
BLAKE2b-256 8e7549c324166c8fa49cc61823286f430f94c96fd5e84cc7905a96b51d006bb9

See more details on using hashes here.

Provenance

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