CFFI bindings for WinFSP
Project description
Bindings for WinFSP version 1.4 and onward.
Winfspy consists of three important modules:
winfspy: expose the WinFSP API
winfspy.memfs: a memory file system based on winfspy
winfspy.tests.winfsp_tests: a test suite for black box testing
winfspy.tests.winfstest: a lighter test suite for black box testing
Requirements and installation
WinFSP version 1.4 or higher has to be installed separately.
Then install winfspy using pip:
$ pip install winfspy
WinFSP python API
Usage:
from winfspy import ( FileSystem, BaseFileSystemOperations, enable_debug_log, FILE_ATTRIBUTE, CREATE_FILE_CREATE_OPTIONS, NTStatusObjectNameNotFound, NTStatusDirectoryNotEmpty, NTStatusNotADirectory, NTStatusObjectNameCollision, NTStatusAccessDenied, NTStatusEndOfFile, )
Winfspy memory file system
Usage:
# Run the memory fs as X: drive in verbose mode $ python -m winfspy.memfs X: -v # More information $ python -m winfspy.memfs
Winfsp-tests test suite
This test suite integrates the external test suite of winfsp-tests.
Usage:
# Install winfspy with the test dependencies $ pip install winfspy[test] # Run the winfstest test suite on an existing X: drive $ python winfspy.tests.winfsp_tests --file-system-path X: # More information about pytest $ python winfspy.tests.winfsp_tests -h
Winfstest test suite
This test suite is taken from secfs.test.winfstest. It is basic yet useful to test common use cases.
Usage:
# Install winfspy with the test dependencies $ pip install winfspy[test] # Run the winfstest test suite on an existing X: drive $ python winfspy.tests.winfstest --file-system-path X: # More information about pytest $ python winfspy.tests.winfstest -h
License
Free software: BSD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
winfspy-0.8.1-cp38-cp38-win32.whl
(85.7 kB
view hashes)
Close
Hashes for winfspy-0.8.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 848e785540a6bcf9de92ed9ad114067d5d3afa54b7efa9f493d779002eb1fb1d |
|
MD5 | 1f697d4916897202c76484f9032188ea |
|
BLAKE2b-256 | ab359f3918f29ca85c663da29b7bdd54ced8601b2b28cd07d932e2232d666d37 |
Close
Hashes for winfspy-0.8.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1d4cff8a0b28f2e347ad907c1ea7ebbfa0689225677bbfa7775983da472291 |
|
MD5 | 656ecd5e27d8c22cf8d9ba21f79d9c74 |
|
BLAKE2b-256 | afa880b3cf4dc6c8c7d00c7d2248d7b0cfc04648e65dfacbe747859cf7d378a9 |
Close
Hashes for winfspy-0.8.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0538376dfb06fc3a0f22a29d0e30b1487ad7c56412fc9f8378faeec5d90db5ae |
|
MD5 | be6960f2ae5e17276f8203750ed19f9f |
|
BLAKE2b-256 | ed88b362f483094e335b59e3cb53f476d8e574d09e87f622312dabc71905b306 |
Close
Hashes for winfspy-0.8.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024eb68ed7e96b108f3eefcb537cfd530c058698b1638593e85c5b6c34e3769d |
|
MD5 | 447bd05dfd4b61139149a1b39b2c2518 |
|
BLAKE2b-256 | aab0b6182f2071f31d73022283cc7edbe8ae483eb6f36b118b568538d5d45ebc |
Close
Hashes for winfspy-0.8.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6904ccd7bc451d1770483082f65ed4cfa60939ae6f1531bb9c940155148d6e7 |
|
MD5 | cfb924c02a765cec5569098907c29ec7 |
|
BLAKE2b-256 | 5ed554ac6dcc67e26654290f05d76bb532dd39689117e4098a16911215bc8113 |
Close
Hashes for winfspy-0.8.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99413a6a5ea64212971e5de89b5e9be3a20b78b728c36f733d29d1989321aac1 |
|
MD5 | bcc6f52eb88e2efa5f9f78229e0fa3a9 |
|
BLAKE2b-256 | 3a9af317d3c39c6595572fcc22749499dc9a331f0fec215b17e7bd8e88c163bd |