Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 29 Apr 02:43
· 16 commits to main since this release

v1.7.0 (2024-04-29)

Feature

  • feat(system.py): add support for retrieving last boot time as a date and time string
    feat(system.py): improve error handling and return meaningful messages for obtaining last boot time
    feat(system.py): add function to get system uptime as a string
    test(system.py): add tests for retrieving last boot time on macOS and Linux platforms (46c4c3b)

  • feat: Add distro module to get system information and update system uptime calculation (36186d3)

Fix

  • fix(system.py): remove unused import statement for distro package
    feat(system.py): import distro package within the Linux-specific block to ensure it is only imported when needed
    feat(test_system.py): refactor test_get_system_uptime to include separate test cases for Linux and Darwin systems
    feat(test_system.py): add skipif decorators to test_get_system_uptime_linux and test_get_system_uptime_darwin
    feat(test_system.py): refactor test_get_user_count_unix to include multiple test cases with parameters
    feat(test_system.py): refactor test_get_system_info to include separate test cases for Linux and Darwin systems (322ed74)

Refactor

  • refactor: Simplify retrieving last boot date in system information (e15fd83)

  • refactor(system.py): rename get_last_boot_time_macos to get_last_boot_time and add support for retrieving last boot time on non-Darwin systems
    feat(system.py): add logic to retrieve last boot time using 'uptime -s' command on non-Darwin systems
    test(system.py): add tests for get_last_boot_time function for both Darwin and non-Darwin systems (31b0063)

Unknown

  • Merge pull request #56 from timmyb824/refactor/system-info

refactor/system info (aab0662)