Skip to main content

fuckitdb is a Python ORM for Google Drive Spreadsheets.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fuckitdb-0.1.3.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page