This release is a pre-release and may not be stable for production use.
baka_armor for baka framework or pyramid
------------------------------------------
Management assets and templates for baka framework and Pyramid using
`webassets <http://webassets.readthedocs.org>`_.
Basic usage
```````````
.. code:: yaml
package: {your_root_package_or_egg}
armor:
config: configs # config folder
assets: assets # assets folder
bundles: assets.yaml # filename assets config
url: static
debug: False
manifest: file
cache: False
auto_build: True
in assets.yaml
.. code::
css-vendor:
filters: scss,cssmin
depends: '**/*.scss'
output: {your_root_package_or_egg}:public/vendor.%(version)s.css
contents: styles/app.scss
js-vendor:
config:
UGLIFYJS_BIN: ./node_modules/.bin/uglifyjs
filters: uglifyjs
output: {your_root_package_or_egg}:public/vendor.%(version)s.js
contents:
- javascripts/pace.js
- javascripts/moment-with-locales.js
- javascripts/jquery.js
- javascripts/handlebars.js
- javascripts/handlers-jquery.js
- javascripts/cookies.js
- javascripts/lodash.js
- javascripts/materialize.js
setup to config
```````````````
in python code
.. code:: python
config.include('baka-armor')
in development.ini
.. code::
pyramid.includes =
pyramid_debugtoolbar
baka_armor
Usage in mako template
```````````````````````
.. code::
% for url in request.web_env['js-vendor'].urls():
<script src="${request.static_url(url)}" />
% endfor
.. code:: python
js = Bundle('js/main.js', filters='uglifyjs', output='bundle.js',
depends='js/**/*.js')
Metadata
Release files for baka-armor 0.1.dev1
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 |
|---|---|---|---|---|
| baka_armor-0.1.dev1.tar.gz | 10.6 kB | Without provenance | Details for baka_armor-0.1.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baka_armor-0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details for baka_armor-0.1.dev1-py3-none-any.whl |
Total release size: 27.3 kB
Release files / baka_armor-0.1.dev1.tar.gz
| Download URL | baka_armor-0.1.dev1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b6756022ad3d8e555aa5c9b24d14214644ab747a8e64c1aef8afb714fde81d6
|
|
BLAKE2b-256 checksum How to use checksums |
349fb02930cfb23a573a94cc2df672d93eb299cc644c6b858c6fe6d1e7fdb8f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / baka_armor-0.1.dev1-py3-none-any.whl
| Download URL | baka_armor-0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4d63feebe0e2be672a139b57a6a6ffb1414471356d0268c2d7c05c70f844ed0
|
|
BLAKE2b-256 checksum How to use checksums |
1a72a6fe121b83b5d57600098b9a171a775c828c61dde03b94893273f30025f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for baka-armor 0.1.dev1
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.