A powerful library that wraps advanced functions.
Project description
A powerful library that wraps mid-advanced functions.
Maths module:
# Importing the module
from PowerWrapper import maths
m = maths()
Usage:
# Mean
print(m.getMean([5, 10, 10, 15]))
# Median
print(m.getMedian([5, 10, 10, 15]))
# Mode
print(m.getMode([5, 10, 10, 15]))
# Square root
print(m.squareRoot(25))
# Modulus
print(m.getMod(10, 6))
Error module
importing the module
from PowerWrapper import errors
e = errors()
Usage:
# GUI Information box
e.showInfo("title", "text")
# GUI Warning box
e.showWarning("title", "text")
# GUI Error box
e.showError("title", "text")
System module
# importing the module
from PowerWrapper import system
s = system()
Usage:
# Installing external dependencies (with pip)
s.installDependancy('libraryName')
# Creating a file.
s.createFile('createFiledirectory')
# Moving/renaming a file.
s.moveFile('fileDirectory', 'newFiledirectory')
# Removing/deleting a file.
s.removeFile('fileDirectory')
# Executing/running a file/program.
s.executeFile('fileDirectory')
# Run command in the python shell
s.runCommand('command')
# Run command in command prompt
s.runCommandprompt('command')
# Run command in powershell
s.runPowershell('command')
Rewrote the messy code.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 PowerWrapper-0.0.4-py3-none-any.whl.
File metadata
- Download URL: PowerWrapper-0.0.4-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b9ef0521f48be52da3663029cadde49600d36ca4c53c34da7b10f2d9e372c5e
|
|
| MD5 |
3fe096e349eeeb10bdc2b89e713ba21a
|
|
| BLAKE2b-256 |
fe69a6049bb597d5eb2a038855cc45f27f7df3d1bf17ad50fbc7bcfc49213f5e
|