Metadata-Version: 1.1
Name: pyspectator
Version: 1.0.7
Summary: pyspectator is a cross-platform tool for retrieving full information about computer.
Home-page: https://github.com/opium999/pyspectator
Author: Maxim Grischuk
Author-email: uzumaxy@gmail.com
License: BSD
Download-URL: https://github.com/opium999/pyspectator/releases
Description: ==================
        Summary
        ==================
        
        pyspectator is a Python cross-platform tool for monitoring resources of OS: CPU, memory, disk, network.
        
        ==================
        Requirements
        ==================
        
        - OS: Linux, Windows, FreeBSD, Solaris
        - Python version: 3.X
        - Packages: psutil, netifaces, wmi (only on Windows), enum34 (only on python 3.0.0 - 3.4.0)
        
        ==================
        How to install
        ==================
        
        Run as root user:
        
        .. code-block:: bash
        
            pip install pyspectator
        
        
        ==================
        How to use
        ==================
        
        You can use pyspectator as module for your own project. Simple example of usage is presented in file "console.py".
        
        *NOTE: on Windows pyspectator can require elevated privileges. It's because Windows is fucking shit.*
        
        Class "Computer"
        ------------------
        
        .. code-block:: python
        
            >>> from pyspectator.computer import Computer
            >>> computer = Computer()
            >>> computer.os
            'Linux 3.14.4-1-MANJARO'
            >>> computer.python_version
            'CPython ver. 3.4.1'
            >>> computer.uptime
            '1:07:52'
            >>> computer.processor.name
            'Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz'
        
        Class "Processor"
        ------------------
        
        
        .. code-block:: python
        
            >>> from pyspectator.processor import Processor
            >>> from time import sleep
            >>> cpu = Processor(monitoring_latency=1)
            >>> with cpu:  # initiate monitoring of CPU resources
            ...     for _ in range(8):
            ...        cpu.percent, cpu.temperature
            ... 
            (8.2, 32)
            (6.6, 32)
            (6.6, 31)
            (4.1, 32)
            (5.6, 32)
            (12.3, 33)
            (4.5, 32)
            (4.5, 30)
        
Keywords: pyspectator,spectator,monitoring,tool,statistic,stats,computer,pc,server,mem,memory,network,net,io,processor,cpu,hdd,hard,disk,drive
Platform: Platform Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: MacOS X
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows :: Windows 7
Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
Classifier: Operating System :: Microsoft :: Windows :: Windows Server 2003
Classifier: Operating System :: Microsoft :: Windows :: Windows Server 2008
Classifier: Operating System :: Microsoft :: Windows :: Windows Vista
Classifier: Operating System :: Microsoft :: Windows :: Windows XP
Classifier: Operating System :: Microsoft
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX :: BSD :: FreeBSD
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: POSIX :: SunOS/Solaris
Classifier: Operating System :: POSIX
Classifier: Programming Language :: C
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Benchmark
Classifier: Topic :: System :: Hardware
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: System :: Networking :: Monitoring
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
