Skip to main content

Shared infrastructure for OIDM packages

Project description

oidm-common

Internal infrastructure package for the Open Imaging Data Model (OIDM) ecosystem.

⚠️ Not for Direct Use

This package provides shared infrastructure for OIDM packages. Do not install this package directly.

Instead, use one of the user-facing packages:

Contents

  • DuckDB connection management and hybrid search
  • Embedding cache and providers
  • Distribution utilities (manifest, download, paths)
  • Shared data models (IndexCode, WebReference)

Embedding cache

High-level helpers (get_embedding, get_embeddings_batch) use a SQLite-backed cache (via diskcache) by default in the platform cache directory (for example: ~/Library/Caches/oidm-common/embeddings.cache on macOS).

Legacy cache data from the previous DuckDB file in the same platform cache directory (for example: ~/Library/Caches/findingmodel/embeddings.duckdb on macOS) and from the previous legacy diskcache path (~/Library/Caches/findingmodel/embeddings.cache) is migrated once on first setup of the default cache, assuming the current default embedding settings (text-embedding-3-small, 512 dimensions). Custom cache directories stay isolated and do not auto-import global legacy cache data.

Pass cache=None to disable caching, or pass an EmbeddingCache instance to override the source path (for migration) and cache directory.

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

oidm_common-0.2.7.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

oidm_common-0.2.7-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file oidm_common-0.2.7.tar.gz.

File metadata

  • Download URL: oidm_common-0.2.7.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for oidm_common-0.2.7.tar.gz
Algorithm Hash digest
SHA256 94ca362ad78e5eb59233bb6dc5f346163a07338dfefded4fff905ba05d67e2cd
MD5 f6da8b4de84d444497a8ffa31f0267b1
BLAKE2b-256 e80d643f8e1bf02ccbcd7990e57ef0a1d0bc2cff67dbfd96f586ca877d0031ce

See more details on using hashes here.

File details

Details for the file oidm_common-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: oidm_common-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for oidm_common-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f179027f2a360c5eba310e3a74aeebc4f9f72b6ac1d493555869c824d0c4b735
MD5 87636973409f43e3a3188a5d7686bf92
BLAKE2b-256 ac1797eef5158d1401fcadba13dcc1dbdb7291d3d113d2761de75644ef773a18

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