api-editor is a tool to improve the API of a Python library in a semi-automated manner. Several improvements are suggested automatically and the user can add further improvements manually in a user-friendly GUI. These improvements are implemented automatically by the tool as wrappers that provide the desired API while internally using the existing Python library.
The automation described above relies on structured information about the existing Python library. This information can be computed automatically by the library-analyzer.
You can find the full documentation here.
- Install OpenJDK 17.
- Download the file
API-Editor (<version>)from the latest release (listed under "Assets").
- Run the program:
- Open localhost:4280 in your browser.
- In the window that opens, enter your username in the bottom right field.
- Download the contents of the
datafolder of this project. Alternatively, compute the required data for another Python API using the library-analyzer.
File > Import > API Dataand upload the API data that you stored locally.
File > Import > Usagesand upload the usage data that you stored locally.
File > Import > Annotationsand upload the annotation data that you stored locally (from the repository or your own prior usages of the tool).
Now you are ready to explore the API and review existing annotations.
- Run the backend server:
- Run the development server (keep the backend server running):
- Open localhost:5173 in your browser.
We welcome contributions from everyone. As a starting point, check the following resources:
If you need further help, please use our discussion forum.