Skip to main content

Windows System Informations

Project description

Windows System Information Tool with Python

Instal via PyPi:

pip install syspy

Windows sistem bilgilerini Python ile alırsınız. Aslında zaten var olan bir kütüphanenin daha da basitleştirilmiş halidir.

Kullanmadan önce eğer gerekli kütüphane yok ise onu kurmanız gerekli. syspy, gösterdiği verileri psutil ile sağlar.

from syspy import CPU
from syspy import Disk
from syspy import Info
from syspy import Memory
from syspy import Network

cpu = CPU()

print(cpu.getCpuTimes())

disk = Disk()

a,b,c,d,e,f,g = disk.getDiskPartitions()

print("Part Device: {}\nUsage Total: {}\nUsage Used: {}\nUsage Free: {}" \
            "\nUsage Percent: {}\nPart Type: {}\nPart Mountpoint: {}".format(a,b,c,d,e,f,g))

info = Info()

print(info.getBootTime())

memory = Memory()

a,b,c,d,e,f = memory.getSwapMemory()
print("Total: {0} Used: {1} Free: {2} Percent: {3} Sin: {4} Sout: {5}".format(a,b,c,d,e,f))

network = Network()

print(network.getNetConnections())

Neleri Gösterir?

CPU:

CPU Times, CPU Percent, CPU Percent Per CPU, CPU Percent Times, CPU Count, CPU Affinity

Disk:

Disk Partitions, Disk Usage, Disk I/O Counters

Information:

Users, Boot Time, Process Iteration Tool

Memory:

Virtual Memory, Swap Memory, Memory Info, Memory Info(Extend), Memory Percent, Memory Map

Network:

Network I/O Counters, Net Connections

Şimdilik bu özellikleri sağlamakta. Test dosyalarına bakabilirsiniz.

Test Files:

cpu --
    \test.py
disk --
    \test.py
info --
    \test.py
memory --
    \test.py
network --
    \test.py

Kurulum

python setup.py install

Gereksinim Kurulumu

Installation:

pip install -r requirements.txt

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syspy-0.2.zip (1.1 kB view details)

Uploaded Source

File details

Details for the file syspy-0.2.zip.

File metadata

  • Download URL: syspy-0.2.zip
  • Upload date:
  • Size: 1.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for syspy-0.2.zip
Algorithm Hash digest
SHA256 94c407441f628867658faaf309fc7d3bc3d2c04f7813ba2a383a47c0eee89359
MD5 6a599990805fbf471494b1ff17905307
BLAKE2b-256 f561ee1e0935a9489928aedc3425570d41d09c5a7a8e2b87b38b4b8abf636b1d

See more details on using hashes here.

Supported by

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