Skip to main content

urlpathlib

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urlpathlib-0.0.2.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file urlpathlib-0.0.2.tar.gz.

File metadata

  • Download URL: urlpathlib-0.0.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for urlpathlib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0ed2885db2c526461109525ac77ccb6a1276ad2f2f78794999928bf4d0b3baf6
MD5 86371e0eff617a07aaab9ae42191ac0c
BLAKE2b-256 50bcc91d780a8294c98789b639a22848c30821a810d95d247dfd2b82af93dcf4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page