CoderBroDev - A python module!
Home History About








CoderBroDev - A Python Module!
Introduction
I have made a Python module named CoderBroDev in Python! It is free to download but I have to do bug fixes so I can only launch it in April! It took me a few months to code that module! It contains 6 files with over 500+ lines of code! This is a simple library made by Gokul. Version:- 0.0.2 (Still Developing). This library is very simple! It has many functions to input, read, create animations, process a name, draw shapes, calculate marks, etc.
Installation
Future Instructions- When I launch the module, these are the steps:- To install the CoderBroDev module in command prompt type:
pip install coderbrodev
It will install the module automatically!
OR
Go to a link that I will set up very soon to download it manually!
Tutorial


Nothing Till Now...


Future Steps to follow. Warning:Do not download it now, I still haven't bug fixed it or set it up
CoderBroDev.console:
The console package of CoderBroDev module just contains the functions to do something in the console!
For example:

1. CoderBroDev.console.say(something):
import CoderBroDev #This line imports the module!
CoderBroDev.console.say("Hello!") #This line just prints "Hello" in the console!


2. CoderBroDev.console.ask(anything, min_length, max_length, value, type_of_sentence):
import CoderBroDev #This line imports the module!
name = CoderBroDev.console.ask(anything="Enter your name:", min_length=2, max_length=10, value="name", type_of_sentence="string") #This line asks a question in the console and asks the question untill the length of the users answer is more than min_length and less than max_length and also converts the value to a specified format and returns the value!
print (name) #This line prints the name variable!


3. CoderBroDev.console.ask_if(statement):
import CoderBroDev #This line imports the module!
CoderBroDev.console.ask_if(statement="Do you swim?") #This line asks if a user can, have, and do a thing!



4. CoderBroDev.console.ask_is(anything, min_length, max_length, value, type_of_sentence):
import CoderBroDev #This line imports the module!
swim = CoderBroDev.console.ask_is(anything="Do you swim?",min_length=2, max_length=10, value="swim", type_of_sentence="string") #This line asks a question in the console and asks the question untill the length of the users answer is more than min_length and less than max_length and also converts the value to a specified format and returns the value!
print (swim) #This line prints the swim variable!


5. CoderBroDev.console.ask_if_is(statement):
import CoderBroDev #This line imports the module!
CoderBroDev.console.ask_if_is(statement="Do you have a brother?") #This line asks if a user can, have, and do a thing!



6. CoderBroDev.console.display(shape, style, size):
import CoderBroDev #This line imports the module!
CoderBroDev.console.display(shape="not_equal_triangle/ square/ line/rectangle /equal_triangle /filled_rectangle /filled_square", style="*", size="10") #This line draws the specified shape in the console!



CoderBroDev.marks_calculator:
The marks_calculator package of CoderBroDev module just contains the function to calculate the marks!
For example:

1. CoderBroDev.marks_calculator.start():
import CoderBroDev #This line imports the module!
CoderBroDev.marks_calculator.start() #This line just starts the marks_calculator script!



CoderBroDev.math_test:
The math_test package of CoderBroDev module just contains the functions to ask a maths test to a user!
For example:

1. CoderBroDev.math_test.ask_question(anything, type_of_question, correct_answer):
import CoderBroDev #This line imports the module!
CoderBroDev.math_test.ask_question(anything="1 + 1", type_of_question=int, correct_answer=2) #This line just asks a specified question to the user and check if it is a correct answer as specified. If the answer is correct then it increases the score by 1!



2. CoderBroDev.math_test.reset_all():
import CoderBroDev #This line imports the module!
CoderBroDev.math_test.reset_all() #This line resets all the score and lists!



3. CoderBroDev.math_test.say_score():
import CoderBroDev #This line imports the module!
CoderBroDev.math_test.say_score() #This line just prints the score in the console!



4. CoderBroDev.math_test.calculate_result():
import CoderBroDev #This line imports the module!
CoderBroDev.math_test.calculate_result() #This line just calculates the result!



CoderBroDev.notes:
The notes package of siddhesh module just contains the functions to write notes in .txt format!
For example:

1. CoderBroDev.notes.new_file(location, name):
import CoderBroDev #This line imports the module!
CoderBroDev.notes.new_file(location="...", name="test") #This line just craetes a new .txt file with the given name in the given location!



2. CoderBroDev.notes.open_file(location, name):
import CoderBroDev #This line imports the module!
CoderBroDev.notes.open_file(location="...", name="test") #This line just opens a specified file with the name and the specified location!



3. CoderBroDev.notes.write_in_file(location, name, something):
import CoderBroDev #This line imports the module!
CoderBroDev.notes.write_in_file(location="...", name="test", something="Your Text!") #This line just opens a specified file with the name and the specified location and writes a text in that file!



CoderBroDev.animation:
The animation package of CoderBroDev module just contains the functions to show animation in the console!
For example:

1. CoderBroDev.animation.animate_triangle(type="equal", style="*", interval=0.1, size=10):
import CoderBroDev #This line imports the module!
CoderBroDev.animation.animate_triangle(type="equal", style="*", interval=0.1, size=10) #This line just shows a animated triangle in the console! Make sure you specify the type of triangle in string such as "equal" or "not_equal". Style shows a style in which the triangle should be drawn. Size shows that of how much size a triangle should be drawn! And interval tells the time! I recommend you to set the interval to 0.1!



2. CoderBroDev.animation.animate_square(type="filled", style="*", interval=0.1, size=10):
import CoderBroDev #This line imports the module!
CoderBroDev.animation.animate_square(type="filled", style="*", interval=0.1, size=10) #This line just shows a animated square in the console! Make sure you specify the type of square in string such as "filled" or "not_filled". Style shows a style in which the square should be drawn. Size shows that of how much size a square should be drawn! And interval tells the time! I recommend you to set the interval to 0.1!



3. CoderBroDev.animation.animate_rectangle(type="filled", style="*", interval=0.1, size=10):
import CoderBroDev #This line imports the module!
CoderBroDev.animation.animate_rectangle(type="filled", style="*", interval=0.1, size=10) #This line just shows a animated rectangle in the console! Make sure you specify the type of rectangle in string such as "filled" or "not_filled". Style shows a style in which the rectangle should be drawn. Size shows that of how much size a rectangle should be drawn! And interval tells the time! I recommend you to set the interval to 0.1!



4. CoderBroDev.animation.animate_line(style="*", size=10, interval=0.1):
import CoderBroDev #This line imports the module!
CoderBroDev.animation.animate_line(style="*", size=10, interval=0.1) #This line just shows a animated line in the console! Style shows a style in which the line should be drawn. Size shows that of how much size a line should be drawn! And interval tells the time! I recommend you to set the interval to 0.1!



5. CoderBroDev.animation.animate_text(something="Your text!", interval=0.1):
import CoderBroDev #This line imports the module!
CoderBroDev.animation.animate_text(something="Your text!", interval=0.1) #This line just shows a animated text in the console! Interval tells the time! I recommend you to set the interval to 0.1 and the text should be in string!



CoderBroDev.name_processor:
The name_processor package contains functions to process a name in the console.
1. CoderBroDev.name_processor.process_name(name="CoderBroDev"):
import CoderBroDev #This line imports the module!
coderbrodev.name_processor.process_name(name="CoderBroDev") #This line just processes a name!