Making totally readable code
Project description
Overiew
NO DEPENDENCIES REQUIRED
Joke Python module for making your code 'more readable'.
Has a weird naming scheme, random abstracted functions for no reason, and anything else that you could ever want!
Functions
-
Return_Value_Of(Value) - Returns Value OFC (useless)
-
Error(Err = Exception) - Raises an exception (useless)
-
Print(Message) / Range(Number) / Len(List) / Int(Number) / String(Message) / Bool(Boolean) / Float(Decimal) / List(Array) - The corresponding function but capitalised
-
Print_Multiple_Times(Count, Msg) - Prints Msg Count amount of times
-
Sum_Multiple_Numbers(Numbers) - Sums multiple numbers
-
Multiply_Multiple_Numbers(Numbers) - Multiplies multiple numbers
-
Get_Input_From_User(Message, Type = String) - Gets an input from the user and applies a function to that input (intended to change the input type which is by default string)
-
For_Loop(List, Code, PassElement, Arguments) - Creates a for loop iterating over a list, where the body code is a function, and the extra arguments (first of which will be the element if PassElement is true) goes into it.
-
While_Loop(Condition, Code, Arguments) - Creates a while loop which will keep on iterating when the condition (MUST BE A FUNCTION) returns true, where the body code is a function and the extra arguments goes into it.
-
Open_File(Name, Mode, Code, Arguments) - Opens the file with that name in that mode, where the body code is a function which will always have the file be put into it as the first argument as well as the extra arguments.
Challenges
This module could create a few coding challenges such as using its functions as much as possible to make the most 'readable' code, excluding Return_Value_Of, though you could also make another challenge where every single value has Return_Value_Of surrounding it to make the most clustered code ever. If you would like to make reading your code horrible better, this is the perfect opportunity!
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
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 readable_code-0.3.1.tar.gz.
File metadata
- Download URL: readable_code-0.3.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df591ac8ef17bb89846fca296453e7fc7098dff95c9acfb9b008c20525a38e82
|
|
| MD5 |
521816abd6691250674f499a6353740f
|
|
| BLAKE2b-256 |
80c8a27a68dbd886de8c3b6263d05f6b9c210404ea34f89f83613b9c28ec413c
|
File details
Details for the file readable_code-0.3.1-py3-none-any.whl.
File metadata
- Download URL: readable_code-0.3.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd63a29327a9663e3b0e82944102bea093f831499b91830846bb7ec6cf69a041
|
|
| MD5 |
4d58b455f7b362cffad5425e1c76530e
|
|
| BLAKE2b-256 |
4b9b311161d88a4f5789e82a774fe75188d60f7973aa07623ec59cd97a409406
|