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:
findingmodel- Finding model index and searchanatomic-locations- Anatomic location ontologyfindingmodel-ai- AI-powered finding model tools
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94ca362ad78e5eb59233bb6dc5f346163a07338dfefded4fff905ba05d67e2cd
|
|
| MD5 |
f6da8b4de84d444497a8ffa31f0267b1
|
|
| BLAKE2b-256 |
e80d643f8e1bf02ccbcd7990e57ef0a1d0bc2cff67dbfd96f586ca877d0031ce
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f179027f2a360c5eba310e3a74aeebc4f9f72b6ac1d493555869c824d0c4b735
|
|
| MD5 |
87636973409f43e3a3188a5d7686bf92
|
|
| BLAKE2b-256 |
ac1797eef5158d1401fcadba13dcc1dbdb7291d3d113d2761de75644ef773a18
|