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
Metadata
Release files for syspy 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| syspy-0.2.zip | 1.1 kB | Without provenance | Details for syspy-0.2.zip |
Release files / syspy-0.2.zip
| Download URL | syspy-0.2.zip |
|---|---|
| Size | 1.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94c407441f628867658faaf309fc7d3bc3d2c04f7813ba2a383a47c0eee89359
|
|
BLAKE2b-256 checksum How to use checksums |
f561ee1e0935a9489928aedc3425570d41d09c5a7a8e2b87b38b4b8abf636b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for syspy 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.