PowerWrapper 0.0.7

Creator: railscoder56

Last updated:

Add to Cart

Description:

PowerWrapper 0.0.7

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.