dbComm


NamedbComm JSON
Version 0.3.1 PyPI version JSON
download
home_pageNone
SummaryModule for communicating with a (MongoDB) database
upload_time2024-08-03 00:26:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dbComm

[![PyPi](https://img.shields.io/pypi/v/hy.svg)](https://pypi.org/project/dbComm/)

- **Author:** Pigeon Caviness ([caviness2@llnl.gov](mailto:caviness2@llnl.gov))

## About
dbComm is a module for integrating a Python codebase with MongoDB using the PyMongo library.
The methods contained are used to connect to a Mongo database and push/pull data.

## Installing
The easiest method of installation is through using Pip. <br>
`pip install -U git+https://github.com/LLNL/dbComm.git`

If you prefer, you can clone the repo using:<br>
`git clone https://github.com/LLNL/dbComm.git`

## Usage
To use dbComm, create an instance of the class. This will attempt to connect to the database.
Upon successful connection, any of the methods can be used in the class to interact with the database.
```
import dbComm
db = dbComm.Mongo('myServer')
print(myServer.getDBs())
```

## Troubleshooting
If when running the pip install, you get an error like `AttributeError: module 'enum' has no attribute 'IntFlag'` 
(32-bit Python),<br> 
run: `pip uninstall enum34`

## Contributing
dbComm is an open source project and constantly evolving! 
We welcome contributions via pull requests as well as questions, feature requests, or bug reports via issues. 
Contact our team at caviness2@llnl.gov with any questions. <br><br>
If you are not a developer at LLNL, you won't have permission to push new branches to the repository. 
First, you should create a fork. 
This will create your copy of the ATS repository and ensure you can push your changes up to GitHub and create PRs.

## License
LLNL-CODE-845190<br>
<!---SPDX-License-Identifier: MIT-->

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "dbComm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Pigeon Caviness <caviness2@llnl.gov>",
    "download_url": "https://files.pythonhosted.org/packages/12/dc/59c5928a672c8849264f561be83f0ff65b98c49e03274a32f73434f8f4f9/dbcomm-0.3.1.tar.gz",
    "platform": null,
    "description": "# dbComm\n\n[![PyPi](https://img.shields.io/pypi/v/hy.svg)](https://pypi.org/project/dbComm/)\n\n- **Author:** Pigeon Caviness ([caviness2@llnl.gov](mailto:caviness2@llnl.gov))\n\n## About\ndbComm is a module for integrating a Python codebase with MongoDB using the PyMongo library.\nThe methods contained are used to connect to a Mongo database and push/pull data.\n\n## Installing\nThe easiest method of installation is through using Pip. <br>\n`pip install -U git+https://github.com/LLNL/dbComm.git`\n\nIf you prefer, you can clone the repo using:<br>\n`git clone https://github.com/LLNL/dbComm.git`\n\n## Usage\nTo use dbComm, create an instance of the class. This will attempt to connect to the database.\nUpon successful connection, any of the methods can be used in the class to interact with the database.\n```\nimport dbComm\ndb = dbComm.Mongo('myServer')\nprint(myServer.getDBs())\n```\n\n## Troubleshooting\nIf when running the pip install, you get an error like `AttributeError: module 'enum' has no attribute 'IntFlag'` \n(32-bit Python),<br> \nrun: `pip uninstall enum34`\n\n## Contributing\ndbComm is an open source project and constantly evolving! \nWe welcome contributions via pull requests as well as questions, feature requests, or bug reports via issues. \nContact our team at caviness2@llnl.gov with any questions. <br><br>\nIf you are not a developer at LLNL, you won't have permission to push new branches to the repository. \nFirst, you should create a fork. \nThis will create your copy of the ATS repository and ensure you can push your changes up to GitHub and create PRs.\n\n## License\nLLNL-CODE-845190<br>\n<!---SPDX-License-Identifier: MIT-->\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Module for communicating with a (MongoDB) database",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://github.com/LLNL/dbComm"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "51b7e8e13eb6258db83efb97b6539c659b0f862c2947534b94d72179ffbbbfb6",
                "md5": "2ad392af1bd2539fa57edb0d62a47e65",
                "sha256": "1ffde1e865b62d2f76c0c125e2e765b88efe92ef1609e2c6c7c746a3c25376d8"
            },
            "downloads": -1,
            "filename": "dbComm-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2ad392af1bd2539fa57edb0d62a47e65",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7885,
            "upload_time": "2024-08-03T00:26:38",
            "upload_time_iso_8601": "2024-08-03T00:26:38.827483Z",
            "url": "https://files.pythonhosted.org/packages/51/b7/e8e13eb6258db83efb97b6539c659b0f862c2947534b94d72179ffbbbfb6/dbComm-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12dc59c5928a672c8849264f561be83f0ff65b98c49e03274a32f73434f8f4f9",
                "md5": "fa54cbb439d9162e091477581deb7263",
                "sha256": "4c09c541fec122d3b582e2b36ddb255ceca5efcc1f8669db732d626a26dc7d31"
            },
            "downloads": -1,
            "filename": "dbcomm-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fa54cbb439d9162e091477581deb7263",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7181,
            "upload_time": "2024-08-03T00:26:40",
            "upload_time_iso_8601": "2024-08-03T00:26:40.085990Z",
            "url": "https://files.pythonhosted.org/packages/12/dc/59c5928a672c8849264f561be83f0ff65b98c49e03274a32f73434f8f4f9/dbcomm-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-03 00:26:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LLNL",
    "github_project": "dbComm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dbcomm"
}
        
Elapsed time: 0.31233s