├── .gitignore ├── .gitmodules ├── .travis.yml ├── CHANGES ├── LICENSE-BSD ├── LICENSE-PEEWEE ├── README.md ├── docs ├── Makefile ├── apps.rst ├── conf.py ├── database.rst ├── exceptions.rst ├── index.rst ├── models.rst ├── operators.rst ├── quickstart.rst ├── returns.rst ├── snippets.rst └── tips.rst ├── examples └── messageboard │ ├── README.md │ ├── messageboard │ ├── __init__.py │ ├── config.py │ ├── models.py │ ├── static │ │ └── style.css │ ├── templates │ │ └── template.html │ └── views.py │ ├── requirements.txt │ ├── runserver.py │ └── tables.sql ├── runtests.py ├── sample ├── create.py ├── delete.py ├── models.py ├── read.py ├── sample.py └── update.py ├── setup.py ├── skylark.py ├── snippets ├── aggregators.py ├── alias.py ├── change_db.py ├── count_distinct_field.py ├── create.py ├── delete.py ├── delete_from_multi_tables.py ├── expressions_with_priority.py ├── having.py ├── instance_in_model.py ├── models.py ├── operators.py ├── raw_sql.py ├── read.py ├── subquery.py ├── tuples.py └── update.py └── tests ├── README.md ├── conf.toml ├── models.py ├── mysql.post.sql ├── mysql.user.sql ├── sqlite.post.sql ├── sqlite.user.sql └── tests.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/CHANGES -------------------------------------------------------------------------------- /LICENSE-BSD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/LICENSE-BSD -------------------------------------------------------------------------------- /LICENSE-PEEWEE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/LICENSE-PEEWEE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/apps.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/apps.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/database.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/database.rst -------------------------------------------------------------------------------- /docs/exceptions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/exceptions.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/models.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/models.rst -------------------------------------------------------------------------------- /docs/operators.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/operators.rst -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/quickstart.rst -------------------------------------------------------------------------------- /docs/returns.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/returns.rst -------------------------------------------------------------------------------- /docs/snippets.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/snippets.rst -------------------------------------------------------------------------------- /docs/tips.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/docs/tips.rst -------------------------------------------------------------------------------- /examples/messageboard/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/README.md -------------------------------------------------------------------------------- /examples/messageboard/messageboard/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/__init__.py -------------------------------------------------------------------------------- /examples/messageboard/messageboard/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/config.py -------------------------------------------------------------------------------- /examples/messageboard/messageboard/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/models.py -------------------------------------------------------------------------------- /examples/messageboard/messageboard/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/static/style.css -------------------------------------------------------------------------------- /examples/messageboard/messageboard/templates/template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/templates/template.html -------------------------------------------------------------------------------- /examples/messageboard/messageboard/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/messageboard/views.py -------------------------------------------------------------------------------- /examples/messageboard/requirements.txt: -------------------------------------------------------------------------------- 1 | pymysql 2 | skylark>=0.9.0 3 | Flask 4 | -------------------------------------------------------------------------------- /examples/messageboard/runserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/runserver.py -------------------------------------------------------------------------------- /examples/messageboard/tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/examples/messageboard/tables.sql -------------------------------------------------------------------------------- /runtests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/runtests.py -------------------------------------------------------------------------------- /sample/create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/create.py -------------------------------------------------------------------------------- /sample/delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/delete.py -------------------------------------------------------------------------------- /sample/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/models.py -------------------------------------------------------------------------------- /sample/read.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/read.py -------------------------------------------------------------------------------- /sample/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/sample.py -------------------------------------------------------------------------------- /sample/update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/sample/update.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/setup.py -------------------------------------------------------------------------------- /skylark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/skylark.py -------------------------------------------------------------------------------- /snippets/aggregators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/aggregators.py -------------------------------------------------------------------------------- /snippets/alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/alias.py -------------------------------------------------------------------------------- /snippets/change_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/change_db.py -------------------------------------------------------------------------------- /snippets/count_distinct_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/count_distinct_field.py -------------------------------------------------------------------------------- /snippets/create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/create.py -------------------------------------------------------------------------------- /snippets/delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/delete.py -------------------------------------------------------------------------------- /snippets/delete_from_multi_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/delete_from_multi_tables.py -------------------------------------------------------------------------------- /snippets/expressions_with_priority.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/expressions_with_priority.py -------------------------------------------------------------------------------- /snippets/having.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/having.py -------------------------------------------------------------------------------- /snippets/instance_in_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/instance_in_model.py -------------------------------------------------------------------------------- /snippets/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/models.py -------------------------------------------------------------------------------- /snippets/operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/operators.py -------------------------------------------------------------------------------- /snippets/raw_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/raw_sql.py -------------------------------------------------------------------------------- /snippets/read.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/read.py -------------------------------------------------------------------------------- /snippets/subquery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/subquery.py -------------------------------------------------------------------------------- /snippets/tuples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/tuples.py -------------------------------------------------------------------------------- /snippets/update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/snippets/update.py -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/conf.toml -------------------------------------------------------------------------------- /tests/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/models.py -------------------------------------------------------------------------------- /tests/mysql.post.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/mysql.post.sql -------------------------------------------------------------------------------- /tests/mysql.user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/mysql.user.sql -------------------------------------------------------------------------------- /tests/sqlite.post.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/sqlite.post.sql -------------------------------------------------------------------------------- /tests/sqlite.user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/sqlite.user.sql -------------------------------------------------------------------------------- /tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hit9/skylark/HEAD/tests/tests.py --------------------------------------------------------------------------------