FastAPI SEO Package 🚀
A starter template for building SEO-friendly applications with FastAPI.
This package comes with essential SEO features pre-configured so you can start fast and scale later.
✨ Features
- ⚡ SEO-ready homepage with dynamic
<title>and<meta>description - 🗺️ Auto-generated sitemap.xml
- 🤖 Preconfigured robots.txt
- 🎨 Jinja2 templating with extendable HTML templates
- 📂 Static file support (CSS/JS)
- 🛠️ Organized folder structure for scalability
📦 Installation
pip install fastapi-seo-package
🚀 Usage
Run the FastAPI app using Uvicorn:
uvicorn fastapi_seo_package:app --reload
Visit:
- Home: http://127.0.0.1:8000/
- Sitemap: http://127.0.0.1:8000/sitemap.xml
- Robots: http://127.0.0.1:8000/robots.txt
🗂️ Project Structure
fastapi_seo_package/
│── __init__.py
│── main.py
│── routers/
│ ├── pages.py
│ └── sitemap.py
│── templates/
│ ├── base.html
│ └── home.html
│── static/
│ ├── css/
│ └── js/
🔮 Roadmap
- Blog routes with SEO-friendly slugs (
/blog/my-first-post) - Schema.org JSON-LD support
- Multi-language SEO
- Pagination with canonical links
🤝 Contributing
Contributions are welcome! Fork the repo, make your changes, and open a pull request.
📜 License
MIT License © 2025
Metadata
Release files for fastapi-seo-package 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_seo_package-0.1.2.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_seo_package-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / fastapi_seo_package-0.1.2.tar.gz
| Download URL | fastapi_seo_package-0.1.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f89212cc3289948541b6a923ece3714c793599dd9654363e458120b0563c851
|
|
BLAKE2b-256 checksum How to use checksums |
e0d70410bc68b348aab096d46a0541168471729fa9046aefa4b4b3d2cfa93948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|
Release files / fastapi_seo_package-0.1.2-py3-none-any.whl
| Download URL | fastapi_seo_package-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
375b403c3bb55a472d7a25aa2d0b53b4e83232c1e80e2f708fd43f0ac9fe522f
|
|
BLAKE2b-256 checksum How to use checksums |
f38efcc0110d52a4a44dffacced4cd5f211fb4308e327cca3a76538efcfdb0f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|