Skip to main content

Apicast


ci-tests Test suite code coverage license pypi-downloads python-versions status pypi-version

About

Apicast acquires bee flight forecast information published by Deutscher Wetterdienst (DWD).

Setup

CLI version:

pip install apicast

HTTP API:

pip install apicast[service]

Synopsis

Display list of states and sites:

apicast beeflight stations

Display list of location slugs:

apicast beeflight stations --slugs

Acquire information for given location slug brandenburg/potsdam:

apicast beeflight forecast --station=brandenburg/potsdam

Acquire information for given location slug brandenburg/potsdam, output as table in Markdown format:

apicast beeflight forecast --station=brandenburg/potsdam --format=table-markdown

Output as table in JSON machine readable format:

apicast beeflight forecast --station=brandenburg/potsdam --format=json-machine

HTTP API

Start HTTP API service:

apicast service

Start HTTP service with dynamic code reloading:

apicast service --reload

Then navigate to:

open http://localhost:24640/

Example

apicast beeflight forecast --station=brandenburg/potsdam
[
    {
        "Datum": "Mo 01.06.",
        "morgens": "stark",
        "mittags": "intensiv",
        "abends": "stark"
    },
    {
        "Datum": "Di 02.06.",
        "morgens": "stark",
        "mittags": "intensiv",
        "abends": "intensiv"
    },
    {
        "Datum": "Mi 03.06.",
        "morgens": "intensiv",
        "mittags": "intensiv",
        "abends": "intensiv"
    }
]

Tests

make test

Content attributions

The copyright of data, particular images and pictograms are held by their respective owners, unless otherwise noted.

Data

Logo picture

Metadata

Release files for apicast 0.9.1

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

Source distribution (sdist)

Source distribution for apicast 0.9.1
File Size Uploaded Provenance
apicast-0.9.1.tar.gz 25.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 48.4 kB

Release files / apicast-0.9.1.tar.gz

Download URL apicast-0.9.1.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a29cb096103d8e20801a0bf57da6cfeb9392fa6ab3cc2af62117748ca4e6dcc6
BLAKE2b-256 checksum
How to use checksums
009d1032450346d3aba6334f4e9db1da931ac29f09bfde93a5f4b352a4be0375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / apicast-0.9.1-py3-none-any.whl

Download URL apicast-0.9.1-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d55983d2a870afb8e2d58a2e51e84173038d971a51066badb231fc6fdfa1794f
BLAKE2b-256 checksum
How to use checksums
68051d9e0af276c9b64d50b3e58bd74b1aa80777e3776d21d80d04fb936dfad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for apicast 0.9.1

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.

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