New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fences-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fences-api

Fences is an LLM augmented OpenAPI interpreter with a visual interface to easily make requests

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

Fences

Package version

An LLM augmented OpenAPI specification interpreter that provides a human-readable interactive representation of APIs, automatically generate requests and stores both requests and responses on your browser to improve AI-generated requests in future queries.

Fences operates similarly to SwaggerUI, but with a more human-friendly interface. It uses AI to create a visual diagram and categorize endpoints. After the initial parse Fences uses the OpenAPI specification to automatically generate request bodys for you, filling with it with sample data. It stores every single request and response data in your browser to better generate future requests. Data is only stored locally, the only third-party server it uses is Anthropic's API to access LLMs.

alt text

Work in progress

Fences is still under construction and may break for some edge cases. Please submit an issue with a reproducible example if you encounter any problems.

Usage

pip install fences-api # Installation command
fences # You will be prompted for an anthropic api key and for the link to the openapi spec

You will be prompted to enter your anthropic key so that fences can make requests to an LLM model to parse the OpenAPI specification.

How to contribute

PR's are welcome!

Please create an issue before opening a PR so that we can discuss the changes you want to make.

How to setup your dev enviroment

pip install -r requirements.txt
cd ui && npm install && npm run build && cd..
python fences/cli.py
pip install -e . # To test package locally

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc