Metadata-Version: 2.1
Name: mssql-cli
Version: 0.11.0
Summary: CLI for SQL Server Database. With auto-completion and syntax highlighting.
Home-page: https://github.com/dbcli/mssql-cli
Author: Microsoft Corporation
Author-email: sqlcli@microsoft.com
License: BSD-3
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: SQL
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: click (>=4.1)
Requires-Dist: argparse (>=1.2.1)
Requires-Dist: Pygments (>=2.0)
Requires-Dist: prompt-toolkit (<1.1.0,>=1.0.10)
Requires-Dist: sqlparse (<0.3.0,>=0.2.2)
Requires-Dist: configobj (>=5.0.6)
Requires-Dist: humanize (>=0.5.1)
Requires-Dist: cli-helpers (<1.0.0,>=0.2.3)
Requires-Dist: applicationinsights (>=0.11.1)
Requires-Dist: future (>=0.16.0)
Requires-Dist: wheel (>=0.29.0)
Requires-Dist: enum34 (>=1.1.6)

.. image:: https://badge.fury.io/py/mssql_cli.svg
    :target: https://pypi.python.org/pypi/mssql_cli

.. image:: https://img.shields.io/pypi/pyversions/mssql-cli.svg
    :target: https://github.com/dbcli/mssql-cli

mssql-cli
===============


We’re excited to introduce `mssql-cli`_, a new and interactive command line query tool for SQL Server. This open source tool works cross-platform and proud to be a part of the `dbcli.org community`_. 

.. image:: screenshots/mssql-cli-autocomplete.gif
   :align: center


Features
------------
- Auto-completion
- Syntax highlighting
- Query history
- Configuration file support 
- Multi-line queries

Get mssql-cli
-------------

+-----------------------------------+
| Install Instructions              |
+===================================+
|  `Windows (x64)`_                 |
+-----------------------------------+
|  `Windows (x86)`_                 |
+-----------------------------------+
|  `macOS 10.12+`_                  |
+-----------------------------------+
|  `Ubuntu 17.04`_                  |
+-----------------------------------+
|  `Ubuntu 16.04`_                  |
+-----------------------------------+
|  `Ubuntu 14.04`_                  |
+-----------------------------------+
|  `Debian 8.7+`_                   |
+-----------------------------------+
|  `Debian 9`_                      |
+-----------------------------------+
|  `CentOS 7`_                      |
+-----------------------------------+
|  `Red Hat Enterprise Linux 7`_    |
+-----------------------------------+
|  `OpenSUSE 42.2+`_                |
+-----------------------------------+
|  `Fedora 25`_                     |
+-----------------------------------+
|  `Fedora 26`_                     |
+-----------------------------------+


Direct downloads
----------------
Direct downloads for both latest stable and preview bits can be found at `Direct download`_.

Installation via apt, yum
-------------------------
Please refer to `Get mssql-cli`_ for detailed install instructions per platform.


Installation via pip
--------------------

.. code:: bash

    $ pip install mssql-cli

Please refer to `Install via pip`_ for detailed install instructions via pip on each platform



Usage
-----

Please refer to the `usage guide`_ for details on options and example usage. If you are having any issues using mssql-cli, please see the `troubleshooting guide`_.

For general help content, pass in the ``-h`` parameter:

.. code:: bash

    $ mssql-cli --help

The mssql-cli tool includes a telemetry feature.  Please refer to the `telemetry guide`_ for more information.

Contributing
-----------------------------
If you would like to contribute to the project, please refer to the `development guide`_.

Reporting issues and feedback
-----------------------------

If you encounter any bugs with the tool please file an issue in the
`Issues`_ section of our GitHub repo.

Code of Conduct
---------------

This project has adopted the `Microsoft Open Source Code of Conduct`_. For more information see the `Code of Conduct FAQ`_ or contact
opencode@microsoft.com with any additional questions or comments.

License
-------

mssql-cli is licensed under the `BSD-3 license`_.

.. _mssql-cli: https://github.com/dbcli/mssql-cli
.. _dbcli.org community: https://github.com/dbcli
.. _troubleshooting guide: https://github.com/dbcli/mssql-cli/blob/master/doc/troubleshooting_guide.md
.. _development guide: https://github.com/dbcli/mssql-cli/tree/master/doc/development_guide.md
.. _usage guide: https://github.com/dbcli/mssql-cli/tree/master/doc/usage_guide.md
.. _telemetry guide: https://github.com/dbcli/mssql-cli/tree/master/doc/telemetry_guide.md
.. _Issues: https://github.com/dbcli/mssql-cli/issues
.. _Microsoft Open Source Code of Conduct: https://opensource.microsoft.com/codeofconduct/
.. _Code of Conduct FAQ: https://opensource.microsoft.com/codeofconduct/faq/
.. _BSD-3 license: https://github.com/dbcli/mssql-cli/blob/master/LICENSE.txt

.. _Direct Download: https://github.com/dbcli/mssql-cli/blob/master/doc/installation_guide.md#Alternative-Installation-via-direct-downloads
.. _Install via pip: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/pip.md

.. _Windows (x64): https://github.com/dbcli/mssql-cli/blob/master/doc/installation/windows.md#windows-installation
.. _Windows (x86): https://github.com/dbcli/mssql-cli/blob/master/doc/installation/windows.md#windows-installation

.. _macOS 10.12+: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/macos.md#macos-installation
.. _Ubuntu 17.04: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#ubuntu-1704
.. _Ubuntu 16.04: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#ubuntu-1604
.. _Ubuntu 14.04: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#ubuntu-1404
.. _Debian 8.7+: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#debian-8
.. _Debian 9: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#debian-9
.. _CentOS 7: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#centos-7
.. _Red Hat Enterprise Linux 7: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#red-hat-enterprise-linux-rhel-7
.. _OpenSUSE 42.2+: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#opensuse-422
.. _Fedora 25: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#fedora-25
.. _Fedora 26: https://github.com/dbcli/mssql-cli/blob/master/doc/installation/linux.md#fedora-26


