Skip to main content

Shared utilities for VelesDB Python integrations (internal use)

Project description

velesdb-common

Shared utilities for VelesDB Python integrations.

This package is not a public API. End users should install and import from langchain-velesdb, llama-index-vector-stores-velesdb, or haystack-velesdb directly.

What it provides

velesdb-common centralizes code shared by all three Python RAG framework integration packages:

  • Security validators — input sanitization for collection names, dimensions, queries, URLs
  • ID generation — deterministic hashing and sequential ID counters
  • Graph helpers — REST payload builders and native graph bindings
  • Memory formatting — procedural memory result formatting

Public Exports

The following symbols form the stable internal API consumed by langchain-velesdb, llama-index-vector-stores-velesdb, and haystack-velesdb. They are not intended for direct use by end users.

Export Type Description
build_fusion_strategy function Converts a strategy name + params dict into the native FusionStrategy object
validate_url function Validates a server URL string; raises ValueError on malformed input
validate_text function Sanitizes free-text query strings against injection patterns
validate_collection_name function Ensures a collection name meets naming rules (alphanumeric + underscore, ≤ 64 chars)
CollectionAdminMixin class Mixin providing shared admin operations (flush, get_collection_info, is_empty)
GraphOpsBase class Base class for graph query helpers used by both integrations

License

MIT License (this integration). See LICENSE for details.

VelesDB Core itself is licensed under the VelesDB Core License 1.0 (based on ELv2).

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

velesdb_common-1.14.4.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

velesdb_common-1.14.4-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file velesdb_common-1.14.4.tar.gz.

File metadata

  • Download URL: velesdb_common-1.14.4.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for velesdb_common-1.14.4.tar.gz
Algorithm Hash digest
SHA256 b4fcea129ff64a228a53bf9e75a2b02b500c190f9714cae0e004ba39a55952ee
MD5 d052a62a626b2e69acb675d91dd4b149
BLAKE2b-256 0402058b53406ef60efa16d77492e1a0201c84a00e1d9ac37d45b47dea9d56bf

See more details on using hashes here.

File details

Details for the file velesdb_common-1.14.4-py3-none-any.whl.

File metadata

File hashes

Hashes for velesdb_common-1.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c838892730978a2e36b2e45766c529e8d2ed29700e8deeef842e6e11a50c929
MD5 2fdadebba6411a42506cb3fec5f7578b
BLAKE2b-256 6dc630cd9f79b97282e195bb0d734d179dba7289636f8e98eaaabff7051e93d5

See more details on using hashes here.

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