Skip to main content

CFFI bindings for WinFSP

Project description

GitHub Actions Status https://codecov.io/gh/Scille/winfspy/branch/master/graph/badge.svg Pypi Status Code style: black

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


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.4.tar.gz (58.7 kB view details)

Uploaded Source

Built Distributions

winfspy-0.8.4-cp311-cp311-win_amd64.whl (95.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

winfspy-0.8.4-cp311-cp311-win32.whl (86.5 kB view details)

Uploaded CPython 3.11 Windows x86

winfspy-0.8.4-cp310-cp310-win_amd64.whl (95.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

winfspy-0.8.4-cp310-cp310-win32.whl (86.5 kB view details)

Uploaded CPython 3.10 Windows x86

winfspy-0.8.4-cp39-cp39-win_amd64.whl (95.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

winfspy-0.8.4-cp39-cp39-win32.whl (86.5 kB view details)

Uploaded CPython 3.9 Windows x86

winfspy-0.8.4-cp38-cp38-win_amd64.whl (95.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

winfspy-0.8.4-cp38-cp38-win32.whl (86.5 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.8.4-cp37-cp37m-win_amd64.whl (95.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.8.4-cp37-cp37m-win32.whl (86.5 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.8.4-cp36-cp36m-win_amd64.whl (96.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.8.4-cp36-cp36m-win32.whl (87.0 kB view details)

Uploaded CPython 3.6m Windows x86

File details

Details for the file winfspy-0.8.4.tar.gz.

File metadata

  • Download URL: winfspy-0.8.4.tar.gz
  • Upload date:
  • Size: 58.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4.tar.gz
Algorithm Hash digest
SHA256 7870d16d74023fe5f0de98018fbc417319b02a2a5624a80fab3156d4c361a7f2
MD5 4657c23191a24d127a1d7339a50fc4af
BLAKE2b-256 9502a8046c785442e232121ff526d50057e27158c1f1e09f8a29d51960cad393

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 518581972a2f07806702250cb47c25c0722b37ebd2402d5b06e07fecea253317
MD5 8d28a07d5badcb07cb0cde2e0cf8755e
BLAKE2b-256 e8de5005c7872c22feafb2372aca023f30669beade46a1fe396759b7cc5266e0

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp311-cp311-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp311-cp311-win32.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 ddacd50871dc104bd769a27d9491bafa8cd8a5998bdcbad39704361744b3a8bf
MD5 154757c1cd8ddf2ead48993a5dba9d65
BLAKE2b-256 d7971272a8f8a1ae1fc70ecc15b14c5dce0afb17db262fab347f224a78608819

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7acd765fc0c22e6b09bd7f4be3fc562651ec555dfffed13ec42d1db1333f0373
MD5 74d065dce3a64a95f3f6ef6b76eb9017
BLAKE2b-256 e97b22495ae83a119528ac93d804ccf0e55166a0e4a694c029d2d4096c6b776a

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp310-cp310-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp310-cp310-win32.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 6cd3905e1c1c768d229a9aba9ac6f5283bc5586cb0696ead45e8cdd608beba0e
MD5 13206ce8630e12be034cfe0a91be6caa
BLAKE2b-256 c4890e2ab30b1489688100afcc7b670ab55af6527fa7f4b09881d539bf69397f

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4fc6e7ed657e8d5218cb89e1a2867af2ce75553b33803368cb38b7f70ed377d1
MD5 aa35e716183165966812011a6d706751
BLAKE2b-256 64b5d5898e727bf2c2911c0310da37dc867d8ef9d1b3678ee58b5add4a8418cb

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp39-cp39-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp39-cp39-win32.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 4b4eb4a31fe983a137f498819dd9b7bcbf456adfc0bfde0196cef643ec95d0b3
MD5 06c9e70ff03e5c945095b485fb0ed9c0
BLAKE2b-256 097a1de77345674e167f63c64deffc83e0dba94f00ee28cbac1aaa4f0052b662

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6af41b0083810d6a5b87f1e9cdc8b6c6204f3c8d4406686129437870bfdade17
MD5 0d201b0fd80a4b3adecdcc9455f8e7de
BLAKE2b-256 688ade0bc0f7ef4c09379e84558896b55b9cd52156d17a02154b731a10a339b8

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp38-cp38-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 7f07fd22616adfeb81fb82a8bc390f62202b0a8d112620754223556603805225
MD5 1d2c0dd570c06b9f74f2834203fc2c26
BLAKE2b-256 a85e7c8f9aca4b02fc68951d639e65ee48ea73e17089a4f5caa6f1494fc39a2d

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c4e8e426bab320f1b3ae9974cf5f7825018b994f6740fbdd32c29f021de4586d
MD5 1fec79529a04f68b60e7a3b1058d40be
BLAKE2b-256 4249ed3b6ba4fbddad3c86fe8c7ebb7ca2a8e47e089901099dae0caa64709382

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp37-cp37m-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 78593231511ef81e9ac8f6c57a67fd574b41d799234665b928b3a162e13be942
MD5 d283a4597c5f8bedd8ff830b63ea6166
BLAKE2b-256 593ac812a1e49aa570484d97b0c6adc047ad1b2d2681dba3d099f76caa4ee1a6

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 96.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7398c3e105c88b411018e8e6b6b51182e28051541d98eee66fa3db20c7252c43
MD5 1baf81cf98affa1664fdde3f32fd100e
BLAKE2b-256 18a16be166c575a0f0652ddf5259424710ac53a5e869202463de6043aa927baa

See more details on using hashes here.

File details

Details for the file winfspy-0.8.4-cp36-cp36m-win32.whl.

File metadata

  • Download URL: winfspy-0.8.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 87.0 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for winfspy-0.8.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 6e92aedb32b8948e3a741ffcc273f36d245b3c22b6959263a420ec8ba3402bc9
MD5 a47373de7a4741b8a42cd34c7d559fdb
BLAKE2b-256 a7a4b5f8cc15cad6f46a869b5483f36391d95ff52eb478b68f6b8f310553b857

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page