Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Python°

![Python Logo](app/static/python.png)
![Python°](app/static/python.png)

> Production-ready, open-source FastAPI application with PostgreSQL and blazing-fast full-text search.

Expand All @@ -23,7 +23,7 @@ This project provides a scalable API backend using FastAPI and PostgreSQL, featu

#### Install & Use

### 1. Clone & Setup Environment
#### 1. Clone & Setup Environment

```bash
git clone https://github.com/goldlabelapps/python.git
Expand Down Expand Up @@ -59,7 +59,7 @@ FastAPI auto-generates interactive docs:
- `GET /prospects` — Paginated prospects
- `POST /prospects/process` — Bulk CSV ingestion

## Full-Text Search (tsvector)
#### Full-Text Search (tsvector)

The `prospects` table includes a `search_vector` column (type: tsvector) computed from all text fields on insert/update. A GIN index enables fast, scalable full-text search:

Expand All @@ -72,15 +72,14 @@ SELECT * FROM prospects WHERE search_vector @@ plainto_tsquery('english', 'searc
- The GIN index (`idx_prospects_search_vector`) enables efficient search across large datasets.


## Processing Large CSV Files
#### Processing Large CSV Files

The `/prospects/process` endpoint supports robust ingestion of large CSVs (e.g., 1300+ rows, 300KB+), following the same normalization and insertion pattern as `/prospects/seed` but optimized for scale.

## Contributing
#### Contributing

Contributions welcome. Please open issues or submit pull requests.


## License
#### License

This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.
2 changes: 1 addition & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Python - FastAPI, Postgres, tsvector"""

# Current Version
__version__ = "2.2.9"
__version__ = "1"
1 change: 0 additions & 1 deletion app/api/prompt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Prompt Routes"""

from .prompt import router as prompt_router
from .linkedin import router as linkedin_router
from .empty import router as empty_router
201 changes: 0 additions & 201 deletions app/api/prompt/linkedin.py

This file was deleted.

Loading
Loading