A starter SEO-optimized FastAPI package
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_seo_package-0.1.1.tar.gz.
File metadata
- Download URL: fastapi_seo_package-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e39f3e7966b681c7f9811d679365ca5ef9e0081615b24311d9c8909423fa722
|
|
| MD5 |
512da2b502dbacc5ed117c554c1bd4be
|
|
| BLAKE2b-256 |
4430d73bcd759eda74116130fe9b5fa19c7ebec3c9f68803113e489b2810faca
|
File details
Details for the file fastapi_seo_package-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fastapi_seo_package-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b05c8f63c2d1dace3697ce499dbf0f551a320dcb85f1366b8ebc271f6c7b2b
|
|
| MD5 |
5d11c5da5eb4e42fac6b26da588e7c36
|
|
| BLAKE2b-256 |
daa6c7b528f8e85e19d42c2f27b37b2db7d0093bdc1e6580ed94a5298b9284a7
|