Metadata-Version: 1.1
Name: chemist
Version: 1.0.3
Summary: 1.0.3
Home-page: UNKNOWN
Author: Gabriel Falcao
Author-email: gabriel@nacaolivre.org
License: UNKNOWN
Description-Content-Type: UNKNOWN
Description: .. Flask Chemist documentation master file, created by
           sphinx-quickstart on Sun Nov 19 22:16:39 2017.
           You can adapt this file completely to your liking, but it should at least
           contain the root `toctree` directive.
        
        Chemist
        =======
        
        A simple, flexible and testable active-record powered by SQLAlchemy.
        
        .. image:: https://readthedocs.org/projects/chemist/badge/?version=latest
           :target: http://chemist.readthedocs.io/en/latest/?badge=latest
           :alt: Documentation Status
        .. image:: https://travis-ci.org/gabrielfalcao/chemist.svg?branch=master
            :target: https://travis-ci.org/gabrielfalcao/chemist
        .. |PyPI python versions| image:: https://img.shields.io/pypi/pyversions/chemist.svg
           :target: https://pypi.python.org/pypi/chemist
        .. |Join the chat at https://gitter.im/gabrielfalcao/chemist| image:: https://badges.gitter.im/gabrielfalcao/chemist.svg
           :target: https://gitter.im/gabrielfalcao/chemist?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
        
        
        
        Install
        -------
        
        .. code:: bash
        
           pip install chemist
        
        
        Documentation
        -------------
        
        `chemist.readthedocs.io <https://chemist.readthedocs.io/en/latest/>`_
        
        
        Basic Usage
        -----------
        
        
        .. code:: python
        
            from chemist import (
                Model, db, MetaData,
                set_engine,
            )
        
            metadata = MetaData()
            engine = set_engine('sqlite:///example.db')
        
            class BlogPost(Model):
                  table = db.Table('blog_post',metadata,
                      db.Column('id', db.Integer, primary_key=True),
                      db.Column('title', db.Unicode(200), nullable=False),
                      db.Column('content', db.UnicodeText, nullable=False),
                 )
        
            post1 = BlogPost.create(title='Hello World', content='\n'.join([
                'Introduction...',
                'Supporting Theory 1...',
                'Supporting Theory 2...',
                'Supporting Theory 3...',
                'Conclusion',
            ]))
        
        
            for post in BlogPost.all():
                print(post.title, post.id)
        
        
        Examples
        --------
        
        1. `flask app <https://github.com/gabrielfalcao/chemist/blob/master/examples/flask-app.py>`_
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
