Commit Graph

17 Commits

Author SHA1 Message Date
wjones e975b947fa Refactor update_mongo.py to enhance JSON downloading and file handling; update MongoDB host in test_tableddl_from_yaml.py 2025-12-11 17:53:41 -05:00
wjones a18c6a7386 Add PostgreSQL virtual table extension and SQLite utilities
- Implement pg_vtab as a minimal SQLite virtual table module backed by PostgreSQL.
- Create sqlite2pgsql utility for copying tables from SQLite to PostgreSQL.
- Add sqlite_pg_plugin to expose PostgreSQL tables to SQLite.
- Include Makefile for building the pg_vtab shared object.
- Update README with usage instructions and limitations.
- Remove obsolete cache.zip file.
2025-12-11 18:45:49 +00:00
wjones 2c2d6da194 Merge branch 'main' of https://gitea.wpjones.com/wjones/new_dbsync 2025-12-11 15:23:13 +00:00
wjones 96bd323567 Implement bulk upsert functionality in dbmongo class and update configuration for MongoDB database 2025-12-11 15:20:50 +00:00
wjones 197a81d8fb Refactor dbmongo class to improve code structure and readability 2025-12-09 16:28:35 -05:00
wjones dfeb5cb36e Add timestamp conversion for updated fields in dbmongo class and clean up json_downloader.py 2025-12-09 16:00:25 -05:00
wjones aa2001bc87 Merge branch 'main' of https://gitea.wpjones.com/wjones/new_dbsync 2025-12-09 13:01:25 -05:00
wjones c5502711e7 Refactor update_mongo.py for improved readability and maintainability 2025-12-09 13:00:48 -05:00
wjones c51150396c Refactor json_downloader.py to correct directory usage for JSON downloads 2025-11-26 08:07:25 -05:00
wjones b390fc9f9a Add function to read configuration from file or directory
- Introduced `read_config_file` function to handle reading configuration settings.
- Supports both direct file paths and project root directory structure.
- Extracts various database and update type settings into a dictionary.
- Handles timestamp calculations for update types.
2025-11-25 08:13:59 -05:00
wjones 7837ca2dd4 Remove unused functions and clean up json_downloader.py for better maintainability 2025-11-17 11:37:46 -05:00
wjones 271bf606ca Refactor code structure for improved readability and maintainability 2025-11-14 16:24:06 -05:00
wjones 1d14e97637 Merge pull request 'removing cache folder and view and json files are no longer used.' (#1) from development into main
Reviewed-on: #1
2025-06-27 15:46:19 -04:00
wjones b9f135e325 removing cache folder and view and json files are no longer used. 2025-06-27 15:08:11 -04:00
wjones c947f7a6db fix code for all tables in json2postgres.py so all tables get processed now. Update requirements.txt to include pandas. 2025-06-25 16:13:34 -04:00
wjones f719155a35 working on json2postgres.py file 2025-06-25 09:17:45 -04:00
wjones 29814092b7 repo migration 2025-05-20 12:02:07 -04:00