Skip to main content

serp-pathlib

Path helpers written in the Serpentine subset. The string operations are pure ([P]) and accept both / and \ separators plus Windows drive prefixes; joins are emitted with /. Filesystem queries delegate to serp-os runtime primitives.

API

  • join(a, b), parent(p), name(p), suffix(p), stem(p), with_suffix(p, ".new"), parts(p), is_absolute(p) — pure string ops, CPython-pathlib-like semantics for the common cases.
  • exists / is_file / is_dir (p), mkdir / rmdir / remove (p), listdir(p) — re-exported serp-os syscalls (listdir sorted).

Install

serp add serp-pathlib
pip install serp-pathlib

Metadata

Release files for serp-pathlib 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 serp-pathlib 0.2.0
File Size Uploaded
serp_pathlib-0.2.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for serp-pathlib 0.2.0
File Interpreter ABI Platform
serp_pathlib-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / serp_pathlib-0.2.0.tar.gz

Download URL serp_pathlib-0.2.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7f18619fc2e08da8907b6adce6dd8f2e90225a89794e9a01f2b82abdd86694f8
BLAKE2b-256 checksum
How to use checksums
ba42d6227ba2df40a10bde7c3402071676750a21223e98be488a1600215b0a3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / serp_pathlib-0.2.0-py3-none-any.whl

Download URL serp_pathlib-0.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0285ca8b92553b340f90ace0075d34235cae407db6cc6075731e8853f616705d
BLAKE2b-256 checksum
How to use checksums
3001859b1c4fe8c890069c1a67e5a3531e15ca4634526cdb3c69228538a8ca61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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