Python library simplifying system script management with handy functions like clearing the console, setting the window title, and detecting the operating system (Windows, Linux, macOS).
Project description
contsys
Python library simplifying system script management with handy functions like clearing the console, setting the window title, and detecting the operating system (Windows, Linux, macOS).
Features
Clear the console screen with CMD.clear()
Change the terminal window title with CMD.title([NAME])
Detect the operating system:
system.iswin32()return True if the current OS is Windows, and return False if the current OS is not Windows.system.linux()return True if the current OS is Linux Based, and return False if the current OS is not Linux Based.system.isdarwin()return True if the current OS is MacOS, and return False if the current OS is not MacOS.
Installation
You can install contsys using pip:
pip install contsys
License
This project is under the MIT License.
Contact
if you have any trouble or you want to suggest an amelioration you can contact me at G-Azon782345@protonmail.com
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 contsys-1.0.1.tar.gz.
File metadata
- Download URL: contsys-1.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77cc3308e17541f878044220318ba4b0ffd9a67f392c6516572d85489f42b0c9
|
|
| MD5 |
357cebd546687cfbed621d9f968704e0
|
|
| BLAKE2b-256 |
c666086814ecab6dec8b74535a8b81e0b489b7715000c92a1b9c7c7849d699f2
|
File details
Details for the file contsys-1.0.1-py3-none-any.whl.
File metadata
- Download URL: contsys-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
301b397a535d8f021a8bd2fbe867afdf57b91ef6bb3706f6e01419a0ac8230ff
|
|
| MD5 |
0327e3d7bf757978b0f3fe7b5e60a09f
|
|
| BLAKE2b-256 |
5826bf749350f62f386df5fc52569b11bbe98a7066741520f0ff81a2990de7b7
|