├── .github └── workflows │ ├── python-publish.yml │ └── python-test-publish.yml ├── .gitignore ├── .pylintrc ├── .travis.yml ├── CHANGES.rst ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.rst ├── docs ├── Makefile ├── _contributors.rst ├── _dependencies.rst ├── _error_handling_deserialization.rst ├── _error_handling_serialization.rst ├── _import_sqlathanor.rst ├── _installation.rst ├── _static │ ├── choosing-a-config-approach.png │ ├── choosing-a-config-approach.sdr │ ├── sqlathanor-logo-100x50.png │ ├── sqlathanor-logo-200x100.png │ ├── sqlathanor-logo.ai │ └── sqlathanor-logo.png ├── _unit_tests_code_coverage.rst ├── _versus_alternatives.rst ├── api.rst ├── conf.py ├── contributing.rst ├── default_deserialization_functions.rst ├── default_serialization_functions.rst ├── errors.rst ├── glossary.rst ├── history.rst ├── index.rst ├── license.rst ├── make.bat ├── quickstart.rst ├── testing.rst └── using.rst ├── requirements.txt ├── setup.cfg ├── setup.py ├── sqlathanor ├── __init__.py ├── __version__.py ├── _compat.py ├── _serialization_support.py ├── attributes.py ├── automap.py ├── declarative │ ├── __init__.py │ ├── _base_configuration_mixin.py │ ├── _csv_support.py │ ├── _dict_support.py │ ├── _json_support.py │ ├── _primary_key_mixin.py │ ├── _yaml_support.py │ ├── base_model.py │ ├── declarative_base.py │ └── generate_model.py ├── default_deserializers.py ├── default_serializers.py ├── errors.py ├── flask_sqlathanor.py ├── schema.py └── utilities.py ├── tests ├── __init__.py ├── conftest.py ├── fixtures.py ├── input_files │ ├── CSV │ │ ├── input_csv1.csv │ │ ├── input_csv2.csv │ │ ├── update_from_csv1.csv │ │ ├── update_from_csv2.csv │ │ └── update_from_csv3.csv │ └── JSON │ │ ├── input_json1.json │ │ ├── input_json2.json │ │ ├── update_from_json1.json │ │ ├── update_from_json2.json │ │ └── update_from_json3.json ├── test_JSON_column_issue_63.py ├── test_attributes.py ├── test_automap.py ├── test_configuration_sets.py ├── test_csv_support.py ├── test_deserializers.py ├── test_dict_support.py ├── test_flask_sqlathanor.py ├── test_interval_deserialization.py ├── test_issue87_nested_one_to_one.py ├── test_json_support.py ├── test_model_generation.py ├── test_primary_key_retrieval.py ├── test_reflected_tables.py ├── test_relationship_deserialize.py ├── test_relationship_serialize.py ├── test_relationship_serialize_display_name.py ├── test_schema.py ├── test_serialization_configuration.py ├── test_serializers.py ├── test_table_deserialization.py ├── test_utilities.py └── test_yaml_support.py └── tox.ini /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.github/workflows/python-test-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/.github/workflows/python-test-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/.pylintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_contributors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_contributors.rst -------------------------------------------------------------------------------- /docs/_dependencies.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_dependencies.rst -------------------------------------------------------------------------------- /docs/_error_handling_deserialization.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_error_handling_deserialization.rst -------------------------------------------------------------------------------- /docs/_error_handling_serialization.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_error_handling_serialization.rst -------------------------------------------------------------------------------- /docs/_import_sqlathanor.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_import_sqlathanor.rst -------------------------------------------------------------------------------- /docs/_installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_installation.rst -------------------------------------------------------------------------------- /docs/_static/choosing-a-config-approach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/choosing-a-config-approach.png -------------------------------------------------------------------------------- /docs/_static/choosing-a-config-approach.sdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/choosing-a-config-approach.sdr -------------------------------------------------------------------------------- /docs/_static/sqlathanor-logo-100x50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/sqlathanor-logo-100x50.png -------------------------------------------------------------------------------- /docs/_static/sqlathanor-logo-200x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/sqlathanor-logo-200x100.png -------------------------------------------------------------------------------- /docs/_static/sqlathanor-logo.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/sqlathanor-logo.ai -------------------------------------------------------------------------------- /docs/_static/sqlathanor-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_static/sqlathanor-logo.png -------------------------------------------------------------------------------- /docs/_unit_tests_code_coverage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_unit_tests_code_coverage.rst -------------------------------------------------------------------------------- /docs/_versus_alternatives.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/_versus_alternatives.rst -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/contributing.rst -------------------------------------------------------------------------------- /docs/default_deserialization_functions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/default_deserialization_functions.rst -------------------------------------------------------------------------------- /docs/default_serialization_functions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/default_serialization_functions.rst -------------------------------------------------------------------------------- /docs/errors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/errors.rst -------------------------------------------------------------------------------- /docs/glossary.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/glossary.rst -------------------------------------------------------------------------------- /docs/history.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/history.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/license.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/quickstart.rst -------------------------------------------------------------------------------- /docs/testing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/testing.rst -------------------------------------------------------------------------------- /docs/using.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/docs/using.rst -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/setup.py -------------------------------------------------------------------------------- /sqlathanor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/__init__.py -------------------------------------------------------------------------------- /sqlathanor/__version__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | __version__ = '0.7.0' 3 | -------------------------------------------------------------------------------- /sqlathanor/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/_compat.py -------------------------------------------------------------------------------- /sqlathanor/_serialization_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/_serialization_support.py -------------------------------------------------------------------------------- /sqlathanor/attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/attributes.py -------------------------------------------------------------------------------- /sqlathanor/automap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/automap.py -------------------------------------------------------------------------------- /sqlathanor/declarative/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/__init__.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_base_configuration_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_base_configuration_mixin.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_csv_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_csv_support.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_dict_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_dict_support.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_json_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_json_support.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_primary_key_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_primary_key_mixin.py -------------------------------------------------------------------------------- /sqlathanor/declarative/_yaml_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/_yaml_support.py -------------------------------------------------------------------------------- /sqlathanor/declarative/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/base_model.py -------------------------------------------------------------------------------- /sqlathanor/declarative/declarative_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/declarative_base.py -------------------------------------------------------------------------------- /sqlathanor/declarative/generate_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/declarative/generate_model.py -------------------------------------------------------------------------------- /sqlathanor/default_deserializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/default_deserializers.py -------------------------------------------------------------------------------- /sqlathanor/default_serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/default_serializers.py -------------------------------------------------------------------------------- /sqlathanor/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/errors.py -------------------------------------------------------------------------------- /sqlathanor/flask_sqlathanor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/flask_sqlathanor.py -------------------------------------------------------------------------------- /sqlathanor/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/schema.py -------------------------------------------------------------------------------- /sqlathanor/utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/sqlathanor/utilities.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/fixtures.py -------------------------------------------------------------------------------- /tests/input_files/CSV/input_csv1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/CSV/input_csv1.csv -------------------------------------------------------------------------------- /tests/input_files/CSV/input_csv2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/CSV/input_csv2.csv -------------------------------------------------------------------------------- /tests/input_files/CSV/update_from_csv1.csv: -------------------------------------------------------------------------------- 1 | 1|serialized|test-password|3|2 2 | -------------------------------------------------------------------------------- /tests/input_files/CSV/update_from_csv2.csv: -------------------------------------------------------------------------------- 1 | 1|serialized|test-password|3|2|86400|extra 2 | -------------------------------------------------------------------------------- /tests/input_files/CSV/update_from_csv3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/CSV/update_from_csv3.csv -------------------------------------------------------------------------------- /tests/input_files/JSON/input_json1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/JSON/input_json1.json -------------------------------------------------------------------------------- /tests/input_files/JSON/input_json2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/JSON/input_json2.json -------------------------------------------------------------------------------- /tests/input_files/JSON/update_from_json1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/JSON/update_from_json1.json -------------------------------------------------------------------------------- /tests/input_files/JSON/update_from_json2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/input_files/JSON/update_from_json2.json -------------------------------------------------------------------------------- /tests/input_files/JSON/update_from_json3.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/test_JSON_column_issue_63.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_JSON_column_issue_63.py -------------------------------------------------------------------------------- /tests/test_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_attributes.py -------------------------------------------------------------------------------- /tests/test_automap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_automap.py -------------------------------------------------------------------------------- /tests/test_configuration_sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_configuration_sets.py -------------------------------------------------------------------------------- /tests/test_csv_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_csv_support.py -------------------------------------------------------------------------------- /tests/test_deserializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_deserializers.py -------------------------------------------------------------------------------- /tests/test_dict_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_dict_support.py -------------------------------------------------------------------------------- /tests/test_flask_sqlathanor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_flask_sqlathanor.py -------------------------------------------------------------------------------- /tests/test_interval_deserialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_interval_deserialization.py -------------------------------------------------------------------------------- /tests/test_issue87_nested_one_to_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_issue87_nested_one_to_one.py -------------------------------------------------------------------------------- /tests/test_json_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_json_support.py -------------------------------------------------------------------------------- /tests/test_model_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_model_generation.py -------------------------------------------------------------------------------- /tests/test_primary_key_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_primary_key_retrieval.py -------------------------------------------------------------------------------- /tests/test_reflected_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_reflected_tables.py -------------------------------------------------------------------------------- /tests/test_relationship_deserialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_relationship_deserialize.py -------------------------------------------------------------------------------- /tests/test_relationship_serialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_relationship_serialize.py -------------------------------------------------------------------------------- /tests/test_relationship_serialize_display_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_relationship_serialize_display_name.py -------------------------------------------------------------------------------- /tests/test_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_schema.py -------------------------------------------------------------------------------- /tests/test_serialization_configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_serialization_configuration.py -------------------------------------------------------------------------------- /tests/test_serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_serializers.py -------------------------------------------------------------------------------- /tests/test_table_deserialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_table_deserialization.py -------------------------------------------------------------------------------- /tests/test_utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_utilities.py -------------------------------------------------------------------------------- /tests/test_yaml_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tests/test_yaml_support.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insightindustry/sqlathanor/HEAD/tox.ini --------------------------------------------------------------------------------