syspy  0.1
syspy windows system information tool with python
README

#Windows System Information Tool with Python

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.

1 from syspy import CPU
2 from syspy import Disk
3 from syspy import Info
4 from syspy import Memory
5 from syspy import Network
6 
7 cpu = CPU()
8 
9 print(cpu.getCpuTimes())
10 
11 disk = Disk()
12 
13 a,b,c,d,e,f,g = disk.getDiskPartitions()
14 
15 print("Part Device: {}\nUsage Total: {}\nUsage Used: {}\nUsage Free: {}" \
16  "\nUsage Percent: {}\nPart Type: {}\nPart Mountpoint: {}".format(a,b,c,d,e,f,g))
17 
18 info = Info()
19 
20 print(info.getBootTime())
21 
22 memory = Memory()
23 
24 a,b,c,d,e,f = memory.getSwapMemory()
25 print("Total: {0} Used: {1} Free: {2} Percent: {3} Sin: {4} Sout: {5}".format(a,b,c,d,e,f))
26 
27 network = Network()
28 
29 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 –

.py info –

.py memory –

.py network –

.py

#Kurulum

1 python setup.py install

#Gereksinim Kurulumu

pip install -r requirements.txt