Skip to main content

# Jinja2 os.path Filters

A Jinja2 extension that introduces the filters basename and dirname.

## Examples

`Python my_path = "/some/absolute/path/with/file.txt" {{ my_path | basename }} `

Will fill in file.txt.

`Python my_path = "/some/absolute/path/with/file.txt" {{ my_path | dirname }} `

Will fill in /some/absolute/path/with.

## Copyright and Licensing

Metadata

Release files for jinja2-ospath 0.2.0

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

Source distribution (sdist)

Source distribution for jinja2-ospath 0.2.0
File Size Uploaded Provenance Actions
jinja2_ospath-0.2.0.tar.gz 2.0 kB Without provenance Details for jinja2_ospath-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jinja2-ospath 0.2.0
File Interpreter ABI Platform Actions
jinja2_ospath-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for jinja2_ospath-0.2.0-py2.py3-none-any.whl

Total release size: 5.7 kB

Release files / jinja2_ospath-0.2.0.tar.gz

Download URL jinja2_ospath-0.2.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e73c55af70357dd2f062535953afccc587e48674a9f31849674210565c14d1e
BLAKE2b-256 checksum
How to use checksums
21d5d34c38616da67c9889d1ca5043aa8d99282613dd8b91af0292b4ecb1d60a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / jinja2_ospath-0.2.0-py2.py3-none-any.whl

Download URL jinja2_ospath-0.2.0-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2b33e8ece36899ff35e3174743e53b3ae2d8c41e11a733f68ba1f88953a18036
BLAKE2b-256 checksum
How to use checksums
3e47525d77d8060292c47e9f7eea4e53b6dd56a8e2fd95f32119c89cb8596bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jinja2-ospath 0.2.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.

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