Contains all Functions
Project description
Helper for Maxi
All the Functions I could need multiple times
Instructions
- Install:
pip install helper-for-maxi
- Import package:
from helper import *
# You can replace * with what you need!
Currently Implemented Classes / Functions
BetterInput()
import helper
helper.BetterInput(text: str, end: str = None, delay: float = None)
OR
from helper import BetterInput
BetterInput(text: str, end: str = None, delay: float = None)
# Gets an input
#
# Prints the given text letter by letter using the specified delay and gets an input() after
#
# Parameters
# ----------
# text: str
# The text that is printed letter by letter
#
# end: Optional[str]
# The text that is passed into the input() statement.
# Be aware that this part is not printed letter by letter.
# DEFAULT: None
#
# delay: Optional[float]
# Changes the time between each printed letter
# DEFAULT: None
BetterPrint()
import helper
helper.BetterPrint(text: str, delay: float = .1)
OR
from helper import BetterPrint
BetterPrint(text: str, delay: float = .1)
# Prints text
#
# Prints the given text letter by letter to the command line using the specified delay
#
# Parameters
# ----------
# text: str
# The text that is printed letter by letter
#
# delay: Optional[float]
# Changes the time between each printed letter
# DEFAULT: .1
Output()
import helper
helper.Output(outputValue)
OR
from helper import Output
Output(outputValue)
# Outputs to stdout
#
# Outputs the given outputValue to stdout and flushes the stream after
#
# Parameters
# ----------
# outputValue: Any
# The value that's written to stdout
Terminal
import helper
helper.Terminal._ # _ = subclass
OR
from helper import Terminal
Terminal._ # _ = subclass
# Functions & Stuff for the Windows Terminal
#
# Contains classes and Functions to use for/in the Windows Terminal
#
# Subclasses
# ----------
# color:
# Manipulates the color of the Terminal
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
helper_for_maxi-0.0.5.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for helper_for_maxi-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb08d4f4e556a25adaba9f64a020c3cb89de6d8cd72e24d3161d5243c22bfe5 |
|
MD5 | 34b0143917b42a5da81fd0dec0882014 |
|
BLAKE2b-256 | 6efaf5b513eb8e9a461242595a8eee1003bf038adfd0727f4ffaed7a1253b923 |