Couchdbkit is a Python library which provides a full featured and easy client to access and manage CouchDB.
Questions tagged [couchdbkit]
21 questions
3
votes
2 answers
Using couchdbkit (3rd party library) on Google App Engine
I'm having difficulty getting couchdbkit to function properly on Google App Engine. I'm either not importing my libraries correctly or I've run afoul of GAE's Python Sandbox rules. Anyone know if I need to include restkit when using couchdbkit on…

Ryan
- 392
- 2
- 11
3
votes
1 answer
CouchDB - filter latest log per logged instance from a list
I could use some help filtering distinct values from a couchdb view.
I have a database that stores logs with information about computers.
Periodically new logs for a computer are written to the db.
A bit simplified i store entries like these:
{
…

arie
- 18,737
- 5
- 70
- 76
3
votes
1 answer
How do you get a list of all the _design documents for a given database in CouchDB?
I have searched all over and can't figure out how to get a list of all the design documents for a specific database in CouchDB?
user177800
3
votes
2 answers
Reusing server-side models in AngularJS
So, I am looking to build something with AngularJS.
Liking what I see so far, but there is something nagging me.
How do I make angular generate forms (and possibly routes) by looking at my model definitions?
I obviously have to translate the Python…

Mathias Nielsen
- 1,560
- 1
- 17
- 31
3
votes
0 answers
access couchdb form with couchdbkit in django
I was able to reproduce successfully the greeting example from couchdbkit form django extension
However, I essentially replicated the same example to work with an existing couchdb data base called projects but come up with the following…

Joshua Domfang
- 31
- 2
2
votes
2 answers
Accessing couchdb's UUID in django templates
I am kinda new to Couchdb and Django and was trying to extend the default sample (greetings) provided with couchdbkit. while making a basic CRUD example using the existing example, I wasn't able to access the couchdb's document id in the django…

Shohin
- 38
- 6
2
votes
1 answer
couchdbkit: how to bulk_save with attachments
I'm using couchdbkit (python 2.7) and I need to save about 100 new items at a time in bulk. I want to save the payload (=attachment) together with metadata (=doc) at the same time.
Right now I'm saving those items very inefficiently one by one…

evolution
- 593
- 6
- 20
1
vote
0 answers
NoMoreData exception when using couchdbkit with gunicorn and eventlet
Hope someone might be able to shed some light on this issue I'm having.
I am using couchdbkit in a pyramid webapp. My server is gunicorn with eventlet workers.
I am using the eventlet manager for couchdbkit.
When my app is running, I get quite…

reshefm
- 6,017
- 8
- 36
- 40
1
vote
0 answers
Problem getting CouchDB running w. Django
I'm having trouble getting my Django project to work with a CouchDB database.
I'm running Python 2.6.6, Django 1.3, and Lion on a Mac
I've got Django, CouchDB, and CouchDBKit installed. I can import all of them from the python interpreter without…

Mike Stein
- 227
- 4
- 8
1
vote
2 answers
Are there any projects which integrate couchdbkit into djangos auth system?
I'd like to use couchdbkit with django but I noticed that the built-in auth system complains that the site is ImproperlyConfigured. It seems as if I haven't set the database ENGINE setting yet.
I suppose the obvious question is did I overlook…

Danger Doug
- 101
- 2
- 8
1
vote
1 answer
Couchdbkit: name 'DocumentForm' is not defined in django. How do I include and use it?
I'd like to start using couchdbkit but I have come across a major stumbling block. The example code provided isn't working for me.
I keep getting an error saying that the name 'DocumentForm' is not defined.
Here is the code from the model
from…

Danger Doug
- 101
- 2
- 8
1
vote
1 answer
pip3 install couchdbkit failed with "Command "python setup.py egg_info"
I am unable to install couchdbkit in ubuntu. The command: pip3 install couchdbkit gives this following error:
Collecting couchdbkit
Using cached couchdbkit-0.6.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most…

Rajesh Samui
- 167
- 1
- 2
- 12
1
vote
2 answers
Is there a way to look up the parent object in couchdbkit?
I have run into this a lot in couchdbkit - as far as I can tell the child objects under a couchdbkit Document object have no reference back to the parent. I hope I am wrong though:
class Child(DocumentSchema):
name = StringProperty()
def…

Tony
- 2,037
- 3
- 22
- 22
1
vote
1 answer
Retrieve documents from CouchDB based on unique field
How can I retrieve document from CouchDB based on its field, not by ID?
The problem is, documents in my system should have numeric IDs, so I add a field called doc_id to saved documents. Native CouchDB ids are too long for me.
How can I retrieve…

Kuroki Kaze
- 8,161
- 4
- 36
- 48
0
votes
1 answer
Do not understand error in UTF encoding in Python
I am currently wrestling with a direction as to what this error is trying to tell me. I can't tell if it is referring to some of the data I input or whether it is reference to the dictionary of data I created. I'm having a hard time even formulating…

antwonjon
- 51
- 1
- 7