PyNFS ===== PyNFS is another python binding libnfs using pybind11. Now is only tested on windows platform, the purpose is for animation publish system Build and running ===== ### Build Requirement * Visual Studio 2015 + * GCC * CMake ### Dependencies * Python 2.7 * pystring * pybind11 * libnfs ### Windows Please follow the next steps to build shared library on windows: ```cmd mkdir build cd build cmake -G "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX ../install .. cmake -build . -config Release -target install ``` ### Linux (experimental) Please follow the next steps to build shared library on windows: ```cmd mkdir build cd build cmake -G "Makefile" -DCMAKE_INSTALL_PREFIX ../install .. cmake -build . -config Release -target install ``` ### Example Here is some example to demo the library usage ```python from PyNFS import NFS, NFSSH nfs = NFS('nfs://127.0.0.1/data/tmp/') a = nfs.open('/test.txt', mode='w+') a.write('Test String') a.close() ```