Skip to main content

Light-weight utilities to augment, not replace the Python MongoDB driver.

Project description

Latest released version. Latest Github tagged release. Release build status. Release test coverage. Master Branch Code Health Status of release dependencies. Subscribe to project activity on Github. Star this project on Github.

© 2016-2017 Alice Bevan-McGregor and contributors.

https://github.com/marrow/mongo

Marrow Mongo is a collection of small, focused utilities written to enhance use of the PyMongo native MongoDB driver without the overhead, glacial update cycle, complexity, and head-space requirements of a full active record object document mapper. Additionally, it provides a very light-weight database connection plugin for the WebCore web framework and Python standard logging adapter to emit logs to MongoDB.

Additional documentation is provided in the form of an online reference manual.

Installation

Installing marrow.mongo is easy, just execute the following in a terminal:

pip install marrow.mongo

Note: We strongly recommend always using a container, virtualization, or sandboxing environment of some kind when developing using Python; installing things system-wide is yucky (for a variety of reasons) nine times out of ten. We prefer light-weight virtualenv, others prefer solutions as robust as Vagrant.

If you add marrow.mongo to the install_requires argument of the call to setup() in your application’s setup.py file, marrow.mongo will be automatically installed and made available when your own application or library is installed. We recommend using “less than” version numbers to ensure there are no unintentional side-effects when updating. Use marrow.mongo<1.2 to get all bugfixes for the current release, and marrow.mongo<2.0 to get bugfixes and feature updates while ensuring that large breaking changes are not installed.

This package has a few dependencies:

  • Python 2.7 and above, or Python 3.2 and above, or compatible such as Pypy or Pypy3.

  • A modern (>3.2) version of the pymongo package.

  • The Marrow Package and Schema utility packages for plugin handling and declarative syntax support.

Additional instructions on conditional dependencies, package flags, and development version utilization are available in the manual.

Version History

To see the complete version history, including detailed per-version change logs, please see the GitHub Releases section.

License

marrow.mongo has been released under the MIT Open Source license.

The MIT License

Copyright © 2016-2017 Alice Bevan-McGregor and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

marrow.mongo-1.1.2.tar.gz (50.3 kB view details)

Uploaded Source

Built Distribution

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

marrow.mongo-1.1.2-py2.py3-none-any.whl (159.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file marrow.mongo-1.1.2.tar.gz.

File metadata

  • Download URL: marrow.mongo-1.1.2.tar.gz
  • Upload date:
  • Size: 50.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for marrow.mongo-1.1.2.tar.gz
Algorithm Hash digest
SHA256 87db27d1da561dac0132b0cb486b05e8f07ea3f38706628f8f0d6cd5affee751
MD5 7aeaf9885f6f5151424497f913942b16
BLAKE2b-256 397d27a7548f9ab32ec81351441935eccda0fab8a3415dca6d2d30eeed9072c9

See more details on using hashes here.

File details

Details for the file marrow.mongo-1.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for marrow.mongo-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cfaddbc60fb28d5a443050adea4993aaf94bc552b68452c7372f25b7de01eecb
MD5 60d9f641e74c2bfd4a210952df547637
BLAKE2b-256 19b2b703cd241c4785ba7890a6acae5792f5399709d19d629191373e467c4c2b

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