Skip to main content

Access weather and climate data from AEMet (Spanish Meteorological Agency) without an API key

Project description

Spanish version

aemetxfb

Python package to access AEMet data without an API key.

Documentation

You can find the documentation here: https://kikocorreoso.codeberg.page/aemetxfb/

To build the documentation locally, clone the repository and, from the repository root:

# Install Sphinx dependencies
uv run pip install -e ".[docs]"

# Build HTML documentation
./scripts/build_docs.sh

The documentation will be generated in docs/build/html/. Open index.html in your browser to view it.

Data notice

When using AEMET data, please note the following:

© AEMET. Use and reproduction of this information is authorized provided that AEMET is cited as the source.

Comments

First of all, it is worth mentioning that most of the library was generated using LLMs and the code has been reviewed by humans. Hundreds of tests have been written, and the API has been reviewed through real-world usage. None of this guarantees that the library is bug-free. If you find any issues, please report them here or, even better, submit your fix here.

The goal has been to make the functionality as straightforward and simple as possible, with the code acting as a facilitator. If you think something could be expressed better, feel free to discuss it.

The data itself has its quirks (obsolete municipality names, duplicate names, etc.).

The documentation is generated automatically and all examples have been reviewed and verified to work correctly. In some cases, an example may not work due to the nature of the data. You will need to update the example with valid dates. This is also explained in the documentation, which is meant to be read.

Contributing

To contribute, please read the guidelines here first.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aemetxfb-0.1.1-py3-none-any.whl (259.7 kB view details)

Uploaded Python 3

File details

Details for the file aemetxfb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aemetxfb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 259.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aemetxfb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e18ab0d0d13a30721c2b65d17bbefca224aa36e7bfa27781581150dcc8490c4
MD5 383e9186ddc62cef2da48bb09aea1e76
BLAKE2b-256 eada4aef07cabee6e07ac40dc6447cdf8d6b1696c26b28ef2c9b988e72babd04

See more details on using hashes here.

Supported by

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