make it easy to use pymongo
Project description
fastmongo
介绍
快速使用pymongo
软件架构
软件架构说明
安装教程
- pip安装
pip3 install fastmongo
- pip安装(使用阿里云镜像加速)
pip3 install fastmongo -i https://mirrors.aliyun.com/pypi/simple
使用说明
- demo
import fastmongo
query_res = fastmongo.safe_find(db='test', collection='test')
- 环境文件
- 默认文件名:local.mongo.env
- 文件构成:
- connect_str=XXX:连接字符串,若有此字段,将优先使用,否则将使用下面字段拼接connect_str;
- host=XXX:若不填,默认值为localhost,将自动拼接connect_str;
- port=XXX:若不填,默认值为27017,将自动拼接connect_str;
- username=XXX:若不填,默认值为root,将自动拼接connect_str;
- password=XXX:若不填,默认值为'',将自动拼接connect_str;
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
fastmongo-0.0.51.tar.gz
(11.3 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
File details
Details for the file fastmongo-0.0.51.tar.gz.
File metadata
- Download URL: fastmongo-0.0.51.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc595bced5fe5f4655c542a99672b39cbb6cd66f7ca929e35eda8a632fc5c6e5
|
|
| MD5 |
fcf16fe80dd856f717b262e37cd2b2c4
|
|
| BLAKE2b-256 |
cb561f4843d996238227e689583358de40c999c6dfb55c4e53d01645c90836f2
|
File details
Details for the file fastmongo-0.0.51-py3-none-any.whl.
File metadata
- Download URL: fastmongo-0.0.51-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e44baeaf8e6d25565391b572867bcba427359541ff51800a7cb80cc1e56150a4
|
|
| MD5 |
7493a97f1a4f6ea03c4667e91dd7b8f9
|
|
| BLAKE2b-256 |
3d0c811d04a94e492c69e81110e00898c9936e49223f8325c6684abc17164d7d
|