Terminal weather dashboard for Korea and the world
Project description
weathercli
터미널에서 바로 확인하는 날씨 대시보드. neofetch 스타일로 왼쪽에 아트, 오른쪽에 날씨 정보를 나란히 보여줍니다.
데이터는 Open-Meteo(https://open-meteo.com) 무료 공개 API 사용, API 키 불필요.
설치
Python 3.9 이상 필요.
pip install .
# 또는 전역 설치
pipx install .
명령어
wt 현재 날씨 보기
wt set 설정 변경 (= weather set = wt setting)
wt --logo list 사용 가능한 로고 목록
wt --logo <이름> 해당 로고로 한 번만 날씨 보기 (저장 안됨)
wt --logopin <이름> 해당 로고를 기본 아트로 고정 + 날씨 표시
weather wt 와 동일
설정 메뉴 (wt set)
방향키 + 엔터로 조작. 섹션별로 구성됩니다.
데이터 · 단위
- 지역 설정 — 한국 17개 시·도 빠른 선택 또는 이름 검색 (해외 포함)
- 온도 단위 — 섭씨 / 화씨 / 둘 다
- 표시 항목 — 날씨 상태, 체감, 습도, 바람, 강수량, 일출몰, 자외선
- 언어 — 한국어 / English
화면 꾸미기
- 표시 이름 — 상단 헤더 텍스트 변경 (예: weather@cli → mypc@home)
- 아트 설정
- 기본 아트 사용
- 직접 아스키 아트 입력 (여러 줄, Esc→Enter 완료)
- 이미지 파일 사용 (PNG/JPG → 터미널 블록 자동 변환)
- 로고 목록에서 선택 (wt --logo list 의 이름들)
- 리스트에 추가 — 아스키 아트를 이름 붙여 등록 → wt --logo 이름 사용 가능
- 사용자 로고 삭제
데이터 보정
- 온도 보정 — API 온도와 실제 체감 간 차이를 오프셋으로 입력 (예: -1.5, 2) 모든 온도 값(현재/체감/최고/최저)에 일괄 적용됨
폴더 구조
weathercli/
cli.py 진입점, 명령어 분기
config.py 설정 저장/로드
display.py 화면 렌더링
settings.py 대화형 설정 메뉴
geocoding.py 지역 검색
weatherapi.py 날씨 API
weathercodes.py 날씨 코드 → 텍스트/색상
compass.py 풍향
art.py 아트 렌더링 (아스키/이미지/로고)
logos.py 로고 인덱스 + 파싱
textwidth.py 한글/영문 너비 계산
theme.py 색상 토큰
i18n.py 한국어/영어 문구
logos/ 내장 로고 파일 (arch.txt, kali.txt)
설정 파일: ~/.config/weathercli/config.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weatherkocli-1.0.0.tar.gz.
File metadata
- Download URL: weatherkocli-1.0.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37a1a008510c2a152c92d0b5c3db7e49ebe788e9ade4b0c6271c2c0867133916
|
|
| MD5 |
50fb8216704a5b5c90fb85dda51b26a1
|
|
| BLAKE2b-256 |
232599a15d8cc0816e0588e771cc268043fdcd1709006e2c630303b6a92bde14
|
Provenance
The following attestation bundles were made for weatherkocli-1.0.0.tar.gz:
Publisher:
workflow.yml on nebula-dream/weatherkocli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weatherkocli-1.0.0.tar.gz -
Subject digest:
37a1a008510c2a152c92d0b5c3db7e49ebe788e9ade4b0c6271c2c0867133916 - Sigstore transparency entry: 1816076249
- Sigstore integration time:
-
Permalink:
nebula-dream/weatherkocli@9cf1938b2b51183445a0c62834ac43a7d446dfca -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nebula-dream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@9cf1938b2b51183445a0c62834ac43a7d446dfca -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file weatherkocli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: weatherkocli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a1913778b3909afdcda5fb8b53fc15cbca7b727d5bf78287a8a988ad125fe0c
|
|
| MD5 |
6938175e24d818765f07023ddc7a7d39
|
|
| BLAKE2b-256 |
4179796a89d07b5d947d143bd75ddec831865025de3d9b37f6f090de1d691c20
|
Provenance
The following attestation bundles were made for weatherkocli-1.0.0-py3-none-any.whl:
Publisher:
workflow.yml on nebula-dream/weatherkocli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weatherkocli-1.0.0-py3-none-any.whl -
Subject digest:
6a1913778b3909afdcda5fb8b53fc15cbca7b727d5bf78287a8a988ad125fe0c - Sigstore transparency entry: 1816076378
- Sigstore integration time:
-
Permalink:
nebula-dream/weatherkocli@9cf1938b2b51183445a0c62834ac43a7d446dfca -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nebula-dream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@9cf1938b2b51183445a0c62834ac43a7d446dfca -
Trigger Event:
workflow_dispatch
-
Statement type: