-
Notifications
You must be signed in to change notification settings - Fork 84
Independent BSON codec for Python that doesn't depend on MongoDB.
License
Unknown, Apache-2.0 licenses found
Licenses found
Unknown
LICENSE
Apache-2.0
LICENSE_APACHE
py-bson/bson
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TO USE: Add bson.py to your project. >> import bson >>> a = bson.dumps({"A":[1,2,3,4,5,"6", u"7", {"C":u"DS"}]}) >>> b = bson.loads(a) >>> b {'A': [1, 2, 3, 4, 5, '6', u'7', {'C': u'DS'}]} Currently, bson.dumps() and bson.loads() expects everything to be documents, or dicts in Python-speak. TODO: 1. Make dumps() and loads() accept types other than documents/dicts. 2. Add setup.py so it can be packaged to an egg. 3. Write doctests.
About
Independent BSON codec for Python that doesn't depend on MongoDB.
Resources
License
Unknown, Apache-2.0 licenses found
Licenses found
Unknown
LICENSE
Apache-2.0
LICENSE_APACHE
Stars
Watchers
Forks
Packages 0
No packages published