A powerful library that wraps advanced functions.
Project description
PowerWrapper: A powerful library that wraps mid-advanced functions
Maths Module
Importing the 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.installDependency('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')
# Running a Command in the Python Shell
s.runCommand('command')
# Running a Command in Command Prompt
s.runCommandPrompt('command')
# Running a Command in PowerShell
s.runPowerShell('command')
Updated the readme file, to remove inaccurate methods of using the library.
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
powerwrapper-0.0.7.tar.gz
(26.7 kB
view details)
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.7.tar.gz.
File metadata
- Download URL: powerwrapper-0.0.7.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bb68c0aa2aa922303d1c486d3821ec8e9b809a4fc13bdabf39ad123e676dcc
|
|
| MD5 |
33c0f8a3be6a592b2be3a1b5e87a609c
|
|
| BLAKE2b-256 |
695a6f43a90edb2063b5a38c799133417396538fd4c059185f98fa502354ed85
|
File details
Details for the file PowerWrapper-0.0.7-py3-none-any.whl.
File metadata
- Download URL: PowerWrapper-0.0.7-py3-none-any.whl
- Upload date:
- Size: 27.4 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 |
fb8dc4253b0692f622d72b92a8a6213b3c0e06d3b364f8d5046f4d219c47affd
|
|
| MD5 |
9d0336108e2725f811e407ff5e51081b
|
|
| BLAKE2b-256 |
795af0e03120fe45d421b81aaadcf7962685aa0f34e183be5d327a39d5057359
|