{"id":22884252,"url":"https://github.com/theitsprojects/itsutils","last_synced_at":"2025-03-31T17:29:08.103Z","repository":{"id":41417364,"uuid":"509512655","full_name":"TheItsProjects/ItsUtils","owner":"TheItsProjects","description":"a utility package created and published by ItsNameless","archived":false,"fork":false,"pushed_at":"2023-02-27T10:20:58.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-09T03:46:22.635Z","etag":null,"topics":["python","python3","utilites","utility"],"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/TheItsProjects.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":"2022-07-01T15:56:39.000Z","updated_at":"2022-07-03T07:45:56.000Z","dependencies_parsed_at":"2025-02-06T22:38:43.696Z","dependency_job_id":null,"html_url":"https://github.com/TheItsProjects/ItsUtils","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheItsProjects%2FItsUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheItsProjects%2FItsUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheItsProjects%2FItsUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheItsProjects%2FItsUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheItsProjects","download_url":"https://codeload.github.com/TheItsProjects/ItsUtils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246508368,"owners_count":20788982,"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":["python","python3","utilites","utility"],"created_at":"2024-12-13T19:17:04.121Z","updated_at":"2025-03-31T17:29:08.079Z","avatar_url":"https://github.com/TheItsProjects.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ItsUtils\n\nItsUtils is a small utility-package created by ItsNameless.\n\nThe package contains some small utilities that i created for some bigger projects and that i wanted to give to the public, so you can create bigger projects too!\n\n## Installing\n\nTo install this package, simply use pip:\n\n```\npip install ItsUtils\n```\n\nOr install the development version using:\n\n```\npip install git+https://github.com/TheItsProjects/ItsUtils\n```\n\n## Contributing\n\nIf you want to give me an idea for a new feature or want to create new features yourself, you can visit the GitHub Repository for this project:\n\nhttps://github.com/TheItsProjects/ItsUtils\n\n## Features\n\nThese are the currently available features:\n\n### StringMath\n\n```py\nfrom its_utils.string_math import StringMath\n\nprint(StringMath.full('1*10^45*(3+5)'))\n```\n\nThis utility calculates the result of a stringified mathematical expression and returns the result as an integer.\n\nIt uses the Shunting-Yard algorithm and follows the correct order of operation rules.\n\nIf you provide an empty string as the input, a `ValueError` will be raised.\n\nThe function `StringMath.check_valid_expression()` can be used to check whether a string is valid and can be processed. If the string is valid, the function will return `True`.\n\n### WordMath\n\n```py\nfrom its_utils.word_math import WordMath\n\nprint(WordMath.full('siebentausendvierhundertunddreiundachtzig'))\n```\n\nThis utility returns the integer expression of a numeral.\n\nCurrently, it only works for the german language, but i may be later extended to support other languages too.\n\nIt works with numbers up to `999,999,999 (neunhundertneunundneunzig millionen neunhundertneunundneunzigtausendneunhundertundneunundneunzig)`, but may be later extend to even bigger numbers.\n\n### DebugPrompt\n\n```py\nfrom its_utils.debug_prompt import Input\n\ninp = Input.input(\"Type your name: \", 5)\n```\n\nThis utility can get an input from the user for a given number of seconds. If no input was given after these seconds, it timeouts and returns None.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheitsprojects%2Fitsutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheitsprojects%2Fitsutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheitsprojects%2Fitsutils/lists"}