Skip to main content

chp-adapter-filesystem

Governed file operations as CHP capabilities — read, write, list, and search, scoped to an allowlist of roots, with every call admission-gated and recorded as signed, replayable evidence.

pip install chp-adapter-filesystem

Compose it onto any CHP host, or onto chp-server:

from chp_server import CapabilityServer
from chp_adapter_filesystem import FilesystemAdapter, FilesystemConfig

app = CapabilityServer("my-host")
app.compose(FilesystemAdapter(FilesystemConfig(
    allowed_roots=["./data"])))          # nothing outside these roots is reachable
app.run(port=8800)

Capabilities

  • chp.adapters.filesystem.read_file, write_file, list_directory, glob_files, grep, extract — each denied outside allowed_roots, each replayable at /replay/{correlation}.

A path outside the allowlist is denied by the pipeline before the handler runs — the same governance your own capabilities get, applied to the filesystem.


Part of the Capability Host Protocol — one governed implementation of a capability, consumed everywhere. Apache-2.0.

Metadata

Release files for chp-adapter-filesystem 0.53.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 chp-adapter-filesystem 0.53.0
File Size Uploaded
chp_adapter_filesystem-0.53.0.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chp-adapter-filesystem 0.53.0
File Interpreter ABI Platform
chp_adapter_filesystem-0.53.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / chp_adapter_filesystem-0.53.0.tar.gz

Download URL chp_adapter_filesystem-0.53.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
be9368c110f4694f6b5fd07010e0286ebd64bc2d7d730bf85dcd1741e97e9f07
BLAKE2b-256 checksum
How to use checksums
21336fe1241bd8142f97ec76a5e2d473898a8289f5cdcfec62bdcdc8761e4f30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / chp_adapter_filesystem-0.53.0-py3-none-any.whl

Download URL chp_adapter_filesystem-0.53.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76bfe05542efbd4821786b3f2235124395f1d17fc001fce73ba84036dbb225ce
BLAKE2b-256 checksum
How to use checksums
2e5e2f569d089c38196a4cd6dd66f44f82c0da39a8f58f3df28e2d6a6aefdf66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.53.0 This release

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.23.0

1 release file

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

1 release file

0.8.1

1 release file

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