본문 바로가기

프로그래밍 (이동 완료)/Python

(18)
파이썬 로그 파이썬 logging 기초 https://seoyeonhwng.medium.com/%ED%8C%8C%EC%9D%B4%EC%8D%AC-logging-4c887f942d9f 파이썬 logging 혼자 개발할때와 회사에서 개발할때의 가장 큰 차이점 중 하나가 바로 로깅이 아닐까 싶다. 혼자 개발할때는 여기저기 print를 남발했다면 회사에서는 logging을 통해 조금 더 체계적으로 로그를 seoyeonhwng.medium.com 파이썬 logging 해부 https://velog.io/@qlgks1/python-python-logging-%ED%95%B4%EB%B6%80 python - python logging 해부!, logger, handler, filter, formatter 그리고 design py..
파이썬 디자인 패턴 https://m.blog.naver.com/dawkinsia/221763490051
Pytest 참고 자료 Pytest tutorial 한글 정리 링크 https://jangseongwoo.github.io/test/pytest_basic/ Pytest 참고 할 만한 Github https://github.com/kevgathuku/pytest-intro Unittest 참고 할 만한 Github https://github.com/gwtw/py-sorting GitHub - gwtw/py-sorting: A collection of sorting algorithms written in Python. A collection of sorting algorithms written in Python. - GitHub - gwtw/py-sorting: A collection of sorting algorithms wr..
Python Application Layouts, Structuring https://realpython.com/python-application-layouts/ Python Application Layouts: A Reference – Real Python A reference guide to common Python application layouts and project structures for command-line applications, web applications, and more. realpython.com CLI App 구성 https://realpython.com/python-typer-cli/#step-1-set-up-the-to-do-project
주피터노트북 마크다운 정리 https://leedakyeong.tistory.com/m/entry/Markdown-Jupyter-Notebook-%EC%A3%BC%ED%94%BC%ED%84%B0-%EB%85%B8%ED%8A%B8%EB%B6%81-%EB%A7%88%ED%81%AC%EB%8B%A4%EC%9A%B4-%EC%A0%95%EB%A6%AC
cpython, cython, ctype Python C-API 를 통해서 CPython 으로 작성된 Pydll 을 사용 (Python C-API 버전에 따라 호환 여부가 달라져서 ctypes 혹은 cffi 사용을 권장) CPython 으로 정의된 변수 타입 외에 C언어의 매개변수로 바로 사용 할 수 있는 타입을 Ctypes 라이브러리를 통해 제공 C 로 미리 작성해둔 dll, so 를 python 에서 함수로 load 해서 사용 할 수 있게 해줌 CPython C/C++ 언어로 구현된 Python Interpreter (CPython 을 활용하여 라인 단위로 Code 를 Interpreting) CPython 으로 패키지 작성 가능 (ex:Numpy) Python 의 GIL 은 CPython 의 GC 때문에 존재 Python C-API 를 통..
파이썬 패키지 배포 https://blessingdev.wordpress.com/2019/05/31/pypi%EB%A1%9C-%ED%8C%A8%ED%82%A4%EC%A7%80-%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0%EB%82%B4%EA%B0%80-%EB%A7%8C%EB%93%A0-%EB%AA%A8%EB%93%88%EB%8F%84-pip%EB%A1%9C-%EB%8B%A4%EC%9A%B4%EB%B0%9B%EC%9D%84/ PyPI로 패키지 배포하기:내가 만든 모듈도 pip로 다운받을 수 있다! pypi에 내 프로젝트를 올리는 법 blessingdev.wordpress.com https://setuptools.pypa.io/en/latest/userguide/quickstart.html Quicksta..
파이썬 build CLI Tool with poetry https://dteslya.engineer/blog/2022/07/14/how-to-run-a-python-cli-tool-inside-a-docker-container/#running-the-app-inside-a-container https://bmaingret.github.io/blog/2021-11-15-Docker-and-Poetry Python and Poetry on Docker Build a multi-stage Docker image from official Python images with support for Poetry projects. Source code on Github bmaingret.github.io