🍕 velog-hits
velog-hits는 자신의 velog 게시글 조회수 통계를 종합해서 한 눈에 보기 쉽도록 HTML 파일로 만들어주는 프로젝트입니다.
📍 Demo Image
📍 시작하기
1) 파이썬 버전
- Python >= 3.8
2) 설치
-
조회수 종합 통계 데이터를 저장할 폴더 생성
$ mkdir velog-hits-data
-
생성한 폴더로 이동
$ cd velog-hits-data
-
pip 설치
$ pip install velog-hits
📍 사용방법
1) 도움말 명령어
$ velog-hits -h
usage: velog-hits [-h] -u USERNAME -at ACCESSTOKEN
Velog Hits
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Velog Username
-at ACCESSTOKEN, --accesstoken ACCESSTOKEN
Your Velog Access Token
2) Velog Hits 실행
⚠️ Access Token을 모르신다면 해당 기능을 사용하실 수 없습니다.
Velog Hits를 사용하기 위해서는 자신의 Velog Username(=ID) 와 Access Token이 필요합니다.
"조회수 통계"는 로그인 했을 때만 볼 수 있는 기능이기 때문에 Access Token이 필요합니다. Access Token을 통해 본인임을 인증할 수 있습니다.
$ velog-hits -u {username} -at {access_token}
'{username}'님의 조회수 데이터를 가져오고 있으니 잠시만 기다려주세요:)
'{username}'님의 조회수 데이터를 모두 가져왔습니다!!
HTML로 변환을 시작합니다...
Velog Hits Success!!
Velog Hits Result: {오늘날짜.html 파일 위치 경로}
3) 결과 확인
결과로 나온 {오늘날짜.html 파일 위치 경로} 부분을 복사한 후 웹 브라우저를 열고 주소창에 붙여넣기합니다.
조회수 종합 통계 데이터는 .../velog-hits-data/htmlhits/에 저장됩니다.
- 명령어를 실행시킨 위치에
htmlhits/폴더가 생성되고htmlhits/오늘날짜.html 파일이 생성됩니다. - 그렇기 때문에
시작하기-설치부분에서 데이터 저장 폴더를 생성하고 해당 폴더로 이동한 것입니다.
Metadata
Release files for velog-hits 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| velog_hits-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for velog_hits-1.0.0-py3-none-any.whl |
Release files / velog_hits-1.0.0-py3-none-any.whl
| Download URL | velog_hits-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6c8da7030127352beeaeb0bc42c60295568b5fed5da0a8516da4a5d1ad46ce7
|
|
BLAKE2b-256 checksum How to use checksums |
9f1d7125be7c84becbd7b7b4be1d4c2f85643abfc414dfa9475c3c48c5db1d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6
|
Security for velog-hits 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.