Minipush by Rémi "Mr e-RL" LANGDORPH
Copyright (c) 2019 Rémi LANGDORPH - mrerl@warlegend.net (under MIT license)
Links:
pypi project
github repo
Install with pypi:
pip install minipush
This package supports the followings filetypes: css, js
Sample config:
{
"origin": {"folders":["css/", "js/core/", "js/plugins/", "js/"]},
"destination": {"folder": "../templates/", "exts": ["htm", "html"], "type": "embed", "basefolderlink": "/static/"},
"anchors": {"js": {"start": "<!--AutomatedJSExport-Start-->",
"end": "<!--AutomatedJSExport-End-->"},
"css": {"start": "<!--AutomatedCSSExport-Start-->",
"end": "<!--AutomatedCSSExport-End-->"},
"conf": {"start": "<!--AutomatedExport-Start->",
"end": "<-AutomatedExport-End-->"}
},
"format":{"embed":{"js": "<!--{filename}--><script>{content}</script>",
"css": "<!--{filename}--><style>{content}</style>"},
"link":{"js": "<script src='{path}'/>",
"css": "<link href='{path}' rel='stylesheet'/>"}
},
"cache": {"folder": "../static/",
"enabled": true}
}
Basic example script (github):
from minipush import Minipush
Minipush(file="config.json").run()
Command mode:
python -m minipush [arguments]
Arguments:
command argument description
-c --config {configfile} set the json config file to load
-j --json '{configjson}' set the config from json
-C --clear remove all the scripts from the templates
-h --help show help
-v --version show version
Metadata
Release files for minipush 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minipush-0.0.13.tar.gz | 12.9 kB | Without provenance | Details for minipush-0.0.13.tar.gz |
Release files / minipush-0.0.13.tar.gz
| Download URL | minipush-0.0.13.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f99f0e52a1bc0b10d0f1a843c27060924c8fc7ee2e36d1f6b29a858b309b1645
|
|
BLAKE2b-256 checksum How to use checksums |
998cc7f93fd62dfac56a58f9e363e0235ba96fa4bf3126fac87c157c5fa813bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for minipush 0.0.13
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.