Module for communicating with a (MongoDB) database
Project description
dbComm
A Python wrapper for pymongo with support for SSH tunneling and LDAP authentication.
Features
- Simple MongoDB connection interface
- SSH tunnel support
- LDAP authentication
- GridFS file operations
- Comprehensive type hints
Installation
pip install dbComm
Quick Usage
from dbComm import Mongo
# Connect to database
db = Mongo(host="localhost")
db.setDB("mydatabase")
# Create record
record_id = db.newRecord("mycollection", field1="value1", field2="value2")
# Retrieve record
record = db.getRecord("mycollection", record_id)
Documentation
For full documentation, visit docs/index.md
License
see LICENSE
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
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 dbcomm-0.4.1.tar.gz.
File metadata
- Download URL: dbcomm-0.4.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
855b9b68583d969f6925e562b3aad0297ba45c1741d25f592c8f956959ff99e4
|
|
| MD5 |
a90f2f13428382bbac3bc47d14f6ef8b
|
|
| BLAKE2b-256 |
4d2cc2e0066d9173ecb48dc5169857717d92ff257301a673f58b0455a3dbf89a
|
Provenance
The following attestation bundles were made for dbcomm-0.4.1.tar.gz:
Publisher:
release.yml on LLNL/dbComm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbcomm-0.4.1.tar.gz -
Subject digest:
855b9b68583d969f6925e562b3aad0297ba45c1741d25f592c8f956959ff99e4 - Sigstore transparency entry: 204440668
- Sigstore integration time:
-
Permalink:
LLNL/dbComm@03ada0240957121b9baafa8fd95024ef69e722e5 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/LLNL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03ada0240957121b9baafa8fd95024ef69e722e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dbcomm-0.4.1-py3-none-any.whl.
File metadata
- Download URL: dbcomm-0.4.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12d49562ddc990c1469fc71e2d4bfdee27823d2518cc65cd9823fd5ee0d909af
|
|
| MD5 |
69f181c4401860d738abdea0a209650e
|
|
| BLAKE2b-256 |
ea6da46bbcc1cd489da8990a9d7e1f5d8433f4485553738f38e60a010f5c79ab
|
Provenance
The following attestation bundles were made for dbcomm-0.4.1-py3-none-any.whl:
Publisher:
release.yml on LLNL/dbComm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbcomm-0.4.1-py3-none-any.whl -
Subject digest:
12d49562ddc990c1469fc71e2d4bfdee27823d2518cc65cd9823fd5ee0d909af - Sigstore transparency entry: 204440670
- Sigstore integration time:
-
Permalink:
LLNL/dbComm@03ada0240957121b9baafa8fd95024ef69e722e5 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/LLNL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03ada0240957121b9baafa8fd95024ef69e722e5 -
Trigger Event:
push
-
Statement type: