Skip to main content

make it easy to use pymongo

Project description

fastmongo

介绍

快速使用pymongo

软件架构

软件架构说明

安装教程

  1. pip安装
pip3 install fastmongo
  1. pip安装(使用阿里云镜像加速)
pip3 install fastmongo -i https://mirrors.aliyun.com/pypi/simple

使用说明

  1. demo
import fastmongo
query_res = fastmongo.safe_find(db='test', collection='test')
  1. 环境文件
  • 默认文件名: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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastmongo-0.0.51-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

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

Hashes for fastmongo-0.0.51.tar.gz
Algorithm Hash digest
SHA256 dc595bced5fe5f4655c542a99672b39cbb6cd66f7ca929e35eda8a632fc5c6e5
MD5 fcf16fe80dd856f717b262e37cd2b2c4
BLAKE2b-256 cb561f4843d996238227e689583358de40c999c6dfb55c4e53d01645c90836f2

See more details on using hashes here.

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

Hashes for fastmongo-0.0.51-py3-none-any.whl
Algorithm Hash digest
SHA256 e44baeaf8e6d25565391b572867bcba427359541ff51800a7cb80cc1e56150a4
MD5 7493a97f1a4f6ea03c4667e91dd7b8f9
BLAKE2b-256 3d0c811d04a94e492c69e81110e00898c9936e49223f8325c6684abc17164d7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page