Skip to main content

fjkit-charts

Server-rendered Plotly charts for fjkit. A plugin, one line to add, no front-end build.

uv add fjkit-charts
from fjkit import FjkitConfig
from fjkit_charts import ChartsPlugin

config = FjkitConfig(template_dir=APP_DIR / "templates", plugins=(ChartsPlugin(),))
{% from "charts/macros.html" import chart, chart_scripts %}
{% for item in charts %}{{ chart(item) }}{% endfor %}

{% block scripts %}{{ chart_scripts() }}{% endblock %}

Plotly's basic bundle ships inside this wheel and is served from the plugin's own static mount. Nothing is fetched at runtime, and a page loads the 1.1 MB only if it calls chart_scripts().

If the app builds figures with plotly.py, that library targets one plotly.js release. When its major or minor differs from the bundled one, the plugin emits a PluginWarning at startup. plotly.py is not a dependency of this package.

Chart chrome — axis text, grid lines, tick colour, the hover card — is resolved from the live theme tokens on every draw, so a theme toggle is a redraw.

License

MIT. See LICENSE.

Metadata

Release files for fjkit-charts 0.1.3

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

Source distribution (sdist)

Source distribution for fjkit-charts 0.1.3
File Size Uploaded Provenance Actions
fjkit_charts-0.1.3.tar.gz 393.4 kB Without provenance Details for fjkit_charts-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fjkit-charts 0.1.3
File Interpreter ABI Platform Actions
fjkit_charts-0.1.3-py3-none-any.whl Python 3 none any Details for fjkit_charts-0.1.3-py3-none-any.whl

Total release size: 783.4 kB

Release files / fjkit_charts-0.1.3.tar.gz

Download URL fjkit_charts-0.1.3.tar.gz
Size 393.4 kB
Tags Source
SHA-256 checksum
How to use checksums
20a72787b51408f42b8320b20a809b03253f52ad2e659afff0a2f58775286d89
BLAKE2b-256 checksum
How to use checksums
83ed5fcf302f4538aafb0694b67e8c7ebed34acac2b2e76af16fbd0c269614db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fjkit_charts-0.1.3-py3-none-any.whl

Download URL fjkit_charts-0.1.3-py3-none-any.whl
Size 389.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b1f64e7cec525071228a0be4644da8e4b3fd39e963c0228e5551b1e579f6195
BLAKE2b-256 checksum
How to use checksums
9d038faa693c5a13cf1cb08c3d807253582db471556052e5d4f59d604fb88182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fjkit-charts 0.1.3

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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