Monary provides a Python interface for fast column queries from MongoDB. It is much faster than PyMongo for large bulk reads from the database into NumPy‘s ndarrays.
Questions tagged [monary]
6 questions
2
votes
1 answer
Fast queries on a large MongoDB collection from Python
I'm currently working on a project that involves visualizing an ever growing database of over 100m entries (tweets), and running into some bottlenecks in Python that I'm not sure how to face.
Some details:
The database is indexed on all fields I am…

Kyle Robinson
- 45
- 2
- 7
1
vote
0 answers
comparing monary with pymongo for accessing mongodb
I googled for dealing with mongodb in python and the following came up
https://bitbucket.org/djcbeach/monary/wiki/Home
Based on this link monary suppose outperform pymongo, but the comparisons in this link were from queries, we want to see the…

ikel
- 1,790
- 6
- 31
- 61
1
vote
1 answer
Monary: Aggregation framework, set the allowDiskUse option
I am using Monary to connect to my MongoDB.
but I am struggling to figure out where exactly and how to set the allowDiskUse option?
client = Monary("ip.address.of.server", 27017 , "username", "password", "dbname")
pipeline = [
{"$group" :…

Rami
- 8,044
- 18
- 66
- 108
0
votes
1 answer
How do I select all fields/columns from a collection using monary?
I am using Monary
I have a database in Mongo with a lot of rows and columns. Currently, the way I am using monary is as follows:
client = Monary()
data = client.query("static_database", # Database name
"properties",…

KugelBlitz
- 167
- 1
- 9
0
votes
1 answer
Ubuntu /usr/bin/ld: cannot find -lsasl2 while installing monary
I am trying to install monary, and getting the following error:
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes…

KugelBlitz
- 167
- 1
- 9
0
votes
1 answer
Error pip installing monary
I'm trying to install the monary python package using pip. when I run the command
pip install monary
This is the full output
C:\Users\krist>pip install monary
Collecting monary
Using cached Monary-0.5.0.tar.gz
Requirement already satisfied:…

boop
- 59
- 5