Top "Pymongo" questions

PyMongo is the official Python driver for MongoDB created and maintained by MongoDB, Inc.

Pip install error. Setuptools.command not found

I'm using a clean instance of Ubuntu server and would like to install some python packages in my virtualenv. I …

python python-2.7 pip pymongo
Append item to MongoDB document array in PyMongo without re-insertion

I am using MongoDB as the back-end database for Python web application (PyMongo + Bottle). Users can upload files and optionally …

python mongodb mongodb-query pymongo
How to hide _id from Aggregation?

I've this query: produits = yield motor.Op(db.users.aggregate, [{"$unwind":"$pup"},{"$match":{"pup.spec.np":nomp}}, {"$group":{"_id":"$pup.…

mongodb pymongo motordriver tornado-motor
How can I load data from mongodb collection into pandas' DataFrame?

I am new to pandas (well, to all things "programming"...), but have been encouraged to give it a try. I …

mongodb pandas pymongo
How to insert datetime string into Mongodb as ISODate using pymongo

How to insert datetime string like this "2017-10-13T10:53:53.000Z" into mongo db as ISODate? I get a string …

python pymongo
How to connect remote mongodb with pymongo

When I use MongoChef to connect remote mongo database, I use next parameters: Server Server: localhost Port: 27017 SSH Tunnel SSH …

python mongodb python-3.x ssh pymongo
Pymongo/bson: Convert python.cursor.Cursor object to serializable/JSON object

New to MongoDb and Python (webapp2). So, I was fetching some data from a mongodb database. But I was unable …

python json mongodb pymongo webapp2
Fast or Bulk Upsert in pymongo

How can I do a bulk upsert in pymongo? I want to Update a bunch of entries and doing them …

python mongodb pymongo upsert nosql
Removing _id element from Pymongo results

I'm attempting to create a web service using MongoDB and Flask (using the pymongo driver). A query to the database …

python mongodb pymongo
python + pymongo: how to insert a new field on an existing document in mongo from a for loop

I'm using a for loop in python to loop over the result of a query with pymongo. Here is the …

python mongodb insert pymongo