Skip to main content

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


Download files

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

Source Distribution

contsys-1.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contsys-1.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file contsys-1.0.2.tar.gz.

File metadata

  • Download URL: contsys-1.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for contsys-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2eef34bc58b3fe6ad0f0cfa3a35836ff9118aef94d00d3e302d3df5a09ba4d2d
MD5 b119675a93e2221223eb9ee0d29947f9
BLAKE2b-256 3977d8e1abbd0e7706b9fd5e48859a68266209dddac640c18b291d8903eec7d0

See more details on using hashes here.

File details

Details for the file contsys-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: contsys-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for contsys-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 205f4467443d2da47e09c5dcf2bd2d9666d2d7fabbaaf0a51d638e936265649d
MD5 72a3b69572a0f7eb413e7291e16c7c2c
BLAKE2b-256 c80468835ab5f98c5814f96df9651dba61df75cec39b3b0b40c974014b4f535a

See more details on using hashes here.

Supported by

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