$npx skillfedfor your agent

smbprotocol

Interact with a server using the SMB 2/3 Protocol

Worth itPyPI NetworkingReleased Jul 202612.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — smbprotocol-1.17.0-py3-none-any.whl
v1.17.0 · released 2026-07-07 · Python >=3.10 · 2 runtime deps: cryptography, pyspnego

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a genuine need for SMB protocol support in Python with both simple and advanced interfaces. Install it if you need to interact with Windows file shares or other SMB resources from Python; the main gotcha is the Python 3.10+ requirement and optional Kerberos setup on Linux.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Kerberos authentication on Linux requires additional system packages (libkrb5-dev) and python-gssapi; Windows Kerberos works out of the box via pyspnego.
  • Low install friction with a pure-Python wheel and only two runtime dependencies (cryptography and pyspnego).

License · maintenance · safety

MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

last release 2026-07-07 (38 days) · last repo commit 2026-07-07 · 401 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,507,553 downloads/mo, #1,315 on PyPI

Verify before relying

pip install smbprotocol

from smbprotocol.connection import Connection, Dialects
import uuid

connection = Connection(uuid.uuid4(), "server", 445)
connection.connect(Dialects.SMB_3_0_2)
  • Whether DFS (Distributed File System) support is production-ready or still experimental as described in the excerpt.
  • Performance characteristics and scalability limits for concurrent connections or large file transfers.
  • Whether all SMB 3.1.1 features are fully implemented or if there are known gaps beyond the backlog mentioned.
Same gist for agents: .md · .json

What it is and what it does

smbprotocol is a Python client library that implements the SMBv2 and SMBv3 network protocols, allowing your code to connect to and interact with Windows file shares, network printers, and other SMB-enabled resources. It negotiates protocol versions from SMB 2.0.2 up to SMB 3.1.1 (Windows 10/Server 2016 level) and handles authentication via NTLM or Kerberos, message signing, and encryption for SMBv3 connections.

The library offers two interfaces: a low-level protocol API for fine-grained control and a higher-level interface that mirrors Python's built-in os and os.path functions for simpler file operations. Connections are pooled and DFS referrals are cached, making it suitable for everyday file-sharing tasks without verbose boilerplate.

Use it for

  • Access and manage files on Windows network shares from Linux or macOS without mounting SMB volumes.
  • Automate backup or synchronization of files from remote SMB servers in Python scripts.
  • Build cross-platform file management tools that work with network-shared files using the higher-level interface.
  • Authenticate to corporate SMB servers using Kerberos in domain environments.
  • Read or write files on network printers and other SMB-enabled devices programmatically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a genuine need for SMB protocol support in Python with both simple and advanced interfaces. Install it if you need to interact with Windows file shares or other SMB resources from Python; the main gotcha is the Python 3.10+ requirement and optional Kerberos setup on Linux.

Install

smbprotocol on PyPI

Before you install

Low install friction with a pure-Python wheel and only two runtime dependencies (cryptography and pyspnego). Actively maintained with last commit 2026-07-07. Kerberos support on Linux requires optional system libraries, but basic NTLM authentication works without them.

Requires Python 3.10 or later. Kerberos authentication on Linux requires additional system packages (libkrb5-dev) and python-gssapi; Windows Kerberos works out of the box via pyspnego.

License in practice

MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install smbprotocol

from smbprotocol.connection import Connection, Dialects
import uuid

connection = Connection(uuid.uuid4(), "server", 445)
connection.connect(Dialects.SMB_3_0_2)

Verify before relying

  • Whether DFS (Distributed File System) support is production-ready or still experimental as described in the excerpt.
  • Performance characteristics and scalability limits for concurrent connections or large file transfers.
  • Whether all SMB 3.1.1 features are fully implemented or if there are known gaps beyond the backlog mentioned.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
cryptographypyspnego
MaintenanceActively maintained 38 days since the last release
Last repo commit
First released
Downloads12,507,553 / month, #1,315 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: smbprotocol-1.17.0-py3-none-any.whl

Tags

Capabilities
smb client pythonsmb2 smb3 protocolnetwork file sharingcifs share accesswindows file sharingntlm kerberos authremote file operations
Topics
smb-cifsnetwork-protocolsfile-sharing
PyPI keywords
smbsmb2smb3cifspython

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “smb2 smb3 protocol”

  • smbprotocolSMBv2 and SMBv3 client library for Python that enables reading,…
  • langchain-protocolProvides Python type definitions (TypedDict, Literal) for the…
  • smpSerializes and deserializes the Simple Management Protocol (SMP),…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also pysmb · pyspnego · impacket · apache-airflow-providers-samba · pypsexec · requests-credssp · azure-storage-file-share · pypsrp · pywinrm · msldap