{"library":"pysmbclient","title":"PySMBClient","description":"PySMBClient is a convenient wrapper around smbclient for accessing SMB/CIFS shares. Version 0.1.5 is the latest release, but the library appears to be in maintenance mode with infrequent updates.","language":"python","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["pip install pysmbclient"],"cli":null},"imports":["from smbclient import PySMBClient","from smbclient import register","from smbclient import reset_connections"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from smbclient import PySMBClient, register\nimport os\n\nregister(username='user', password='pass')\nwith PySMBClient() as client:\n    with client.open('smb://server/share/file.txt', mode='r') as f:\n        print(f.read())","lang":"python","description":"Basic file read from an SMB share. Note: register() must be called before operations.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}