├── .coveragerc ├── .github └── workflows │ ├── edgetest.yml │ ├── publish-docs.yml │ ├── publish-package.yml │ └── python-package.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODEOWNERS ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── ROADMAP.rst ├── docs ├── Makefile └── source │ ├── conf.py │ ├── developer.rst │ ├── examples.rst │ ├── index.rst │ ├── recipes.rst │ ├── snowflake.rst │ └── sql_injection.rst ├── locopy ├── __init__.py ├── _version.py ├── database.py ├── errors.py ├── logger.py ├── redshift.py ├── s3.py ├── snowflake.py └── utility.py ├── pyproject.toml ├── requirements.txt ├── tests ├── LICENSE ├── __init__.py ├── conftest.py ├── data │ ├── .locopy-sfrc │ ├── .locopyrc │ ├── cat_1.txt │ ├── cat_2.txt │ ├── cat_3.txt │ ├── mock_dataframe.parquet │ ├── mock_dataframe.txt │ ├── mock_dataframe_2.txt │ ├── mock_file.json │ ├── mock_file.txt │ └── mock_file_header.txt ├── test_database.py ├── test_integration.py ├── test_integration_sf.py ├── test_redshift.py ├── test_s3.py ├── test_snowflake.py └── test_utility.py └── whitesource.config /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | show_missing = True 3 | -------------------------------------------------------------------------------- /.github/workflows/edgetest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.github/workflows/edgetest.yml -------------------------------------------------------------------------------- /.github/workflows/publish-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.github/workflows/publish-docs.yml -------------------------------------------------------------------------------- /.github/workflows/publish-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.github/workflows/publish-package.yml -------------------------------------------------------------------------------- /.github/workflows/python-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.github/workflows/python-package.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/README.rst -------------------------------------------------------------------------------- /ROADMAP.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/ROADMAP.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/developer.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/developer.rst -------------------------------------------------------------------------------- /docs/source/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/examples.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/recipes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/recipes.rst -------------------------------------------------------------------------------- /docs/source/snowflake.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/snowflake.rst -------------------------------------------------------------------------------- /docs/source/sql_injection.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/docs/source/sql_injection.rst -------------------------------------------------------------------------------- /locopy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/__init__.py -------------------------------------------------------------------------------- /locopy/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/_version.py -------------------------------------------------------------------------------- /locopy/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/database.py -------------------------------------------------------------------------------- /locopy/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/errors.py -------------------------------------------------------------------------------- /locopy/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/logger.py -------------------------------------------------------------------------------- /locopy/redshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/redshift.py -------------------------------------------------------------------------------- /locopy/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/s3.py -------------------------------------------------------------------------------- /locopy/snowflake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/snowflake.py -------------------------------------------------------------------------------- /locopy/utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/locopy/utility.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/LICENSE -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/.locopy-sfrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/.locopy-sfrc -------------------------------------------------------------------------------- /tests/data/.locopyrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/.locopyrc -------------------------------------------------------------------------------- /tests/data/cat_1.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /tests/data/cat_2.txt: -------------------------------------------------------------------------------- 1 | 6 2 | 7 3 | 8 4 | 9 5 | 10 6 | -------------------------------------------------------------------------------- /tests/data/cat_3.txt: -------------------------------------------------------------------------------- 1 | 11 2 | 12 3 | 13 4 | 14 5 | 15 6 | -------------------------------------------------------------------------------- /tests/data/mock_dataframe.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/mock_dataframe.parquet -------------------------------------------------------------------------------- /tests/data/mock_dataframe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/mock_dataframe.txt -------------------------------------------------------------------------------- /tests/data/mock_dataframe_2.txt: -------------------------------------------------------------------------------- 1 | col1,col2 2 | 1,a 3 | 2,b 4 | 3,c 5 | 4,d 6 | 5,e 7 | 6,f 8 | 7,g 9 | -------------------------------------------------------------------------------- /tests/data/mock_file.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/mock_file.json -------------------------------------------------------------------------------- /tests/data/mock_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/mock_file.txt -------------------------------------------------------------------------------- /tests/data/mock_file_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/data/mock_file_header.txt -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_integration.py -------------------------------------------------------------------------------- /tests/test_integration_sf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_integration_sf.py -------------------------------------------------------------------------------- /tests/test_redshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_redshift.py -------------------------------------------------------------------------------- /tests/test_s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_s3.py -------------------------------------------------------------------------------- /tests/test_snowflake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_snowflake.py -------------------------------------------------------------------------------- /tests/test_utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/tests/test_utility.py -------------------------------------------------------------------------------- /whitesource.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capitalone/locopy/HEAD/whitesource.config --------------------------------------------------------------------------------