{"id":22816199,"url":"https://github.com/g4brielxavier/inputron-lib","last_synced_at":"2026-01-23T12:20:56.820Z","repository":{"id":257969991,"uuid":"873374793","full_name":"G4brielXavier/Inputron-lib","owner":"G4brielXavier","description":"Inputron is a Python Library for better managing outputs and inputs to terminal. ","archived":false,"fork":false,"pushed_at":"2024-10-18T17:09:15.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T05:42:40.544Z","etag":null,"topics":["library","library-python","pip","python","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/G4brielXavier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T04:06:55.000Z","updated_at":"2025-03-28T13:22:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"461f8f75-b1bd-4dfd-b5bf-aa9a92b5fbf4","html_url":"https://github.com/G4brielXavier/Inputron-lib","commit_stats":null,"previous_names":["g4brielxavier/inputron"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G4brielXavier%2FInputron-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G4brielXavier%2FInputron-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G4brielXavier%2FInputron-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G4brielXavier%2FInputron-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/G4brielXavier","download_url":"https://codeload.github.com/G4brielXavier/Inputron-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252544370,"owners_count":21765337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","library-python","pip","python","terminal"],"created_at":"2024-12-12T14:06:50.683Z","updated_at":"2026-01-23T12:20:56.778Z","avatar_url":"https://github.com/G4brielXavier.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Inputron)\n![GitHub Repo stars](https://img.shields.io/github/stars/G4brielXavier/Inputron)\n\n\n### Installing\n\n```bash\n\npip install Inputron\n\n```\n\n### Using\n\n```python\n\nfrom Inputron import Inputron\n\ninputron = Inputron()\n```\n\n### Inputron Library\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.Message\u003c/summary\u003e\n\n    Message(msg: str, title:str = \"\", space:bool = False, iserror:bool = False)\n\n    Create better outputs messages, alerts with this function. \n        \n    Arguments:\n        \u003ch5\u003emsg\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} Set your message here.\n        \u003ch5\u003etitle\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} The Message Title. [Optional]\n        \u003ch5\u003espace\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If has space or not. [Optional] default=False\n        \u003ch5\u003eiserror\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If the message is to sinalize a error or not. [Optional] default=False\n        \u003ch5\u003ealert\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If True, add a Warn or Error after of title. [Optional] default=True\n        \u003ch5\u003eseparate\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It's the separator among title and msg. [Optional] default=\"-\"\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.Loading\u003c/summary\u003e\n\n    Loading(msg: str = \"Loading\", msgComplete: str = \"Complete\", speed: float = 0.1, repeatTimes: int = 10, icon: list = [\"...\", \"°..\", \".°.\", \"..°\"])\n\n    Create a loader in format of terminal, manage and the Icon.\n        \n    Arguments:\n        \u003ch5\u003emsg\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} Set here your text to show while is loading.\n        \u003ch5\u003emsgComplete\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is message that will be shown. [Optional]\n        \u003ch5\u003espeed\u003c/h5\u003e {\u003ccode\u003eFloat\u003c/code\u003e} It is interval in each rotated. [Optional] default=0.1\n        \u003ch5\u003erepeatTimes\u003c/h5\u003e {\u003ccode\u003eInt\u003c/code\u003e} It is amount of time that the icon spins. [Optional] default=10\n        \u003ch5\u003eicon\u003c/h5\u003e {\u003ccode\u003eList\u003c/code\u003e} It is the icon strings, change to other if you want. [Optional] default=[\"...\", \"°..\", \".°.\", \"..°\"]\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.Ask\u003c/summary\u003e\n\n    Ask(ask:str, space:bool = True, isInt:bool = False, isFloat:bool = False, spaceleft:bool = True, beforesignal:str = \"\u003e\", aftersignal:str = \":\")\n\n    Use this function to ask some information of user.\n        \n    Arguments:\n        \u003ch5\u003eask\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is your ask \n        \u003ch5\u003espace\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If your asks will have spaces on top of below. [Optional] default=True\n        \u003ch5\u003eisInt\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If you want that be returned in Integer format. [Optional] default=False\n        \u003ch5\u003eisFloat\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If you want that be returned in Floating format. [Optional] default=False\n        \u003ch5\u003espaceleft\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} if you want that have a space in left side of ask. [Optional] default=True\n        \u003ch5\u003ebeforesignal\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It's the signal before of ask. [Optional] default=\"\u003e\"\n        \u003ch5\u003eaftersignal\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It's the signal after of ask. [Optional] default=\":\"\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.YN\u003c/summary\u003e\n\n    YN(ask:str, title:str = 'Question', space:bool = True)\n\n    Use this function to obtain two answer, Yes or No, you can change the options.\n        \n    Arguments:\n        \u003ch5\u003eask\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is your ask.\n        \u003ch5\u003etitle\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is the title of question. [Optional] default='Question'\n        \u003ch5\u003espace\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If your asks will have spaces on top or below. [Optional] default=True\n\n    Return:\n        Boolean: True to Yes and False to No.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.QuestionOption\u003c/summary\u003e\n\n    QuestionOption(ask:str, title:str = 'Question', space:bool = True, options=[\"Option 1\", \"Option 2\", \"Option 3\", \"Option 4\"])\n\n    Use this function to obtain two answer, Yes or No, you can change the options.\n        \n    Arguments:\n        \u003ch5\u003eask\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is your ask.\n        \u003ch5\u003etitle\u003c/h5\u003e {\u003ccode\u003eString\u003c/code\u003e} It is the title of question. [Optional] default='Question'\n        \u003ch5\u003espace\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If your asks will have spaces on top or below. [Optional] default=True\n        \u003ch5\u003eoptions\u003c/h5\u003e {\u003ccode\u003eList\u003c/code\u003e} It's your options. [Optional] default=[\"Option 1\", \"Option 2\", \"Option 3\", \"Option 4\"]\n\n    Return:\n        String: It's return the option chosen.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eInputron.AVG\u003c/summary\u003e\n\n    AVG(content:list, binsCalc:int = 4, isInt:bool = False, isFloat:bool = True, isStr:bool = False)\n\n    Use this function to calc Average of numbers to Grades.\n        \n    Arguments:\n        \u003ch5\u003econtent\u003c/h5\u003e {\u003ccode\u003eList\u003c/code\u003e} This is the list of numbers that will be used to calc.\n        \u003ch5\u003ebinsCalc\u003c/h5\u003e {\u003ccode\u003eInt\u003c/code\u003e} It is the divider of calc. [Optional] default=4\n        \u003ch5\u003eisInt\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If the return is in integer format. [Optional] default=False\n        \u003ch5\u003eisFloat\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If the return is in floating format. [Optional] default=True\n        \u003ch5\u003eisStr\u003c/h5\u003e {\u003ccode\u003eBool\u003c/code\u003e} If the return is in string format. [Optional] default=False\n\n\u003c/details\u003e\n\n\n\n### Contributing\n\n1. Do a fork of Repository.\n\n2. Create a branch to your feature \n    `git checkout -b features/feature_name`\n\n3. Do commits of your changes\n    `git commit -am 'feature name'`\n\n4. Send to the branch\n    `git push origin features/feature_name`\n\n5. Open a Pull Request \n\n# License\n\n\u003cp\u003eThis project is licensed under the MIT License.\u003c/p\u003e\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4brielxavier%2Finputron-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4brielxavier%2Finputron-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4brielxavier%2Finputron-lib/lists"}