![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
DocAPI is a Python package that automatically generates API documentation using LLMs. It currently supports Flask and Django frameworks.
[ 中文 | English ]
DocAPI is an API documentation generation tool based on large language models (LLM), currently supporting Flask and Django frameworks. With DocAPI, you can quickly generate, update, and display API documentation, significantly enhancing development efficiency.
--static
for static route scanning that does not depend on the project environment, only supported for Flask projects. The downside is that it may include unused routes in the documentation, suitable for single-page Flask API projects..env
files and multi-language documentation.Install the latest version via PyPI:
pip install -U docapi
Install the version with all dependencies:
pip install -U "docapi[all]"
Install with support for a specific framework only:
pip install -U "docapi[flask]"
pip install -U "docapi[django]"
Install from the official PyPI source:
pip install -U "docapi[all]" -i https://pypi.org/simple
Install from GitHub:
pip install git+https://github.com/Shulin-Zhang/docapi
Below are typical usage examples:
export DOCAPI_MODEL=openai:gpt-4o-mini
export OPENAI_API_KEY=your_api_key
docapi generate server.py
# Static route scanning, does not depend on the project environment
# docapi generate server.py --static
docapi generate manage.py
docapi update server.py
# Static route scanning, does not depend on the project environment
# docapi update server.py --static
docapi update manage.py
docapi serve
FAQs
DocAPI is a Python package that automatically generates API documentation using LLMs. It currently supports Flask and Django frameworks.
We found that docapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.