Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding a setup file

  • Loading branch information...
commit ab1b949bb3d793e9b06f85c52bed1b8d724f1257 1 parent 8641447
Christopher Davis authored
Showing with 31 additions and 0 deletions.
  1. +31 −0 setup.py
View
31 setup.py
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+"""
+A ThriftDB (http://www.thriftdb.com/) client for Python.
+
+Usage:
+ >>> from thrifdb import ThriftDB
+ >>> db = ThriftDB('yourusername', 'yourpassword')
+ >>> db.make_bucket('a-new-bucket')
+ >>> db.make_collection('a-new-bucket', 'some-collection', schema)
+ >>> db.put_item('a-new-bucket', 'some-collection', 'item_id', item_data)
+
+Schemas and item data should be JSON strings. Essentially this is a very thin
+wrapper around Requests to make working with ThriftDB a bit easier.
+"""
+
+from setuptools import setup
+
+setup(
+ name='ThriftDB',
+ version='0.1',
+ url='https://github.com/chrisguitarguy/Python-ThriftDB',
+ license='BSD',
+ author='Christopher Davis',
+ author_email='chris@classicalguitar.org',
+ description='A Python client for ThriftDB',
+ long_description=__doc__,
+ py_modules=['thriftdb'],
+ zip_safe=False,
+ include_package_data=True,
+ platforms='any'
+)
Please sign in to comment.
Something went wrong with that request. Please try again.