https://bhavaniravi.com/blog/generate-uml-diagrams-from-python-code/
How to Generate UML Diagrams from Python Source Code?
Trust me code moves faster than the digrams that you created for the documentation. How about a Python tool that you can add to your CI/CD pipeline that generates UML diagram for each version of your code?
bhavaniravi.com
설치 : pip install pylint
방법 : pyreverse -o 확장자명 폴더혹은경로명
ex) pyreverse -o png ./src
비고 : __init__.py 없다는 에러 떴는데 , __init__으로 파이썬 패키지 인식을 하기 때문이다. .py있는 디렉토리마다 __init__.py 파일을 생성해두면 됨.(빈파일로 해도 ㄱㅊ)
'언어 정리 > python_lib,일급함수' 카테고리의 다른 글
pymysql ( + cursor , fetch, ) (0) | 2022.07.30 |
---|---|
jason_to_str 변환( json.dumps, json.loads ) (0) | 2022.07.25 |
pylint - 해당 lib로 코드점검 기능 사용 (0) | 2022.07.20 |
4_Asyncio,coroutine (0) | 2022.06.15 |
5_iter_gen_yield기반coroutine 함수기반정리 (0) | 2022.06.15 |
댓글