pymongo 패키지 wrapper
Project description
iPyMongoDB (innovata-pymongo-database)
파이썬 pymongo 패키지 Wrapper
주로 동적 스키마모델을 사용할 수 있고, 데이터모델을 통해 데이터에 대한 dtype을 이용한 파싱 및 데이터 핸들링 기능 제공한다.
pymongo 패키지에서 제공하는 모든 기능을 제공하지 않는다.
사용법
Database 레벨
from ipymongodb import database
names = database.collection_names(dbName, 'collectionNameRegex')
Collection 레벨
from ipymongodb import collection
schema = collection.SchemaModel(dbName, modelName)
model = collection.DataModel(dbName, modelName)
하나의 모델에 대해 컬렉션을 확장할 때
model = collection.DataModel(dbName, modelName, extParam='20230101')
model.collName
>> modelName_20230101
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
ipymongodb-0.5.0.tar.gz
(9.0 kB
view details)
Built Distribution
File details
Details for the file ipymongodb-0.5.0.tar.gz
.
File metadata
- Download URL: ipymongodb-0.5.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2b7fb3175edb9e82c3c836ff968694cd0bad9cf9bf46231601185391a8263d |
|
MD5 | 679a2ff6262f481c949c2c5c999b5f2f |
|
BLAKE2b-256 | d7a2ffd808f49190df8374923f2d84e64b65c356a72ea6b34f8fdeb2f91d5590 |
File details
Details for the file ipymongodb-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: ipymongodb-0.5.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e38b24807fb1c1e0af692c6ed67a0512277e0f25e4bb3b2a9bb31e85f3e18fa1 |
|
MD5 | 8e0080832ead81fc29a0f87382fa62ad |
|
BLAKE2b-256 | 1954b89b9629a8399a8f0837fa542c8602e1e14aa38aad3bc2f9140a3486e94c |