Creates a Python UML graphic from Python code.
381
Dockerhub: https://hub.docker.com/r/quisl/py_uml_api
Try this online: https://quisl.de/python-uml-generator/
Run this:
docker run quisl/py_uml_api
This container accepts python code via POST and returns a class diagram as png image. Created by Pyreverse.
It listens to... :8000/get_python_uml
and expects these POST variables in request body (application/x-www-form-urlencoded):
OPENAPI 3:
{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/get_python_uml":{"post":{"summary":"Get Python Uml","operationId":"get_python_uml_get_python_uml_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_get_python_uml_get_python_uml_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_get_python_uml_get_python_uml_post":{"title":"Body_get_python_uml_get_python_uml_post","required":["pythoncode"],"type":"object","properties":{"pythoncode":{"title":"Pythoncode","type":"string"},"builtin":{"title":"Builtin","type":"boolean","default":false},"ancestor":{"title":"Ancestor","type":"boolean","default":false},"associated":{"title":"Associated","type":"boolean","default":false}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"type":"string"}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}}}}}
Content type
Image
Digest
Size
124.9 MB
Last updated
over 5 years ago
docker pull quisl/py_uml_api