Skip to main content

sitelen-layer-static

Python static-asset integration package for sitelen-layer-plugin.

This package is not a Python reimplementation of the plugin. It packages the built frontend assets so Python web apps can ship them from local static files instead of relying on npm at deploy time.

Bundled upstream artifact:

  • sitelen-layer-plugin 0.3.10

Included assets:

  • built JS bundles from dist/
  • sitelen-layer-plugin.css
  • sitelen-pona-font.css
  • bundled sitelen seli kiwen asuki font files and OFL notice

Install

pip install sitelen-layer-static

Recommended when:

  • your app is Django, Flask, FastAPI, or another Python web stack;
  • you want vendored local static assets instead of npm at runtime;
  • you still want upstream sitelen-layer-plugin behavior and built artifacts.

Basic usage

from sitelen_layer_static import asset_path, stylesheet_tags, script_tags

css = stylesheet_tags("/static/vendor/sitelen-layer")
js = script_tags("/static/vendor/sitelen-layer")

print(asset_path("dist/sitelen-layer-plugin.js"))

Copy assets into your static tree

from pathlib import Path

from sitelen_layer_static import copy_assets

copy_assets(Path("static/vendor/sitelen-layer"))

This writes:

  • dist/*
  • sitelen-pona-font.css
  • assets/fonts/*

HTML tags

from sitelen_layer_static import html_tags

print(html_tags("/static/vendor/sitelen-layer"))

Example output:

<link rel="stylesheet" href="/static/vendor/sitelen-layer/dist/sitelen-layer-plugin.css">
<link rel="stylesheet" href="/static/vendor/sitelen-layer/sitelen-pona-font.css">
<script type="module" src="/static/vendor/sitelen-layer/dist/sitelen-layer-plugin.js"></script>

Notes

  • This package does not install npm dependencies.
  • It does not expose the plugin API to Python code.
  • It is intended for Django, Flask, FastAPI, static site generators, or CI pipelines that want vendored assets.
  • Upstream frontend package version bundled here: 0.3.10

License

Package code is MIT.

Bundled font assets include sitelen seli kiwen asuki under SIL Open Font License 1.1. See:

  • assets/fonts/OFL-sitelen-seli-kiwen.txt

Metadata

Release files for sitelen-layer-static 0.1.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 sitelen-layer-static 0.1.1
File Size Uploaded
sitelen_layer_static-0.1.1.tar.gz 785.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sitelen-layer-static 0.1.1
File Interpreter ABI Platform
sitelen_layer_static-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / sitelen_layer_static-0.1.1.tar.gz

Download URL sitelen_layer_static-0.1.1.tar.gz
Size 785.9 kB
Tags Source
SHA-256 checksum
How to use checksums
27410a612c3884c5f29cb84b97d4855fde6ac57597948c2decc3b55d1af09ffd
BLAKE2b-256 checksum
How to use checksums
149cc69925d532881d8f5c63089e732bcdc3f4dfa177cba74ebda6592e461e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / sitelen_layer_static-0.1.1-py3-none-any.whl

Download URL sitelen_layer_static-0.1.1-py3-none-any.whl
Size 787.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f5292a83b1b2e35af03603b95fd015093376a9559b153a49d2cdeacb910c824
BLAKE2b-256 checksum
How to use checksums
db8cae322bfbbdf779c52628f4e419591223262596830ff0a5985d583ebc2274
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

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