addresskr은 도로명주소를 juso.go.kr API를 이용해서 파싱해서 부분별로 사용할 수 있는 라이브러리다.
다음과 같이 설치할 수 있다.
pip install addresskr
juso.go.kr API를 이용하기 때문에 API key를 발급 받아야 한다. 다음 주소에서 발급 받을 수 있다. https://business.juso.go.kr/addrlink/openApi/apiReqst.do
발급 받은 키는 https://github.com/theskumar/python-dotenv를 통해서 지정할 수도 있고, 수동으로 지정할 수도 있다.
.env 파일 사용하기
JUSO_GO_KR_API_KEY=xxxx
직접 지정하기
from addresskr.jusogokr import settings
settings.JUSO_GO_KR_API_KEY = 'xxxx'
API key를 설정하고 나면 다음과 같이 사용할 수 있다.
from addresskr import 도로명주소
address = 도로명주소.parse('경기도 성남시 분당구 판교역로192번길 14-2, 912-비54호 (삼평동, 골드타워)')
print(address.시군구명, address.읍면동명, address.우편번호, address.법정동코드)
도로명주소 클래스는 juso.go.kr API의 응답 필드를 한국어로 번역한 필드들에 법정동코드, 상세주소 등의 필드가 추가로 들어가 있다.
Metadata
Release files for addresskr 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| addresskr-0.1.10.tar.gz | 2.0 MB | Without provenance | Details for addresskr-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| addresskr-0.1.10-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for addresskr-0.1.10-py2.py3-none-any.whl |
Total release size: 3.9 MB
Release files / addresskr-0.1.10.tar.gz
| Download URL | addresskr-0.1.10.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
024bf47cede459e8ada1ed6d2f3f546497300360eb297828732d6e7a2727d455
|
|
BLAKE2b-256 checksum How to use checksums |
079dd1db0199ba88ca9d7f95b1d37783076ce12b80fac6e966e61ea9b8de3f97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / addresskr-0.1.10-py2.py3-none-any.whl
| Download URL | addresskr-0.1.10-py2.py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
67e32466ccdc4893bfecf680d4922a09dfb461f42b6d7c2cf3ccbf94629362ae
|
|
BLAKE2b-256 checksum How to use checksums |
58f3feee7fdcd9309a46301b0e683ef892f28ede665af745b296a493b67f8c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for addresskr 0.1.10
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.