Skip to main content
# KMA
Korea weather information library for kma.go.kr under python3

### Dependencies
This library uses below libraries. Please refer requirements.txt for the details.
1. urllib3
2. certifi
3. pytz

### How to use this library

#### 1. Request to issue a service key
Please visit below url.
You should understand Korean language, I think.

https://www.data.go.kr/dataset/15000099/openapi.do

#### 2. Install
```python
pip install kma
```

#### 3. Sample code
```python
from kma import Weather

w = Weather('YOUR_SERVICE_KEY')
curr = w.get_current()
forecast = w.get_forecast()

print('Current temperature: {}'.format(curr.temperature))
```

#### Deprecated features

##### 1. Sky status
No longer supported by Korea Meteorological Administration.


Metadata

Release files for kma 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for kma 0.3.0
File Interpreter ABI Platform
kma-0.3.0-py3-none-any.whl Python 3 none any Details

Release files / kma-0.3.0-py3-none-any.whl

Download URL kma-0.3.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2b7fa0811e78550f4cc8ee271956e360a9093643c456e3c6acc8d3b8d69310d
BLAKE2b-256 checksum
How to use checksums
cce0102d93bab80a6ab2175a806f05c0ee7abf5e33d5aea74bed057467bbc7a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Security for kma 0.3.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page