Skip to main content

Downloads Coverage Provider Tests Issues MIT License Stargazers


Meteostat Logo

Meteostat Python Package

Access and analyze historical weather and climate data with Python.

Explore the docs »

Visit Website · Report Bug · Request Feature

📚 Installation

The Meteostat Python package is available through PyPI:

pip install meteostat

🚀 Usage

Let's plot 2018 temperature data for Frankfurt, Germany:

from datetime import date
import matplotlib.pyplot as plt
import meteostat as ms

# Specify location and time range
POINT = ms.Point(50.1155, 8.6842, 113)  # Try with your location
START = date(2018, 1, 1)
END = date(2018, 12, 31)

# Get nearby weather stations
stations = ms.stations.nearby(POINT, limit=4)

# Get daily data & perform interpolation
ts = ms.daily(stations, START, END)
df = ms.interpolate(ts, POINT).fetch()

# Plot line chart including average, minimum and maximum temperature
df.plot(y=[ms.Parameter.TEMP, ms.Parameter.TMIN, ms.Parameter.TMAX])
plt.show()

Take a look at the expected output:

2018 temperature data for Frankfurt, Germany

🤝 Contributing

Please read our contributing guidelines for details on how to contribute to the Meteostat Python library.

Meteostat has been featured and used by various media outlets and organizations, including:

Join the growing community of users and researchers relying on Meteostat for their weather data needs.

📄 License

Meteostat is licensed under the MIT License. Data provided by Meteostat is generally licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. Please refer to the documentation for more information.

Release files for meteostat 2.1.5

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

Source distribution (sdist)

Source distribution for meteostat 2.1.5
File Size Uploaded
meteostat-2.1.5.tar.gz 59.0 kB Details

Built distribution (wheel)

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

Total release size: 153.3 kB

Release files / meteostat-2.1.5.tar.gz

Download URL meteostat-2.1.5.tar.gz
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9a245313feb5e7b74f5be78cb9a2d2d6f700effc164c22732fc31da9782ad5fe
BLAKE2b-256 checksum
How to use checksums
1a1bf4e08a131b535e7f2a5bcfcc2fe9b5774d9670cbfccbc4c290ccf92223f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / meteostat-2.1.5-py3-none-any.whl

Download URL meteostat-2.1.5-py3-none-any.whl
Size 94.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9234959c3e9bc8f426231754198adddb1a8b7a1b9ecbabbcedbe889e7d8f93b
BLAKE2b-256 checksum
How to use checksums
4725695f01318f9fb2d4903ff9f681b9fe57cb4104d9a34dccb0f30866e3a499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2.1.5 This release

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.7.6

2 release files

1.7.5

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.10

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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