build html file from jsfiddle files
Project description
Installation
$ [sudo] pip install jsfiddle-build
How it works
.
├── build.html generated
├── demo.html required
├── demo.css optional
├── demo.js optional
├── demo.details optional
.
├── build.html generated
├── fiddle.html required
├── fiddle.css optional
├── fiddle.js optional
├── fiddle.manifest optional
build.html
:
<html>
<head>
<title>{title}</title>
{resources}
<style type="text/css">
{css}
</style>
<script type="text/javascript">
window.onload=function(){
{js}
}
</script>
</head>
<body>
{html}
</body>
</html>
Classes
class | __doc__ |
---|---|
jsfiddle_build.Build |
methods: render() , save(path) |
Executable modules
usage | __doc__ |
---|---|
python -m jsfiddle_build path ... |
build build.html from jsfiddle files (demo.css , demo.details ,demo.js ,demo.html ) |
Examples
$ find . -name "*.html" ! -name "build.*" | xargs python -m jsfiddle_build
paths with spaces:
OS | speed | command |
---|---|---|
any | slow | find . -name "*.html" ! -name "build.*" -exec python -m jsfiddle_build {} \; |
Linux | fast | find . -name "*.html" ! -name "build.*" -print0 | xargs -d '\n' python -m jsfiddle_build |
macOS | fast | find . -name "*.html" ! -name "build.*" -print0 | xargs -0 python -m jsfiddle_build |
Related projects
jsfiddle-build.py
- buildbuild.html
file from jsfiddle filesjsfiddle-factory.py
- jsfiddles mass productionjsfiddle-generator.py
- jsfiddle files generatorjsfiddle-github.py
- jsfiddle github integration helperjsfiddle-readme-generator.py
- generate jsfiddleREADME.md
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jsfiddle_build-2019.4.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece9ae420d4bf13ccd4c9d8c3ac6da7eaac696863df289a22bb5de6d0b04d677 |
|
MD5 | ce9a3266ffe387c96378676d4d6f6f3c |
|
BLAKE2b-256 | 23d3c0ec18ae43a14faa024d36ed136f04fca86174398507d70a70af48291be6 |