Skip to main content

Zylo-docs seamlessly integrates with FastAPI to automatically generate OpenAPI-compliant specs—so you can write your API docs faster and go home early.

Project description

zylo-docs
Build the world’s best API docs highly integrated with FastAPI for developers

Supported Python versions


Writing technical documentation like API specs is often a burden for software engineers — it’s not their expertise, and rarely a top priority. That’s where Zylo-docs comes in. Zylo-docs seamlessly integrates with FastAPI and automatically generates OpenAPI-compliant specs. With powerful AI assistance, it helps developers create clear, user-friendly, and rich documentation with minimal effort. Think of it as a more intuitive, AI-powered alternative to Swagger.

[1/7] Get Started (Add boilerplate code)

from fastapi import FastAPI
# 👇 [1/2] Add this import at the top
from zylo_docs import zylo_docs

app = FastAPI()

@app.get("/")
async def read_root():
    return {"message": "Hello, FastAPI!"}

...
...
...

# 👇 [2/2] Add this at the bottom of your entry point file (e.g., main.py)
zylo_docs(app)

[2/7] Run the FastAPI Server

uvicorn main:app --reload

You need to start the server using Uvicorn.

⚡️ If your server is already running, you can skip this step.

Once the server is running, open your browser and go to: 👉 http://localhost:8000/zylo-docs
(⚠️ If your development server runs on a different port, update the URL accordingly!)

[3/7] Tada! You can now view beautifully structured API specs with zylo-docs.

3:7

[4/7] To use Zylo AI, sign up and sign in to zylo.

u-4

To enhance your documentation with AI, please sign in to zylo-docs.

[5/7] Use the Zylo AI function to upgrade your docs

5:7

[6/7] Tada! Look at the red dot in the top-left corner! It is completed. Let's check this out!

6:7 After you find the red dot on the version selector, it means that our API specs are now upgraded and more user-friendly with zylo-docs. you can find the lastest one. Once you click it, you can check the new one filled with rich content.

[6.2/7] You can compare generated docs with privious one.

https://github.com/user-attachments/assets/58370b53-d98c-4cb5-8cd3-b628dd48c1e9

[6.5/7] You can also regenerate specific parts of the data, such as test cases.

https://github.com/user-attachments/assets/34a0eee7-364e-4572-9930-440c00db7085

[7/7] Share your API docs with your team

7:7

Click the Publish button to share your API documentation via email.

Development

  • Python 3.10+
  • FastAPI, Uvicorn

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zylo_docs-1.1.3.tar.gz (223.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zylo_docs-1.1.3-py3-none-any.whl (229.0 kB view details)

Uploaded Python 3

File details

Details for the file zylo_docs-1.1.3.tar.gz.

File metadata

  • Download URL: zylo_docs-1.1.3.tar.gz
  • Upload date:
  • Size: 223.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for zylo_docs-1.1.3.tar.gz
Algorithm Hash digest
SHA256 8ff9088d943bf1302b2789888ce19a34fcdd56ffcf5047fcbe753eab21a0e0b3
MD5 6210d40df49687973b5e3dc289eb2ba9
BLAKE2b-256 24517bf2d1661d2bce15d6b6cfd8e9135db1a8d5b82a40688a85d1779e1a7279

See more details on using hashes here.

File details

Details for the file zylo_docs-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: zylo_docs-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 229.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for zylo_docs-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c34cda6400596530212734664ef096ad9fd1f06d4874420312f773f6a48c7d1a
MD5 f1ed4e55ac2171d91a56f1db6b45b61f
BLAKE2b-256 fde471c013d44946e4fe6fbf1d59b9d2c1ef65609cd7ef901e5478b05ca26119

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page