Skip to main content

edwarp

edwarp is the non-CLI reusable core extracted from edwh-bundler-plugin.

What it contains

  • JS/CSS content extraction and bundling helpers
  • TypeScript transpilation and dependency inlining
  • SCSS/SASS conversion and variable injection
  • Config loading from bundle.yaml, bundle.toml, or pyproject.toml (tool.edwarp.bundle)

Basic usage

from edwarp import bundle_js, bundle_css

js = bundle_js(["https://unpkg.com/htmx.org@1.9.2/dist/htmx.min.js"], minify=True)
css = bundle_css(["./styles.scss"], minify=True, scss_variables={"primary": "#000"})
from edwarp import build

# builds using bundle.yaml/bundle.toml/pyproject config in cwd
build(config="bundle.yaml", verbose=True)

Download files

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

Source Distribution

edwarp-0.2.0.tar.gz (70.8 kB view details)

Uploaded Source

Built Distribution

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

edwarp-0.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file edwarp-0.2.0.tar.gz.

File metadata

  • Download URL: edwarp-0.2.0.tar.gz
  • Upload date:
  • Size: 70.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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 edwarp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fcad1099c64768c1ef2c02a3900e8ac090ed8b0affc98ed83e6f340e438a66aa
MD5 17f79d8dc0f6cd3b22d298403827e9cd
BLAKE2b-256 d7f37a24aa4383e43b7d7995b711836c3d5f548849eda986d80b7dc75ebcb0c6

See more details on using hashes here.

File details

Details for the file edwarp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: edwarp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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 edwarp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 884c0ef4651a201063c28c39edd7432675d78c3ef46e0afe62667e0e190a1d94
MD5 525d4e5a76b70338832fcd1c0fcb0e87
BLAKE2b-256 579671cc441d9006edf40f3fcea5310e8b3ebe3a66accf9402661ba9f0c3d93d

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 Sentry Error logging StatusPage Status page