Skip to main content

SMB/CIFS filesystem adapter for the Model Context Standard.

Project description

mcs-adapter-smb

SMB/CIFS filesystem adapter for the Model Context Standard (MCS).

Provides the same adapter interface as mcs-adapter-localfs but operates on remote SMB/CIFS network shares. Uses smbprotocol (SMB 2/3) internally.

Drop-in replacement for mcs-adapter-localfs in any MCS driver that delegates file I/O to an adapter.

Installation

pip install mcs-adapter-smb

Quick start

from mcs.adapter.smb import SmbAdapter

adapter = SmbAdapter(
    server="fileserver",
    share="data",
    username="user",
    password="secret",
)
content = adapter.read_text("reports/q1.csv")

Links

License

Apache-2.0

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

mcs_adapter_smb-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcs_adapter_smb-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file mcs_adapter_smb-0.1.0.tar.gz.

File metadata

  • Download URL: mcs_adapter_smb-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for mcs_adapter_smb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fafb2a85c033d693bac45eb2a81fe784da48a59950c6d7ded61c9937b92e452
MD5 3debe46b5c9b0684768ef43457786027
BLAKE2b-256 2b6c52661d7c1b361c5e0b493ce7f407361cbdcdcbfd405b9769074d1060c922

See more details on using hashes here.

File details

Details for the file mcs_adapter_smb-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcs_adapter_smb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6234008724f716f2c19baf32ee5f979ec59f646013222d40ca8022b5d7eafb
MD5 0f2141779fbd522c53244cb5a0f37fc6
BLAKE2b-256 46fa084973653091bf3492bff9e5b5da7acae68cb26b211ceb4e7a8c36d9fdd9

See more details on using hashes here.

Supported by

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