From 0f13b4c2a1b253e786c98da41620f66ff38d7acf Mon Sep 17 00:00:00 2001 From: Wei Zang Date: Sun, 5 Apr 2026 20:47:36 +0100 Subject: [PATCH] Bump version, tweak CI, and trim README Bump package version to 2.1.4 (app/__init__.py). Update CI workflow (.github/workflows/ci.yml): remove push trigger for master/staging so workflow runs only on pull_request, and add a final friendly message step after tests. Simplify README header and remove the directory structure section to shorten documentation. --- .github/workflows/ci.yml | 5 +++-- README.md | 25 +------------------------ app/__init__.py | 2 +- 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9303140..84fcfd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,6 @@ name: ๐Ÿด I TEST on: - push: - branches: ["master", "staging"] pull_request: branches: ["master", "staging"] jobs: @@ -22,3 +20,6 @@ jobs: - name: ๐Ÿงช Run tests run: | python -m unittest discover -s tests + + - name: Friendly message - End + run: echo "โœ… All done" \ No newline at end of file diff --git a/README.md b/README.md index 6f80288..a861782 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Python FastAPI/Postgres App +## Python > Production-ready, open-source FastAPI application with PostgreSQL and blazing-fast full-text search. @@ -65,29 +65,6 @@ SELECT * FROM prospects WHERE search_vector @@ plainto_tsquery('english', 'searc 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. - -## Directory Structure - -``` -app/ - main.py # FastAPI entrypoint - api/ # API endpoints & schemas - health.py - root.py - routes.py - products/ - prompts/ - prospects/ - resend/ - utils/ - static/ # Static assets (e.g., repoicon.png) - utils/ # Utility scripts -tests/ # Pytest test suite -requirements.txt # Python dependencies -render.yaml # Deployment config (Render.com) -``` - - ## Contributing Contributions welcome. Please open issues or submit pull requests. diff --git a/app/__init__.py b/app/__init__.py index 5ed0f9b..28d18c9 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,4 +1,4 @@ """Python - FastAPI, Postgres, tsvector""" # Current Version -__version__ = "2.1.3" +__version__ = "2.1.4"