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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
entie-0.2.0.tar.gz
(10.6 kB
view details)
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
entie-0.2.0-py3-none-any.whl
(8.4 kB
view details)
File details
Details for the file entie-0.2.0.tar.gz.
File metadata
- Download URL: entie-0.2.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ea365c0ff74ee4e4803e393056abb31e63bbcf51cede41d402f71846be3ef7f
|
|
| MD5 |
0140093b4b82db767415f741de795565
|
|
| BLAKE2b-256 |
f40a4d6e2834aa8861a502298c5e3bf6596986367aebf10ce3a96fa5c95a293f
|
File details
Details for the file entie-0.2.0-py3-none-any.whl.
File metadata
- Download URL: entie-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1b58c2c4644c8ff329629efacc531b1015186564cc7e72e8a2f311d2be39514
|
|
| MD5 |
2a0f19a9a90377637ff111faf25ea5ab
|
|
| BLAKE2b-256 |
938d17ef17e44ac4d3c580253f006b9e505747309e3dc984dc74a98bcd6e1611
|