WDTEA v0.0.1
"Why Doesn't This Exist Already"
(Basically a module with stuff that I find helpful)
So you don't have to go through the code yourself, have the...
✨Documentation✨
newLine
prints x amount of newlines
Code:
def newLine(x):
for i in range(x):
print() #Blank print makes a new line
Usage:
print("hello")
wdtea.newLine(3)
print("world")
Output:
hello
world
sleep
Waits for x millilseconds
Code:
def sleep(x):
time.sleep(x/1000) #Converted to milliseconds
Example Usage:
print("hello")
sleep(1000)
print("world")
Example Output:
hello
randRange
Returns a random integer between min and max
Code:
def randRange(min, max):
return random.randrange(min, max)
Example Usage:
randRange(1,10)
Example Output:
9
clear
Clears the console
Code:
def clear():
os.system('clear')
Example Usage:
clear()
Example Output:
(It clears the console what did you expect for the example output?)
floor
Rounds down
Code:
def floor(x):
return math.floor(x)
Example Usage:
floor(15.75)
Example Output:
15
ceil
Rounds up
Code:
def ceil(x)
return math.ceil(x)
Example Usage:
ceil(21.23)
Example Output:
22
To-Do:
- Fix progBar function
- Fix delLine function
- Profit
Metadata
Release files for wdtea 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wdtea-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for wdtea-0.0.3-py3-none-any.whl |
Release files / wdtea-0.0.3-py3-none-any.whl
| Download URL | wdtea-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f4e45707c97ab95facc9e0915024725e4ecd57682e12e865377f41adae5a2e8
|
|
BLAKE2b-256 checksum How to use checksums |
44b37ef5fa6976cf2c11241e54042d0b4a142486879ed35d5f7ae0fd2f633ef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for wdtea 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.