Infimum core library: base, engine, database, AI (LLM/VLM/speech), utils
Project description
infimum-core
Infimum core library: base entities, engine (DI/context/startup), database layer (PostgreSQL, Milvus, Qdrant, MongoDB), AI (LLM, VLM, speech, embeddings), and utilities.
Documentation: From repo root run pip install -e ./core && pip install -r docs/requirements.txt && mkdocs serve, then open http://127.0.0.1:8000. Or run mkdocs build to output the static site to site/.
Install
From PyPI:
pip install infimum-core
From GitHub (default branch):
pip install "git+https://github.com/inf-codebase/infimum.git#subdirectory=core"
From a GitHub release: use the release tag (e.g. v0.1.0) with @tag before #subdirectory:
pip install "git+https://github.com/inf-codebase/infimum.git@v0.1.0#subdirectory=core"
From a specific branch: e.g. ...infimum.git@main#subdirectory=core.
Then import core in Python. Local editable: pip install -e ./core from repo root. With uv: uv sync --project core from repo root. Optional extras: pip install infimum-core[all-db,security,llm] (see table below).
Optional extras
| Extra | Description |
|---|---|
mongo |
MongoDB support (pymongo, motor) |
milvus |
Milvus vector database |
qdrant |
Qdrant vector database |
all-db |
All database backends (mongo, milvus, qdrant) |
security |
JWT, password hashing (bcrypt, python-jose) |
llm |
LLM/agent stack (LangChain, LangGraph) |
Usage
Import remains unchanged:
import core
from core.base.entity import BaseEntity, Document
from core.database import DatabaseManager, VectorIndexConfig
from core.engine import context, startup
from core.utils import string_utils, auto_config
Subpackages
- core.base — Entities, registry, repository base
- core.engine — Context, decorators, startup, security (optional)
- core.database — Database managers and interfaces (Postgres, Milvus, Qdrant, Mongo)
- core.ai — LLM, VLM, speech, embeddings, data loaders, preprocessing
- core.utils — Config, embedding helpers, crawling, Redis, validation, etc.
Project details
Release history Release notifications | RSS feed
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 infimum_core-1.2.17.tar.gz.
File metadata
- Download URL: infimum_core-1.2.17.tar.gz
- Upload date:
- Size: 202.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81f6daa1cc9495cf8e5587adb0910587eae565648a5c1b6f6f3a57be0b872e54
|
|
| MD5 |
e003f18e2226d04c4b83e34e9ab8d00b
|
|
| BLAKE2b-256 |
e5bf1a918e4bda6e61a52740281ebc776f19cb42058d97e5dce9dd5b4cd5e5e1
|
File details
Details for the file infimum_core-1.2.17-py3-none-any.whl.
File metadata
- Download URL: infimum_core-1.2.17-py3-none-any.whl
- Upload date:
- Size: 267.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bcc011ecf71c75e2ca3a65d327f306279d13d7018045a1529cae7765d267829
|
|
| MD5 |
9c3b8a4401e0e509e311f970e77458d0
|
|
| BLAKE2b-256 |
9cbd29ccfe98889416c22aedbee3ecdc5cedb4abcc856a07f0cfa7ff90ce7323
|