├── .coveragerc ├── .do └── deploy.template.yaml ├── .dockerignore ├── .editorconfig ├── .env.sample ├── .github ├── FUNDING.yml ├── issue_template.md └── workflows │ ├── codeql.yml │ ├── python-build.yml │ └── python-publish.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pythonpath ├── ARCHITECTURE.md ├── AUTHORS.rst ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── Dockerfile ├── Dockerfile.dockerhub ├── HISTORY.rst ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── README.rst ├── bin ├── bootstrap ├── es_mapping ├── parallel_sync └── pgsync ├── codecov.yml ├── demo ├── README ├── app │ ├── __init__.py │ ├── main.py │ ├── settings.py │ ├── utils.py │ └── views.py ├── index.html ├── requirements.txt ├── runserver.sh └── server.py ├── docker-compose-opensearch.yml ├── docker-compose.yml ├── docker ├── Dockerfile ├── conf.sql ├── runserver.sh └── wait-for-it.sh ├── docs ├── Makefile ├── architecture.jpeg ├── authors.rst ├── changelog.rst ├── conf.py ├── contributing.rst ├── demo.svg ├── history.rst ├── index.rst ├── installation.rst ├── logo.png ├── make.bat ├── readme.rst └── usage.rst ├── examples ├── README ├── airbnb │ ├── data.py │ ├── schema.json │ └── schema.py ├── airline │ ├── README │ └── schema.json ├── ancestry │ ├── data.py │ ├── schema.json │ └── schema.py ├── book │ ├── benchmark.py │ ├── data.py │ ├── schema.json │ ├── schema.py │ └── schema_plain.json ├── book_view │ ├── benchmark.py │ ├── data.py │ ├── schema.json │ └── schema.py ├── bootstrap.sh ├── es_mapping.sh ├── geo │ └── schema.json ├── node │ ├── README │ ├── data.py │ ├── schema.json │ └── schema.py ├── quiz │ ├── data.py │ ├── schema.json │ └── schema.py ├── rental │ ├── README │ └── schema.json ├── runserver.sh ├── schemas │ ├── README │ ├── data.py │ ├── schema.json │ └── schema.py ├── social │ ├── data.py │ ├── schema.json │ └── schema.py ├── starcraft │ ├── README │ ├── data.py │ ├── schema.json │ └── schema.py └── through │ ├── README │ ├── data.py │ ├── schema.json │ └── schema.py ├── pgsync ├── __init__.py ├── base.py ├── constants.py ├── exc.py ├── helper.py ├── node.py ├── plugin.py ├── querybuilder.py ├── redisqueue.py ├── search_client.py ├── settings.py ├── singleton.py ├── sync.py ├── transform.py ├── trigger.py ├── urls.py ├── utils.py └── view.py ├── plugins ├── __init__.py ├── character │ ├── __init__.py │ └── groot.py ├── infinity.py ├── openai_plugin.py ├── sample.py └── sentence_transformer_plugin.py ├── pyproject.toml ├── requirements ├── base.in ├── base.txt ├── dev.in └── dev.txt ├── scripts ├── build_dockerhub.sh ├── cat_redis.sh ├── cleanup.sh ├── clear_disk_usage.sh ├── del_redis.sh ├── format.sh ├── lint.sh ├── migrate_schema_v2 ├── pg_locks.sh ├── pg_replication_slots.sh ├── pg_temp_tables.sh ├── run_tests.sh └── upgrade.sh ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── conftest.py ├── fixtures └── schema.json ├── test_base.py ├── test_constants.py ├── test_env_vars.py ├── test_helper.py ├── test_log_handlers.py ├── test_node.py ├── test_query_builder.py ├── test_redisqueue.py ├── test_search_client.py ├── test_settings.py ├── test_sync.py ├── test_sync_nested_children.py ├── test_sync_root.py ├── test_sync_single_child_fk_on_child.py ├── test_sync_single_child_fk_on_parent.py ├── test_transform.py ├── test_trigger.py ├── test_unique_behaviour.py ├── test_urls.py ├── test_utils.py ├── test_view.py └── testing_utils.py /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.coveragerc -------------------------------------------------------------------------------- /.do/deploy.template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.do/deploy.template.yaml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.env.sample -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/python-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.github/workflows/python-build.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pythonpath: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/.pythonpath -------------------------------------------------------------------------------- /ARCHITECTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/ARCHITECTURE.md -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CHANGELOG.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/CHANGELOG.rst -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.dockerhub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/Dockerfile.dockerhub -------------------------------------------------------------------------------- /HISTORY.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/HISTORY.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/README.md -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/README.rst -------------------------------------------------------------------------------- /bin/bootstrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/bin/bootstrap -------------------------------------------------------------------------------- /bin/es_mapping: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/bin/es_mapping -------------------------------------------------------------------------------- /bin/parallel_sync: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/bin/parallel_sync -------------------------------------------------------------------------------- /bin/pgsync: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/bin/pgsync -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/codecov.yml -------------------------------------------------------------------------------- /demo/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/README -------------------------------------------------------------------------------- /demo/app/__init__.py: -------------------------------------------------------------------------------- 1 | """PGSync Demo app.""" 2 | -------------------------------------------------------------------------------- /demo/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/app/main.py -------------------------------------------------------------------------------- /demo/app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/app/settings.py -------------------------------------------------------------------------------- /demo/app/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/app/utils.py -------------------------------------------------------------------------------- /demo/app/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/app/views.py -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/index.html -------------------------------------------------------------------------------- /demo/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/requirements.txt -------------------------------------------------------------------------------- /demo/runserver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/runserver.sh -------------------------------------------------------------------------------- /demo/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/demo/server.py -------------------------------------------------------------------------------- /docker-compose-opensearch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docker-compose-opensearch.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/conf.sql: -------------------------------------------------------------------------------- 1 | ALTER SYSTEM SET wal_level = logical; -------------------------------------------------------------------------------- /docker/runserver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docker/runserver.sh -------------------------------------------------------------------------------- /docker/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docker/wait-for-it.sh -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/architecture.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/architecture.jpeg -------------------------------------------------------------------------------- /docs/authors.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../AUTHORS.rst 2 | -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CHANGELOG.rst 2 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CONTRIBUTING.rst 2 | -------------------------------------------------------------------------------- /docs/demo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/demo.svg -------------------------------------------------------------------------------- /docs/history.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../HISTORY.rst 2 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/logo.png -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/readme.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../README.rst 2 | -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/README -------------------------------------------------------------------------------- /examples/airbnb/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/airbnb/data.py -------------------------------------------------------------------------------- /examples/airbnb/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/airbnb/schema.json -------------------------------------------------------------------------------- /examples/airbnb/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/airbnb/schema.py -------------------------------------------------------------------------------- /examples/airline/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/airline/README -------------------------------------------------------------------------------- /examples/airline/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/airline/schema.json -------------------------------------------------------------------------------- /examples/ancestry/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/ancestry/data.py -------------------------------------------------------------------------------- /examples/ancestry/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/ancestry/schema.json -------------------------------------------------------------------------------- /examples/ancestry/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/ancestry/schema.py -------------------------------------------------------------------------------- /examples/book/benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book/benchmark.py -------------------------------------------------------------------------------- /examples/book/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book/data.py -------------------------------------------------------------------------------- /examples/book/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book/schema.json -------------------------------------------------------------------------------- /examples/book/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book/schema.py -------------------------------------------------------------------------------- /examples/book/schema_plain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book/schema_plain.json -------------------------------------------------------------------------------- /examples/book_view/benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book_view/benchmark.py -------------------------------------------------------------------------------- /examples/book_view/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book_view/data.py -------------------------------------------------------------------------------- /examples/book_view/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book_view/schema.json -------------------------------------------------------------------------------- /examples/book_view/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/book_view/schema.py -------------------------------------------------------------------------------- /examples/bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/bootstrap.sh -------------------------------------------------------------------------------- /examples/es_mapping.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/es_mapping.sh -------------------------------------------------------------------------------- /examples/geo/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/geo/schema.json -------------------------------------------------------------------------------- /examples/node/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/node/README -------------------------------------------------------------------------------- /examples/node/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/node/data.py -------------------------------------------------------------------------------- /examples/node/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/node/schema.json -------------------------------------------------------------------------------- /examples/node/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/node/schema.py -------------------------------------------------------------------------------- /examples/quiz/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/quiz/data.py -------------------------------------------------------------------------------- /examples/quiz/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/quiz/schema.json -------------------------------------------------------------------------------- /examples/quiz/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/quiz/schema.py -------------------------------------------------------------------------------- /examples/rental/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/rental/README -------------------------------------------------------------------------------- /examples/rental/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/rental/schema.json -------------------------------------------------------------------------------- /examples/runserver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/runserver.sh -------------------------------------------------------------------------------- /examples/schemas/README: -------------------------------------------------------------------------------- 1 | demonstrates use of multiple schemas -------------------------------------------------------------------------------- /examples/schemas/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/schemas/data.py -------------------------------------------------------------------------------- /examples/schemas/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/schemas/schema.json -------------------------------------------------------------------------------- /examples/schemas/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/schemas/schema.py -------------------------------------------------------------------------------- /examples/social/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/social/data.py -------------------------------------------------------------------------------- /examples/social/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/social/schema.json -------------------------------------------------------------------------------- /examples/social/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/social/schema.py -------------------------------------------------------------------------------- /examples/starcraft/README: -------------------------------------------------------------------------------- 1 | demonstrates no foreign key relationship -------------------------------------------------------------------------------- /examples/starcraft/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/starcraft/data.py -------------------------------------------------------------------------------- /examples/starcraft/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/starcraft/schema.json -------------------------------------------------------------------------------- /examples/starcraft/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/starcraft/schema.py -------------------------------------------------------------------------------- /examples/through/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/through/README -------------------------------------------------------------------------------- /examples/through/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/through/data.py -------------------------------------------------------------------------------- /examples/through/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/through/schema.json -------------------------------------------------------------------------------- /examples/through/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/examples/through/schema.py -------------------------------------------------------------------------------- /pgsync/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/__init__.py -------------------------------------------------------------------------------- /pgsync/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/base.py -------------------------------------------------------------------------------- /pgsync/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/constants.py -------------------------------------------------------------------------------- /pgsync/exc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/exc.py -------------------------------------------------------------------------------- /pgsync/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/helper.py -------------------------------------------------------------------------------- /pgsync/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/node.py -------------------------------------------------------------------------------- /pgsync/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/plugin.py -------------------------------------------------------------------------------- /pgsync/querybuilder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/querybuilder.py -------------------------------------------------------------------------------- /pgsync/redisqueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/redisqueue.py -------------------------------------------------------------------------------- /pgsync/search_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/search_client.py -------------------------------------------------------------------------------- /pgsync/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/settings.py -------------------------------------------------------------------------------- /pgsync/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/singleton.py -------------------------------------------------------------------------------- /pgsync/sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/sync.py -------------------------------------------------------------------------------- /pgsync/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/transform.py -------------------------------------------------------------------------------- /pgsync/trigger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/trigger.py -------------------------------------------------------------------------------- /pgsync/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/urls.py -------------------------------------------------------------------------------- /pgsync/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/utils.py -------------------------------------------------------------------------------- /pgsync/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pgsync/view.py -------------------------------------------------------------------------------- /plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/character/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/character/groot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/plugins/character/groot.py -------------------------------------------------------------------------------- /plugins/infinity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/plugins/infinity.py -------------------------------------------------------------------------------- /plugins/openai_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/plugins/openai_plugin.py -------------------------------------------------------------------------------- /plugins/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/plugins/sample.py -------------------------------------------------------------------------------- /plugins/sentence_transformer_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/plugins/sentence_transformer_plugin.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements/base.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/requirements/base.in -------------------------------------------------------------------------------- /requirements/base.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/requirements/base.txt -------------------------------------------------------------------------------- /requirements/dev.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/requirements/dev.in -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/requirements/dev.txt -------------------------------------------------------------------------------- /scripts/build_dockerhub.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/build_dockerhub.sh -------------------------------------------------------------------------------- /scripts/cat_redis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/cat_redis.sh -------------------------------------------------------------------------------- /scripts/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/cleanup.sh -------------------------------------------------------------------------------- /scripts/clear_disk_usage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/clear_disk_usage.sh -------------------------------------------------------------------------------- /scripts/del_redis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/del_redis.sh -------------------------------------------------------------------------------- /scripts/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/format.sh -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/lint.sh -------------------------------------------------------------------------------- /scripts/migrate_schema_v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/migrate_schema_v2 -------------------------------------------------------------------------------- /scripts/pg_locks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/pg_locks.sh -------------------------------------------------------------------------------- /scripts/pg_replication_slots.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/pg_replication_slots.sh -------------------------------------------------------------------------------- /scripts/pg_temp_tables.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/pg_temp_tables.sh -------------------------------------------------------------------------------- /scripts/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/run_tests.sh -------------------------------------------------------------------------------- /scripts/upgrade.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/scripts/upgrade.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/fixtures/schema.json -------------------------------------------------------------------------------- /tests/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_base.py -------------------------------------------------------------------------------- /tests/test_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_constants.py -------------------------------------------------------------------------------- /tests/test_env_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_env_vars.py -------------------------------------------------------------------------------- /tests/test_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_helper.py -------------------------------------------------------------------------------- /tests/test_log_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_log_handlers.py -------------------------------------------------------------------------------- /tests/test_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_node.py -------------------------------------------------------------------------------- /tests/test_query_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_query_builder.py -------------------------------------------------------------------------------- /tests/test_redisqueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_redisqueue.py -------------------------------------------------------------------------------- /tests/test_search_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_search_client.py -------------------------------------------------------------------------------- /tests/test_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_settings.py -------------------------------------------------------------------------------- /tests/test_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_sync.py -------------------------------------------------------------------------------- /tests/test_sync_nested_children.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_sync_nested_children.py -------------------------------------------------------------------------------- /tests/test_sync_root.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_sync_root.py -------------------------------------------------------------------------------- /tests/test_sync_single_child_fk_on_child.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_sync_single_child_fk_on_child.py -------------------------------------------------------------------------------- /tests/test_sync_single_child_fk_on_parent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_sync_single_child_fk_on_parent.py -------------------------------------------------------------------------------- /tests/test_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_transform.py -------------------------------------------------------------------------------- /tests/test_trigger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_trigger.py -------------------------------------------------------------------------------- /tests/test_unique_behaviour.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_unique_behaviour.py -------------------------------------------------------------------------------- /tests/test_urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_urls.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/test_view.py -------------------------------------------------------------------------------- /tests/testing_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toluaina/pgsync/HEAD/tests/testing_utils.py --------------------------------------------------------------------------------