숟가락 그만 얹어
내 개발 환경 세팅 본문
1. Jupyter Lab
- 데이터 EDA, visualization, prototyping, documentation 및 코드 공유는 Jupyter
- main은 .ipynb, module은 .py로 작성했을 때 가장 깔끔하다고 생각함
- 분산 처리가 필요한 경우에는 Jupyter를 사용할 수 없는 경우가 있음
- 요새 많은 extension을 지원하고는 있지만 web browser라 그런지 버벅거리는 경우가 있음
- VSCode에서 Jupyter를 사용하면 위 현상이 없을 수도?
2. VSCode
- 내 local PC에서 remote server의 Docker container로 연결함
- PEP8 coding convention을 위해 autoformatter로 Black 사용 중 (line_length=150)
- autodocstring으로 [2]를 사용 중, 개인적으로는 scikit-learn docstring이 좋은데 여기서는 지원하지 않음, 추후 자동 documentation을 생각한다면 sphinx를 써야하는데 스타일이 별로...
[1] Black - https://github.com/psf/black
[2] autoDocstring - https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
'Engineering > Environments' 카테고리의 다른 글
Docker Commands (0) | 2022.09.23 |
---|---|
AWS S3 Ubuntu에 mount (0) | 2021.07.12 |
Jupyter Lab 설정 (0) | 2021.01.11 |
VSCode SFTP 설정 (0) | 2021.01.11 |
Ubuntu folder background color 없애기 (1) | 2021.01.11 |