jsfiddle helper
Project description
Installation
$ [sudo] pip install jsfiddle
Functions
function | __doc__ |
---|---|
jsfiddle.github_tree() |
return github_tree string. git remote required |
jsfiddle.url() |
return https://jsfiddle.net/gh/get/library/pure/{github_tree}/ string |
jsfiddle.details.load() |
return a dictorinary with demo.details data |
jsfiddle.details.save(data) |
save a dictionary to a demo.details file |
Executable modules
usage | __doc__ |
---|---|
python -m jsfiddle.details.description path [value] |
get/set demo.details description |
python -m jsfiddle.details.name path [value] |
get/set demo.details name |
python -m jsfiddle.details.resources path [url ...] |
get/set demo.details resources |
Examples
set demo.details
resources
urls
$ find . -name "demo.details" -exec python -m jsfiddle.details.resources {} https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css https://code.jquery.com/jquery-3.3.1.slim.min.js \;
optimized (xargs -d '\n'
Linux, xargs -0
macOS):
find . -name "demo.details" -print0 | xargs -0 grep -Z -L 'https://' | xargs -0 -L1 -I{} python -m jsfiddle.details.resources {} https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css https://code.jquery.com/jquery-3.3.1.slim.min.js \;
Related projects
jsfiddle.py
- jsfiddle helperjsfiddle-build.py
- build html file from jsfiddle filesjsfiddle-generator.py
- jsfiddle files generatorjsfiddle-readme.py
- generate jsfiddleREADME.md
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsfiddle-2019.4.8.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for jsfiddle-2019.4.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8b42266b3109602183e0be78b644b54a156b2f17727cfab7b27e00d75e8bfb |
|
MD5 | ea9f64d606137420824af09cd5e15f6f |
|
BLAKE2b-256 | 12b29e5601f0d4b4ee88dc6ad1f64d35b3e4ff12a79737b86c21d9d78c99425f |