├── .flake8 ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── auto-merge-dependabot.yml │ ├── black.yml │ ├── python-ci.yml │ └── python-publish.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── poetry.lock ├── pyproject.toml ├── sql_metadata ├── __init__.py ├── compat.py ├── generalizator.py ├── keywords_lists.py ├── parser.py ├── token.py └── utils.py └── test ├── __init__.py ├── test.sql ├── test_aliases.py ├── test_alter.py ├── test_caching.py ├── test_column_aliases.py ├── test_comments.py ├── test_compat.py ├── test_complex_aliases.py ├── test_create_table.py ├── test_drop_table.py ├── test_fully_qualified_names.py ├── test_getting_columns.py ├── test_getting_tables.py ├── test_hive.py ├── test_limit_and_offset.py ├── test_mssql_server.py ├── test_multiple_subqueries.py ├── test_normalization.py ├── test_postgress.py ├── test_query.py ├── test_query_type.py ├── test_redshift.py ├── test_sqlite.py ├── test_truncate_table.py ├── test_unions.py ├── test_values.py └── test_with_statements.py /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-merge-dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/workflows/auto-merge-dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/black.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/workflows/black.yml -------------------------------------------------------------------------------- /.github/workflows/python-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/workflows/python-ci.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/README.md -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/pyproject.toml -------------------------------------------------------------------------------- /sql_metadata/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/__init__.py -------------------------------------------------------------------------------- /sql_metadata/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/compat.py -------------------------------------------------------------------------------- /sql_metadata/generalizator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/generalizator.py -------------------------------------------------------------------------------- /sql_metadata/keywords_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/keywords_lists.py -------------------------------------------------------------------------------- /sql_metadata/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/parser.py -------------------------------------------------------------------------------- /sql_metadata/token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/token.py -------------------------------------------------------------------------------- /sql_metadata/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/sql_metadata/utils.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/__init__.py -------------------------------------------------------------------------------- /test/test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test.sql -------------------------------------------------------------------------------- /test/test_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_aliases.py -------------------------------------------------------------------------------- /test/test_alter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_alter.py -------------------------------------------------------------------------------- /test/test_caching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_caching.py -------------------------------------------------------------------------------- /test/test_column_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_column_aliases.py -------------------------------------------------------------------------------- /test/test_comments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_comments.py -------------------------------------------------------------------------------- /test/test_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_compat.py -------------------------------------------------------------------------------- /test/test_complex_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_complex_aliases.py -------------------------------------------------------------------------------- /test/test_create_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_create_table.py -------------------------------------------------------------------------------- /test/test_drop_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_drop_table.py -------------------------------------------------------------------------------- /test/test_fully_qualified_names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_fully_qualified_names.py -------------------------------------------------------------------------------- /test/test_getting_columns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_getting_columns.py -------------------------------------------------------------------------------- /test/test_getting_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_getting_tables.py -------------------------------------------------------------------------------- /test/test_hive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_hive.py -------------------------------------------------------------------------------- /test/test_limit_and_offset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_limit_and_offset.py -------------------------------------------------------------------------------- /test/test_mssql_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_mssql_server.py -------------------------------------------------------------------------------- /test/test_multiple_subqueries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_multiple_subqueries.py -------------------------------------------------------------------------------- /test/test_normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_normalization.py -------------------------------------------------------------------------------- /test/test_postgress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_postgress.py -------------------------------------------------------------------------------- /test/test_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_query.py -------------------------------------------------------------------------------- /test/test_query_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_query_type.py -------------------------------------------------------------------------------- /test/test_redshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_redshift.py -------------------------------------------------------------------------------- /test/test_sqlite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_sqlite.py -------------------------------------------------------------------------------- /test/test_truncate_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_truncate_table.py -------------------------------------------------------------------------------- /test/test_unions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_unions.py -------------------------------------------------------------------------------- /test/test_values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_values.py -------------------------------------------------------------------------------- /test/test_with_statements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/macbre/sql-metadata/HEAD/test/test_with_statements.py --------------------------------------------------------------------------------