Metadata-Version: 2.1
Name: sqlhild
Version: 0.1.0
Summary: sqlhild SQLifies everything
Home-page: https://github.com/willemt/sqlhild
Author: willemt
Author-email: himself@willemthiart.com
License: BSD
Keywords: development logging
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: System :: Logging
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: Pygments
Requires-Dist: SQLAlchemy
Requires-Dist: addict
Requires-Dist: antlr4-python3-runtime
Requires-Dist: astor
Requires-Dist: attrs
Requires-Dist: autopep8
Requires-Dist: docopt
Requires-Dist: docutils
Requires-Dist: lmdb
Requires-Dist: matchpy
Requires-Dist: numba
Requires-Dist: numpy
Requires-Dist: protlib
Requires-Dist: psutil
Requires-Dist: pygments
Requires-Dist: tablib
Requires-Dist: terminaltables
Requires-Dist: typeguard

Command line
============
You can run queries from the command line.

.. code-block:: bash
   :class: ignore

   sqlhild 'select * from `sqlhild.example.OneToTen`'

You can load modules.

.. code-block:: bash
   :class: ignore

   sqlhild -m botoquery/__init__.py "select EnvironmentName from EBEnvironment"

If you don't have command line options you can just pass the whole SQL query as if the command was "echo". Watch out for shell globbing!

.. code-block:: bash
   :class: ignore

   sqlhild select '*' from `sqlhild.example.OneToTen`

You can put the module path as the parent of your table

.. code-block:: bash
   :class: ignore

   sqlhild select '*' from `botoquery/ecs.py.Clusters`

Postgres mode
=============
sqlhild in server mode runs a Postgres facade. You can use your favourite Postgres client to play around with sqlhild tables.

.. code-block:: bash
   :class: ignore

   sqlhild --server 0.0.0.0:10000 --modules sqlhild.example


