Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twisted/txmongo
asynchronous python driver for mongo
https://github.com/twisted/txmongo
python
Last synced: about 1 month ago
JSON representation
asynchronous python driver for mongo
- Host: GitHub
- URL: https://github.com/twisted/txmongo
- Owner: twisted
- License: apache-2.0
- Created: 2009-09-26T06:00:05.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T14:11:42.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T05:41:11.327Z (8 months ago)
- Topics: python
- Language: Python
- Homepage: https://txmongo.readthedocs.io
- Size: 1.05 MB
- Stars: 336
- Watchers: 25
- Forks: 104
- Open Issues: 24
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-mongodb - TxMongo - Twisted's MongoDB driver (Libraries / Python)
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 StatusTxMongo 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:
```sh
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.```sh
dpkg-buildpackage -b
```Then look for the package in your home directory.
Fedora
^^^^^^```sh
rpmbuild -bb python-txmongo.spec
```You might need to download Source0 from the .spec and place it in
rpmbuild/SOURCES first.