entei-core
Lightweight MongoDB root helpers: MongoRoot wraps a PyMongo collection; mongo_root_to_column_dict / materialize_root_data turn it into columnar dict[str, list].
Depends on pydantable-protocol, PyMongo, and typing-extensions only (no native Rust stack).
| Use case | Package |
|---|---|
| Columnar materialization only, minimal deps | entei-core (this package) |
connect, EnteiDataFrame, Records, expressions |
Install entie (PyPI) — it depends on entei-core |
- Documentation: entie.readthedocs.io
- Changelog: CHANGELOG
Install
pip install entei-core
From the monorepo (editable):
pip install -e ./packages/entei-core
Quick example
import mongomock
from entei_core import MongoRoot, mongo_root_to_column_dict
client = mongomock.MongoClient()
coll = client.db.items
coll.insert_many([{"x": 1}, {"x": 2}])
cols = mongo_root_to_column_dict(MongoRoot(coll))
assert cols == {"x": [1, 2]}
Versioning
Track pydantable-protocol minor lines you test against (see pydantable’s VERSIONING docs).
Metadata
Release files for entei-core 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| entei_core-0.2.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entei_core-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / entei_core-0.2.0.tar.gz
| Download URL | entei_core-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb8800ecd785dc89d4898ccda3a933e335c79832f07c0a2f167a649f57e6477c
|
|
BLAKE2b-256 checksum How to use checksums |
84464883607112ac1d3030c782b33a1815cebce36dde3711bdd97aac7e5bb262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / entei_core-0.2.0-py3-none-any.whl
| Download URL | entei_core-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
183d534d9cb4198e8fc68aa2143bb0100911646900ebbc69fe2e239bf073bb60
|
|
BLAKE2b-256 checksum How to use checksums |
ece5a27440c7c4efce20a0479cc50fcbbb8496713e8600c2488d9b7ad9620a68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|