Skip to main content

bokeh_sampledata

This package contains sample datasets for use with Bokeh examples.

Changes in 2026.1

The world_countries dataset has been removed, including its API and bundled country boundary data. Country borders encode choices about disputed territories that this sample-data package is not equipped to maintain. Applications that used bokeh_sampledata.world_countries must obtain boundary data from a provider whose boundary policy suits their needs.

Development and packaging

Use Pixi >=0.76.1 from the repository root. Commit pixi.toml and pixi.lock together when changing dependencies. Environments are locked for Linux x86-64, macOS Intel/Apple Silicon, and Windows x86-64.

pixi run --locked setup
pixi run --locked test
pixi run --locked check
pixi run --locked pre-commit run --all-files

The default environment uses Python 3.12 and includes geometry, checks, generation, and build tools. test-py310, test-py311, test-py312, test-py313, test-py314, and test-py315 provide explicit test environments. test-py310-minimum pins NumPy 1.26.4 and pandas 2.2.3 to verify the declared runtime floors on Python 3.10. For example:

pixi run --locked -e test-py310 test
pixi run --locked -e test-py310-minimum test
pixi run --locked -e build build-py

build-py creates a wheel and sdist in dist/ using the isolated build environment. It does not publish packages. Conda-forge distribution is handled downstream, with no conda packaging recipe maintained in this repository.

Boundary storage and regeneration instructions are in tools/README.md. User-facing API, compatibility, and provenance documentation lives in the public module/function docstrings, which are included in the main Bokeh documentation.

CI runs locked test environments on Linux, macOS, and Windows for Python 3.10–3.15, the minimum-dependency environment on Linux, plus repository checks and package builds on Linux. The package job runs the unit suite against an installed wheel in a separate environment. To reproduce that check after build-py, run pixi run --locked -e wheel-test test-wheel.

Python 3.10 remains the package minimum. NumPy is declared directly because the package uses its arrays. Runtime requirements are mirrored in the Pixi manifest, including Shapely as a standard runtime dependency.

pixi run --locked dependency-check checks that runtime requirements agree between the Python metadata and Pixi manifest. Ruff handles both linting and import sorting.

check also runs actionlint on GitHub Actions workflows. The same check runs from pre-commit when a workflow changes. Hooks check for merge conflict markers, case-conflicting filenames, broken symlinks, private keys, and large additions outside the dataset directory, alongside formatting. Install the hooks locally with pixi run --locked pre-commit install. Hooks use isolated pre-commit environments and also run on pre-commit.ci without Pixi. Hook revisions are pinned to commit hashes and local hook tools use exact versions. Update remote hooks with pre-commit autoupdate --freeze.

Type checking uses both Mypy (strict mode) and Pyright (standard mode), targeting Python 3.10 across src, tests, and tools. Run both with pixi run --locked typecheck, or individually with typecheck-mypy and typecheck-pyright. Both also run through check and the CI quality job, using the locked Pixi environment rather than pre-commit environments.

Releases

Pushing a version tag runs .github/workflows/release.yml. The workflow checks out the tagged commit, builds the sdist and a wheel from that sdist, checks that their versions match the tag, and tests the installed wheel. A separate job publishes those same distributions to PyPI using trusted publishing through the pypi GitHub environment. No PyPI API token is needed. Tags follow the existing year-based version format, for example 2026.0. Prerelease tags such as 2026.0a1, 2026.0b1, and 2026.0rc1 use the same workflow and publish prerelease versions to PyPI. Development and local versions are rejected. A GitHub Release is not required.

After the intended commit has passed CI, create and push its tag:

git tag 2026.0
git push origin 2026.0

The environment approval is the final step before uploading the tested artifacts.

License maintenance

The software license is in LICENSE.txt. Dataset notices and provenance are collected in licenses/. Update the file inventory when adding or replacing data, including original source evidence, attribution, applicable terms, and changes made to the source. Keep legal texts verbatim. Existing license declarations are accepted unless contrary evidence is found. Record explicit terms for new datasets before including them.

Metadata

Release files for bokeh-sampledata 2026.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 bokeh-sampledata 2026.1
File Size Uploaded Provenance Actions
bokeh_sampledata-2026.1.tar.gz 12.8 MB With provenance Details for bokeh_sampledata-2026.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bokeh-sampledata 2026.1
File Interpreter ABI Platform Actions
bokeh_sampledata-2026.1-py3-none-any.whl Python 3 none any Details for bokeh_sampledata-2026.1-py3-none-any.whl

Total release size: 25.6 MB

Release files / bokeh_sampledata-2026.1.tar.gz

Download URL bokeh_sampledata-2026.1.tar.gz
Size 12.8 MB
Tags Source
SHA-256 checksum
How to use checksums
fb45cbdc8e1562fe02d537248c2996ed98ede0ceaa95d51542b69a14732e825e
BLAKE2b-256 checksum
How to use checksums
b3a329902bde295c0a63e3ef470db013c8d56db017a0389cca86fb0cac50c69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / bokeh_sampledata-2026.1-py3-none-any.whl

Download URL bokeh_sampledata-2026.1-py3-none-any.whl
Size 12.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f40331a40ca30c64a1c1471835aad9006b61b0d9731a3f649ee8cbbf48d3822f
BLAKE2b-256 checksum
How to use checksums
4db0a22341e04feac3453fab9d128861989ccc2f70ea52edd25e0bf7510e420a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for bokeh-sampledata 2026.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bokeh_sampledata-2026.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2026.1 This release

2 release files Full provenance

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