Diskinfo

Latest version: v3.1.2

Safety actively analyzes 634607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.1.0

Added
- Support for Python 3.11 and 3.12
- A [new bash script](https://github.com/petersulyok/diskinfo/blob/main/bin/create_python_env.sh) added to create a virtual Python environment and install all dependencies.
- Documentation is updated

Changed
- Dependency management: requirement files for `pip` are using maximal version numbers
- Flake8 removed

Fixed
- In case of loop disks, `Disk.get_temperature()` method did not work and the demo stopped. Better error handling added while loop devices will be fully supported.

2.0.0

Added
- New `Partition` class added to hold partition data
- `get_partition_list()` method of `Disk` class returns the list of partitions
- New utility functions are available,`size_in_hrf()` and `time_in_hrf()`, to display size and time in human-readable
form
- Demo has been extended with two additional screens (disk attributes, partition data)
- Documentation has been improved and updated for the new functionality
- Unit tests has been extended to cover the new functionality

Changed
- Demo cannot be executed without [`rich`](https://pypi.org/project/rich/) Python library

1.3.1

Fixed
- `pytest` coverage measurement and upload to codecov fixed

1.3.0

Added
- Documentation extended with examples for all functions.
- `pyproject.toml` configuration file used for all tools

1.2.0

Added
- A new method, called `get_smart_data()`, has been implemented in `Disk` class. It returns the SMART data of the
disk (feature request in issue 3 implemented). Additional classes have been defined for SMART data:
`DiskSmartData()`, `SmartAttribute()`, `NvmeAttributes()`.
- Documentation, unit tests have been updated
Removed
- Python 3.6 has been removed from list of the supported Python versions because the package building and isnallation
is not working here.

1.1.0

Added
- A new method, called `get_temperature()`, has been implemented in `Disk` class. It returns the temperature of the
disk (feature request in issue 2 implemented).
- Documentation, unit tests have been updated

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.