seoul-py
Python API client library for Seoul Open Data Plaza (서울 열린데이터 광장).
Examples
Realtime subway position
>>> from seoul import Client
>>> seoul = Client()
>>> trains = seoul.get_subway_realtime_position('6호선')
>>> for train in trains:
... print(f"{train.subway_name} {train.number}번 열차 @ {train.station_name}")
...
6호선 6265번 열차 @ 화랑대(서울여대입구)
6호선 6271번 열차 @ 이태원
6호선 6277번 열차 @ 불광
Realtime city air quality
>>> from seoul import Client
>>> seoul = Client()
>>> measurements = seoul.get_air_realtime_city()
>>> for m in measurements:
... print(f"AQI @ {m.region_name} {m.station_name}: {m.index_value}")
...
... AQI @ 도심권 중구: 55.0
... AQI @ 도심권 종로구: 55.0
... AQI @ 도심권 용산구: 53.0
... AQI @ 서북권 은평구: 51.0
... AQI @ 서북권 서대문구: 43.0
Supported APIs
Metadata
Release files for seoul 0.2.0
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 |
|---|---|---|---|---|
| seoul-0.2.0.tar.gz | 9.6 kB | Without provenance | Details for seoul-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seoul-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for seoul-0.2.0-py3-none-any.whl |
Total release size: 20.6 kB
Release files / seoul-0.2.0.tar.gz
| Download URL | seoul-0.2.0.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
739a5a9374a23d96dcdc0390ae3036eacac90ac9a3b2c0de44bee04b8e492df8
|
|
BLAKE2b-256 checksum How to use checksums |
02aa7d9d4dd5a53aec3ecb95aa7179e067e47ddc3d5e0c888ea47e26f5c3870e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.7.3
|
Release files / seoul-0.2.0-py3-none-any.whl
| Download URL | seoul-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3267db022c17c057b400d52451c61211f205b25073bf7603661a4370e44fae3
|
|
BLAKE2b-256 checksum How to use checksums |
56c8aaa51651f50dc181c954f87bcf01b0f4e20b4681184ecb859f616f342eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.7.3
|
Security for seoul 0.2.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.