Core System Management Utilities for Windows (Registry, Services, Processes, User Management).
Project description
# PySysCore: Robust Windows System Management Utilities
[](https://pypi.org/project/pysyscore/)
[](LICENSE)
[](https://www.python.org/downloads/)
PySysCore is a light and robust Python library for essential system administration and introspection tasks on Windows operating systems. It offers reliable, language-agnostic utilities for interacting with the Windows Registry, managing services, handling processes, and performing user account operations, even on localized systems.
## ✨ Key Features
* **Reliable OS Detection:** Accurately identifies Windows 10 vs. **Windows 11** by checking the Build Number, overcoming compatibility flags.
* **Localized User Management:** Automatically detects the locale-specific name of the **Administrators** group (e.g., 'Administrateurs') for reliable user provisioning.
* **Service Control:** Start, stop, and restart system services (pywin32 dependency).
* **Command Execution:** Safe wrappers for running both cmd and PowerShell commands.
* **System Introspection:** Retrieval of FQDN, OS version, architecture, and registry values.
## ⚙️ Installation
PySysCore requires pywin32 for core Service Management features, which is specified as a Windows-only dependency.
pip install pysyscore
\#exemples
from pysyscore import SystemInfo
sys\_info = SystemInfo()
info = sys\_info.get\_system\_info\_summary()
print(f"OS Name: {info\['OS\_LongName']}")
\# Output (on Windows 11): Windows 11 Pro (25H2)
from pysyscore import WindowsUtility
util = WindowsUtility()
test\_user = "test\_sys\_user"
admin\_group = util.get\_admin\_group\_name() # Get localized name
print(f"Admin Group Detected: {admin\_group}")
util.create\_local\_user(test\_user, "P@sswOrd123")
util.add\_user\_to\_group(test\_user, admin\_group)
\# ... cleanup commands (delete\_local\_user)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysyscore-1.0.0.tar.gz.
File metadata
- Download URL: pysyscore-1.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b06ac055cc26a23da85beffd316bfc94a8661cade3d7735bc531dcf070829d1
|
|
| MD5 |
68d05e98b8eaeab7884e683dd94cfd96
|
|
| BLAKE2b-256 |
c15cfbaf730006b567fd79e35d9441d5e14780066ef3f9399bd8f4ff896f9166
|
File details
Details for the file pysyscore-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pysyscore-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
756b2da9ea988e8e79e7e337aa4b46e6f84cdecb6b058d5d3b25e4cd45606a29
|
|
| MD5 |
b132958ff60ceb05779e8881862118cc
|
|
| BLAKE2b-256 |
fc16e31dcabb3c0d87cc0c18a4afe0083ef141cbee707c2c40104eff9a94b39b
|