entie
MongoDB table helpers on entei-core: connect, EntieDatabase / EntieMongoClient, EnteiDataFrame, Records, and col / lit / column.
Aligned with moltres ergonomics (connect, table, Records.insert_into) for document databases — no pydantable-native.
- Documentation: entie.readthedocs.io · docs on GitHub
- Changelog: CHANGELOG
- See also: entei-core for
MongoRoot/ materialization only
Install
pip install entie
From the monorepo:
pip install -e ../entei-core
pip install -e .
Features
connect— PyMongo entrypoint;ENTIE_URIwhenuriis omitted (likeMOLTRES_DSN).EntieDatabase.table/.collection— access a collection;tables()lists names.EnteiDataFrame— lazy read +filter_rows+select+collect(pure Python).Records.from_list(..., database=db).insert_into("name")— bulk insert (moltres-style).- Re-exports
MongoRootand materialization helpers from entei-core.
Example
from entie import EnteiDataFrame, Records, connect
db = connect("mongodb://localhost:27017", database="app")
Records.from_list([{"x": 1}], database=db).insert_into("items")
df = EnteiDataFrame.from_collection(db.table("items"), fields=("x",))
df.collect(as_lists=True) # {"x": [1]} (+ Mongo _id if fields not fixed)
License
MIT
Metadata
Release files for entie 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 | |
|---|---|---|---|
| entie-0.2.0.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entie-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / entie-0.2.0.tar.gz
| Download URL | entie-0.2.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ea365c0ff74ee4e4803e393056abb31e63bbcf51cede41d402f71846be3ef7f
|
|
BLAKE2b-256 checksum How to use checksums |
f40a4d6e2834aa8861a502298c5e3bf6596986367aebf10ce3a96fa5c95a293f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / entie-0.2.0-py3-none-any.whl
| Download URL | entie-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1b58c2c4644c8ff329629efacc531b1015186564cc7e72e8a2f311d2be39514
|
|
BLAKE2b-256 checksum How to use checksums |
938d17ef17e44ac4d3c580253f006b9e505747309e3dc984dc74a98bcd6e1611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|