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 Distribution
winfspy-0.8.2.tar.gz
(58.2 kB
view hashes)
Built Distributions
winfspy-0.8.2-cp39-cp39-win32.whl
(86.5 kB
view hashes)
winfspy-0.8.2-cp38-cp38-win32.whl
(86.5 kB
view hashes)
Close
Hashes for winfspy-0.8.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9abbc5e61f7bf16133294a9027c5224b926e80fea8d321a8f1c88e2c42d9fe7 |
|
MD5 | 9a5790fbc34aebee7bb553068d3747de |
|
BLAKE2b-256 | 117a159971bbf84c6e61d982e63336952ceba785ed7ec85cd3024233d446c6fb |
Close
Hashes for winfspy-0.8.2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46cbd0d96bae5c4a69edd02da5336663d63c7553b98db5f890572d718c8be862 |
|
MD5 | 5b6de8199118ddddb9bc3945f66da58b |
|
BLAKE2b-256 | 30e20989d831ac97eedb710a0dd3cec8315492b0c3cf5f790f49d71f10e546d6 |
Close
Hashes for winfspy-0.8.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b98f0e996b03d52b17c17ed83e0b62e0b802d562ef4cd4fc25caea41e8ecb63 |
|
MD5 | 81a5eec02878958c684db432fc88637f |
|
BLAKE2b-256 | d7a1127dad6fd5211fca1369dbf071e0c7498c96f13300f5ed390f1c1a51797b |
Close
Hashes for winfspy-0.8.2-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44a570b524a9c304fa5b30dfa98344cfa5821da6600b02ce8662479078ef5a7 |
|
MD5 | 166085671e1b0d22ea96f1730140b310 |
|
BLAKE2b-256 | 50841a1c275341526181fd292c37ef9a43ddd34074e5f3b7cc3cd8a9bf58cc2f |
Close
Hashes for winfspy-0.8.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5440a246859191ecacee092c322dd54e05b6efab09a447b9718005cee66a8298 |
|
MD5 | 19e25f711f37bfd90809aa465f562df5 |
|
BLAKE2b-256 | a8689fc98b2861d931413c807ae9c58715f2b6eee44e7918980591543bba3cb2 |
Close
Hashes for winfspy-0.8.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b89495dbdc421d1f99ffb4f82b09a6ca23cad19039ecf95e7766bbb4accdf3f |
|
MD5 | 1f0a024e277655e3a14210601ecf01f5 |
|
BLAKE2b-256 | dc7162c3450f2a7a57c57f57cf3cbb73b7ab2a3bca08a5d36ed6951100cc580a |
Close
Hashes for winfspy-0.8.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d23bd46e3e96a2954136f2769d884ae9e90f0975584af21a7b94d65e52aa4b |
|
MD5 | 27bac097c9e8cf44b5700e6c6c8cc284 |
|
BLAKE2b-256 | ab47960ab9cb2f9f86c0f9bc5975fc6ae81c6eafa9e37ced77913557ba263e1b |
Close
Hashes for winfspy-0.8.2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234d7c235f49e952970c58b6600e4c0487f37b731b4cd0912fe5316ef7937858 |
|
MD5 | c5863cc891433333a413e155185f8644 |
|
BLAKE2b-256 | 7144e1fb108d8f0758a229ba8d64efb1252057b192e7cc9c5997f0cb9ebde25e |