txmongo

24.1.0last stable release 2 months ago
Complexity Score
Low
Open Issues
21
Dependent Projects
5
Weekly Downloadsglobal
315

License

  • Apache-2.0
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Yespatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

TxMongo

.. image:: https://github.com/twisted/txmongo/actions/workflows/tests-on-push.yml/badge.svg :target: https://github.com/twisted/txmongo/actions/workflows/tests-on-push.yml

.. image:: https://coveralls.io/repos/twisted/txmongo/badge.svg?branch=master :target: https://coveralls.io/r/twisted/txmongo?branch=master

.. image:: https://badge.fury.io/py/txmongo.png :target: https://pypi.python.org/pypi/txmongo

.. image:: https://readthedocs.org/projects/txmongo/badge/?version=latest :target: https://txmongo.readthedocs.org/en/latest/?badge=latest :alt: Documentation Status

TxMongo is an asynchronous Python/Twisted driver for MongoDB that implements the wire protocol on non-blocking sockets. The API derives from the original PyMongo.

Compatibility

Python 3.8+ MongoDB 4.0+

Installing

You can use setuptools to install:

sudo python setup.py install

Docs and examples

Generate them with make docs. You will need sphinx installed. There are some examples in the examples/ directory.

Hacking

Run make env to create clean hacking environment with virtualenv. Run make to torture your code with tests and code style tools.

Take a look in Makefile for commonly used commands and tools we use to develop.

Packages

Debian ^^^^^^

Packing for debian exists in debian/, you can build yourself a package (remember to update debian/changelog) if you make changes.

dpkg-buildpackage -b

Then look for the package in your home directory.

Fedora ^^^^^^

rpmbuild -bb python-txmongo.spec

You might need to download Source0 from the .spec and place it in rpmbuild/SOURCES first.

Dependencies

CVE IssuesActive
0
Scorecards Score
4.90
Test Coverage
93.00%
Follows Semver
No
Github Stars
338
Dependenciestotal
3
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute txmongo in your own private PyPI registry

pip install txmongo
Processing...
Done

28 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.