libsmbclient binding for Python
C Python Makefile
Latest commit 18e0762 May 22, 2017 @hamano fix tests for python3
Permalink
Failed to load latest commit information.
smbc Fix hanging TCP connections, dealloc error Mar 15, 2017
tests fix tests for python3 May 22, 2017
.gitignore tagged 1.0.9_rc5 Jun 15, 2010
.travis.yml update for travis ci Jul 21, 2015
COPYING Initial commit. Mar 17, 2008
MANIFEST.in fix MANIFEST.in Jul 18, 2014
Makefile Small fixes for Python3. Nov 21, 2012
NEWS bumpup version Sep 25, 2015
README.md update travis badge Sep 25, 2015
TODO Initial commit. Mar 17, 2008
setup.py bumpup version Nov 22, 2016

README.md

SMB bindings for Python

PyPI Build Status GitHub license

These Python bindings are intended to wrap the libsmbclient API.

Currently libsmbclient 3.2.x or later is required.

To build, simply use

# make

Test

To run Python tests in tests/ you need python-nose See nose documentation http://readthedocs.org/docs/nose

To run all the tests execute

# nosetests

To run just one test, use

# nosetests file.py

To selectively run test methods, printing output to console

# nosetests -vs  test_context.py:test_Workgroup

NOTE: to run your tests, you need

  • a running samba server
  • one shared folder with
    • rw permissions
    • guest ok = no