Skip to main content

KNMI hourly data API

Project description

KNMI weather data API

This project is a simple API over the historical weather data information updated daily by KNMI.

Installation

Use the package manager pip to install.

pip install KNMIdata

Usage

from KNMIData import KNMI

# When download set to true it will remove and download files. 
knmi = KNMI(data_type='hourly', download=True)

# If hourly data files are already downloaded
knmi = KNMI()

# returns station data by station id
df = knmi[277]

# returns closest station data by postcode
df = knmi.find_df('1092AX')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

KNMIdata-1.0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

KNMIdata-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file KNMIdata-1.0.2.tar.gz.

File metadata

  • Download URL: KNMIdata-1.0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for KNMIdata-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5b70b123c354e1a18e525145a994cebaad35202cb35276e7a799a6a31fa223b0
MD5 95680323ac0201df3a74521d421b6990
BLAKE2b-256 ca66166f020a927a7a4f372ebf625ba0a43fd99190c61b2165461a0fbd4162f7

See more details on using hashes here.

File details

Details for the file KNMIdata-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: KNMIdata-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for KNMIdata-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45370711313de0e603eb8e6942d239052aca410bac0409349b075c9d980c8ddc
MD5 02bb06ae753888d7633a2587ab9378be
BLAKE2b-256 c7b40d3111a6416919d27efa6d2d3af7a1a5a22dac439c3b00e7a0ebc4327978

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page