builds your own tests.


Keywords
nvme, pcie, python, ssd, test
License
BSD-3-Clause
Install
pip install pynvme==2.3.0

Documentation

pynvme: test NVMe devices in Python

Document License Release

The pynvme is a python extension module. Users can test NVMe devices intuitively in Python scripts. It is designed for NVMe storage developers with performance considered. Integrated with third-party tools (e.g. vscode and pytest), pynvme provides a convenient and professional solution of NVMe testing.

Features:

  1. access PCI configuration space
  2. access NVMe registers in BAR space
  3. send any NVMe admin/IO commands
  4. support callback functions for NVMe commands
  5. support MSI/MSIx interrupt
  6. transparent checksum verification on every LBA data
  7. IOWorker generates IO workload of high performance, low latency and high consistency
  8. support multiple controllers and namespaces
  9. integrate with pytest
  10. integrate with VSCode
  11. support NVMe over TCP targets

Links: