Skip to main content

urlpathlib

This module offers classes representing paths with semantics appropriate for local and remote resources.

Install

Simply run the following command:

pip install urlpathlib

Features

Supported protocols:

protocol

scheme

support

local filesystem

file://

✓

HTTP

http://

✓

Supported IO operations:

method name

file://

http[s]://

chmod

✓

exists

✓

✓

expanduser

✓

glob

✓

group

✓

is_block_device

✓

is_char_device

✓

is_dir

✓

is_fifo

✓

is_file

✓

is_socket

✓

is_symlink

✓

iterdir

✓

✓

lchmod

✓

lstat

✓

mkdir

✓

open

✓

✓ ¹

read_bytes

✓

read_text

✓

rename

✓

replace

✓

resolve

✓

rglob

✓

rmdir

✓

samefile

✓

stat

✓

symlink_to

✓

touch

✓

unlink

✓

write_bytes

✓

write_text

✓

Notes:

¹: only binary read is supported at the moment.

Metadata

Release files for urlpathlib 0.0.2

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

Source distribution (sdist)

Source distribution for urlpathlib 0.0.2
File Size Uploaded Provenance Actions
urlpathlib-0.0.2.tar.gz 8.1 kB Without provenance Details for urlpathlib-0.0.2.tar.gz

Release files / urlpathlib-0.0.2.tar.gz

Download URL urlpathlib-0.0.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ed2885db2c526461109525ac77ccb6a1276ad2f2f78794999928bf4d0b3baf6
BLAKE2b-256 checksum
How to use checksums
50bcc91d780a8294c98789b639a22848c30821a810d95d247dfd2b82af93dcf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for urlpathlib 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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