Jinja2 os.path Filters
A Jinja2 extension that introduces the template filters basename and dirname.
Examples
my_path = "/some/absolute/path/with/file.txt"
{{ my_path | basename }}
Will fill in 'file.txt'.
my_path = "/some/absolute/path/with/file.txt"
{{ my_path | dirname }}
Will fill in '/some/absolute/path/with'.
Copyright and Licensing
Copyright 2017, Moritz Emanuel Beber
Free software: 3-Clause BSD License
Metadata
Release files for jinja2-ospath 0.3.0
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 |
|---|---|---|---|---|
| jinja2_ospath-0.3.0.tar.gz | 2.1 kB | Without provenance | Details for jinja2_ospath-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jinja2_ospath-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for jinja2_ospath-0.3.0-py2.py3-none-any.whl |
Total release size: 4.6 kB
Release files / jinja2_ospath-0.3.0.tar.gz
| Download URL | jinja2_ospath-0.3.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f224b992a08bb73bc965907279eb8d63ac308435ee15c7f89c9306ccfac224d
|
|
BLAKE2b-256 checksum How to use checksums |
f80043bc621b89fa1155debc25eb80e4c371e168b7c995e56167b35b21774e9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / jinja2_ospath-0.3.0-py2.py3-none-any.whl
| Download URL | jinja2_ospath-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
71eb1c8ffbbeaeeff5e01a2e07f39f8ebe6f8a6275ebab2ee70a6b9965838b6b
|
|
BLAKE2b-256 checksum How to use checksums |
6eebefcfeee9735596f9d410387c8dce782b1b100b3f39873fb9acf85f5c17c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jinja2-ospath 0.3.0
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.