A beautiful terminal application to verify place names against a large Supabase database, featuring a colorful and responsive TUI interface with smart parsing and progress tracking.
- One-Click Operations: Easily fetch and compare places from terminal
- Smart Parsing: Supports comma-separated, bulleted, and numbered lists
- Progress Bars: Clear visual progress using
rich.progress - Colorful Output: Displays results in neatly formatted tables
- Windows Friendly: Built-in Unicode handling
-
Clone the repository:
git clone https://github.com/raulkolaric/PlacesCheck.git cd PlacesCheck -
Install dependencies:
pip install -r requirements.txt
-
Configure Supabase credentials: Create a
.envfile:SUPABASE_URL=your_project_url SUPABASE_SERVICE_ROLE_KEY=your_service_key
Run the app:
python src/main.py- Fetch Data β Loads existing place names from Supabase table
google_places - Compare β Parses
insert.txtand compares each name - Exit β Closes the program
PlacesCheck/
βββ src/
β βββ main.py # Main application
β βββ compare.py
β βββ fetch.py
βββ data/ # Input list of place names
β βββ fetched_data.json # Cached data from Supabase
β βββ missing_places.txt # Auto-saved unmatched entries
β βββ insert.txt # Your input against the data from Supabase
βββ .env # Your Supabase credentials
βββ requirements.txt # Python dependencies
βββ README.md # Project overview
Default values:
TABLE_NAME = "google_places"
COLUMN_NAME = "name"Change these in main.py to use a different table or column.
- Supports copy-pasting from various formats (e.g., Excel, Google Docs)
- Automatically saves unmatched entries to
missing_places.txt - Press
Ctrl+Cto exit safely at any time
MIT License β Free to use, modify, and distribute!
