Skip to main content
baka_i18n for baka framework or pyramid
------------------------------------------


Management locale 118n for baka framework and Pyramid


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-i18n 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baka-i18n 0.1.3
File Size Uploaded Provenance Actions
baka_i18n-0.1.3.tar.gz 3.4 kB Without provenance Details for baka_i18n-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for baka-i18n 0.1.3
File Interpreter ABI Platform Actions
baka_i18n-0.1.3-py3-none-any.whl Python 3 none any Details for baka_i18n-0.1.3-py3-none-any.whl

Total release size: 8.7 kB

Release files / baka_i18n-0.1.3.tar.gz

Download URL baka_i18n-0.1.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
029c9c6458abcbde3bcc68f80c0c29500978ef7623aca6cb13181c3111a94510
BLAKE2b-256 checksum
How to use checksums
f6ddbafc73185422dcfa3bd16b15b60093e0e4fabec8808f17b667be7307b151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / baka_i18n-0.1.3-py3-none-any.whl

Download URL baka_i18n-0.1.3-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc69c2c7eacf236ec008010ca86ef3835a2a4bf47a372722435fab1f5bcef2ac
BLAKE2b-256 checksum
How to use checksums
c34ce88f88b80650e7276196f10e22a6d5af611d0854878420e053d35e7930ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for baka-i18n 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page