# -*- coding: utf-8 -*-
from setuptools import setup

packages = \
['sqlcli', 'sqlcli._demo']

package_data = \
{'': ['*']}

install_requires = \
['rich>=11.0.0,<12.0.0', 'sqlmodel>=0.0.6,<0.0.7', 'typer>=0.4.0,<0.5.0']

entry_points = \
{'console_scripts': ['sqlcli = sqlcli.main:app']}

setup_kwargs = {
    'name': 'sqlcli',
    'version': '0.1.0a2',
    'description': 'A command line interface (CLI) for interacting with SQLModel.',
    'long_description': '# sqlcli\n\n[![PyPI version](https://badge.fury.io/py/sqlcli.svg)](https://badge.fury.io/py/sqlcli)\n\nA command line interface (CLI) for interacting with SQLModel.\n\n<hr>\n\n**Source code:** [https://github.com/SamEdwardes/sqlcli](https://github.com/SamEdwardes/sqlcli)\n\n**Docs:** [https://samedwardes.github.io/sqlcli/](https://samedwardes.github.io/sqlcli/)\n\n**PyPi:** [https://pypi.org/project/sqlcli/](https://pypi.org/project/sqlcli/)\n\n<hr>\n\n## Features\n\nThe key features are:\n\n- **Read data** using the `sqlcli select` command.\n- **Insert data** using the `sqlcli insert` command.\n- **Interactive console** powered by [typer](https://typer.tiangolo.com/), [rich](https://github.com/Textualize/rich), and [sqlmodel](https://sqlmodel.tiangolo.com/).\n- **Pretty** terminal outputs generated by [rich](https://github.com/Textualize/rich).\n- **Multiple output formats** including [rich](https://github.com/Textualize/rich), json, and python dictionaries.\n\n## Installation\n\nYou can install *sqlcli* using pip:\n\n```bash\npip install sqlcli\n```\n\nThis will make the `sqlcli` command available in your python environment.\n\n## Usage\n\nThe quickest way to get started with *sqlcli* is to create a demo sqlite database:\n\n```bash\nsqlcli init-demo\n```\n\nThis will create a small sqlite database on your computer. The you can use sqlcli to explore your database. View your table by using the `select` command.\n\n```bash\nsqlcli select athlete -d "sqlite:///demo_database.db" -m "demo_models.py"\n```\n\n```bash\n┏━━━━┳━━━━━━━━━━┳━━━━━━━━━━┓\n┃ id ┃ name     ┃ sport_id ┃\n┡━━━━╇━━━━━━━━━━╇━━━━━━━━━━┩\n│ 1  │ Ronaldo  │ 1        │\n│ 2  │ Messi    │ 1        │\n│ 3  │ Beckham  │ 1        │\n│ 4  │ Gretzky  │ 2        │\n│ 5  │ Crosby   │ 2        │\n│ 6  │ Ovechkin │ 2        │\n│ 7  │ Sundin   │ 2        │\n│ 8  │ Domi     │ 2        │\n│ 9  │ Carter   │ 1        │\n└────┴──────────┴──────────┘\n```',
    'author': 'SamEdwardes',
    'author_email': 'edwardes.s@gmail.com',
    'maintainer': None,
    'maintainer_email': None,
    'url': 'https://github.com/SamEdwardes/sqlcli',
    'packages': packages,
    'package_data': package_data,
    'install_requires': install_requires,
    'entry_points': entry_points,
    'python_requires': '>=3.9,<4.0',
}


setup(**setup_kwargs)
