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.1.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.1.0
File Size Uploaded Provenance Actions
jinja2_ospath-0.1.0.tar.gz 2.0 kB Without provenance Details for jinja2_ospath-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.7 kB

Release files / jinja2_ospath-0.1.0.tar.gz

Download URL jinja2_ospath-0.1.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93e58b21a7abfa56a4d1d97f85f715d02bfed5f31426c2b55027227435180e17
BLAKE2b-256 checksum
How to use checksums
45b0c77f80d4ad39eaef82889820fb902678960f9cd46180bff0cbc6e0394b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

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

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