{"id":26888,"library":"dbsqlcli","title":"DB SQL CLI","description":"A CLI tool for running SQL queries against Databricks SQL endpoints. Version 0.1.1, requires Python >=3.7. The project appears to be new or minimally maintained; documentation and usage examples are sparse.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/databricks/dbsqlcli","tags":["databricks","sql","cli","database"],"install":[{"cmd":"pip install dbsqlcli","lang":"bash","label":"pip install"}],"dependencies":[],"imports":[{"note":"The CLI entry point is inside the cli module; direct import of package does not expose the expected functions.","wrong":"import dbsqlcli","symbol":"main","correct":"from dbsqlcli.cli import main"}],"quickstart":{"code":"from dbsqlcli.cli import main\nimport sys\nsys.argv = ['dbsqlcli', '--help']\nmain()","lang":"python","description":"Run the CLI main function with dummy arguments. Replace with actual Databricks connection details."},"warnings":[{"fix":"Use the official databricks-sql-connector package directly if authentication fails.","message":"The package may not be compatible with the latest Databricks SQL Connector authentication changes.","severity":"breaking","affected_versions":"0.1.1"},{"fix":"Check the source code or run with --help to see available arguments.","message":"No configuration file or environment variables are documented; connection parameters may need to be passed via command line arguments.","severity":"gotcha","affected_versions":"0.1.1"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install dbsqlcli' in the correct Python environment.","cause":"Package not installed or installed in a different environment.","error":"ModuleNotFoundError: No module named 'dbsqlcli'"},{"fix":"Use 'from dbsqlcli.cli import main' instead.","cause":"Import path is wrong; the cli module is under dbsqlcli.cli.","error":"AttributeError: module 'dbsqlcli' has no attribute 'cli'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}