Project description

fuckitdb

========



| Master: |Build Status|

| Develop: |Build Status|



`Documentation`_



fuckitdb is a Python ORM for Google Drive Spreadsheets. Never use this for anything important, it's an experiment.



Installation

------------



``pip install fuckitdb``



Usage

-----



::



import fuckitdb



database = fuckitdb.Database("MyDatabaseSheet", "foo@google.com", "password")





@fuckitdb.register(database)

class User(fuckitdb.Model):

def __init__(self, name, password):

self.name = self.field(name)

self.password = self.field(password)





barry = User("Barry", "hunter2")

barry.name = "Steve"

barry.commit()



users = User.get_instances()





License

-------



MIT License. See LICENSE file for full text.



.. _Documentation: http://fuckitdb.readthedocs.org



.. |Build Status| image:: https://travis-ci.org/Widdershin/fuckitdb.png?branch=master

:target: https://travis-ci.org/Widdershin/fuckitdb

.. |Build Status| image:: https://travis-ci.org/Widdershin/fuckitdb.png?branch=develop

:target: https://travis-ci.org/Widdershin/fuckitdb









History

-------



0.1.0 7/3/14

++++++++++++++++++



* First release on PyPI.



0.1.1 7/3/14

++++++++++++++++++



* Converted readme to rst from md



0.1.2 7/3/14

++++++++++++++++++



* Included HISTORY.rst in package build



0.1.3 7/3/14

++++++++++++++++++



* Model.field no longer requires name to be specified. Attribute name will be used if none is provided.

* Model no longer needs to have id as a keyword argument, or call super in init

* Tests now use pep8 asserts