{"id":34099776,"url":"https://github.com/starlangsoftware/util-py","last_synced_at":"2025-12-14T16:02:53.041Z","repository":{"id":57446395,"uuid":"194671896","full_name":"StarlangSoftware/Util-Py","owner":"StarlangSoftware","description":"Simple utils","archived":false,"fork":false,"pushed_at":"2025-02-27T11:06:05.000Z","size":70,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T13:27:03.615Z","etag":null,"topics":["permutation","subset"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StarlangSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-01T12:50:48.000Z","updated_at":"2025-02-27T11:06:09.000Z","dependencies_parsed_at":"2023-02-17T22:45:40.845Z","dependency_job_id":null,"html_url":"https://github.com/StarlangSoftware/Util-Py","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/StarlangSoftware/Util-Py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarlangSoftware%2FUtil-Py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarlangSoftware%2FUtil-Py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarlangSoftware%2FUtil-Py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarlangSoftware%2FUtil-Py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StarlangSoftware","download_url":"https://codeload.github.com/StarlangSoftware/Util-Py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarlangSoftware%2FUtil-Py/sbom","scorecard":{"id":133811,"data":{"date":"2025-08-04","repo":{"name":"github.com/StarlangSoftware/Util-Py","commit":"eb7a10e14cec8b8f06234caaad5a46b39d7fbb82"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T05:51:52.219Z","repository_id":57446395,"created_at":"2025-08-16T05:51:52.220Z","updated_at":"2025-08-16T05:51:52.220Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27730945,"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","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["permutation","subset"],"created_at":"2025-12-14T16:02:52.090Z","updated_at":"2025-12-14T16:02:53.030Z","avatar_url":"https://github.com/StarlangSoftware.png","language":"Python","readme":"For Developers\n============\nYou can also see [Cython](https://github.com/starlangsoftware/Util-Cy), [Java](https://github.com/starlangsoftware/Util), [C++](https://github.com/starlangsoftware/Util-CPP), [C](https://github.com/starlangsoftware/Util-C), [Swift](https://github.com/starlangsoftware/Util-Swift), [Js](https://github.com/starlangsoftware/Util-Js), or [C#](https://github.com/starlangsoftware/Util-CS) repository.\n\n## Requirements\n\n* [Python 3.7 or higher](#python)\n* [Git](#git)\n\n### Python \n\nTo check if you have a compatible version of Python installed, use the following command:\n\n    python -V\n    \nYou can find the latest version of Python [here](https://www.python.org/downloads/).\n\n### Git\n\nInstall the [latest version of Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).\n\n## Pip Install\n\n\tpip3 install NlpToolkit-Util\n\t\n## Download Code\n\nIn order to work on code, create a fork from GitHub page. \nUse Git for cloning the code to your local or below line for Ubuntu:\n\n\tgit clone \u003cyour-fork-git-link\u003e\n\nA directory called Util will be created. Or you can use below link for exploring the code:\n\n\tgit clone https://github.com/starlangsoftware/Util-Py.git\n\n## Open project with Pycharm IDE\n\nSteps for opening the cloned project:\n\n* Start IDE\n* Select **File | Open** from main menu\n* Choose `Util-PY` file\n* Select open as project option\n* Couple of seconds, dependencies will be downloaded. \n\nDetailed Description\n============\n\n+ [Interval](#interval)\n+ [Subset](#subset)\n+ [SubsetFromList](#subsetfromlist)\n+ [Permutation](#permutation)\n\n## Interval \n\nAralık veri yapısını tutmak için Interval sınıfı\n\n\ta = Interval()\n\n1 ve 4 aralığı eklemek için\n\n\ta.add(1, 4)\n\ni. aralığın başını getirmek için (yukarıdaki örnekteki 1 gibi)\n\n\tgetFirst(self, index: int) -\u003e int\n\ni. aralığın sonunu getirmek için (yukarıdaki örnekteki 4 gibi)\n\n\tgetLast(self, index: int) -\u003e int\n\n## Subset \n\nAltküme tanımlamak ve tüm altkümelere ulaşmak için Subset ve SubsetFromList sınıfları\n\nSubset veri yapısını tanımlamak için\n\n\tSubset(self, rangeStart: int, rangeEnd: int, elementCount: int)\n\nBurada elemenCount elemanlı, elemanları rangeStart ile rangeEnd arasında değerler alabilen\ntüm altkümeleri gezen bir yapıdan bahsediyoruz. Örneğin\n\nSubset(1, 4, 2), bize iki elemanlı elemanlarını 1 ile 4 arasından gelen tüm alt kümeleri \nseçmek için kullanılan bir constructor'dır. Tüm altkümeleri elde etmek için\n\n\ta = Subset(1, 4, 2);\n\tsubset = a.get()\n\twhile a.next():\n\t\tsubset = a.get()\n\t\t....\n\nBurada subset sırasıyla {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4} altkümelerini gezer. \n\n## SubsetFromList \n\nAltküme tanımlamak ve tüm altkümelere ulaşmak için Subset ve SubsetFromList sınıfları\n\nSubsetFromList veri yapısını kullanmak için\n\n\tSubsetFromList(self, _list: list, elementCount: int)\n\nBurada elementCount elemanlı, elemanları list listesinden çekilen değerler olan ve tüm \naltkümeleri gezen bir yapıdan bahsediyoruz. Örneğin\n\nSubsetFromList([1, 2, 3, 4], 3), bize üç elemanlı elemanlarını [1, 2, 3, 4] listesinden \nseçen ve tüm alt kümeleri gezmekte kullanılan bir constructor'dır. Tüm altkümeleri elde \netmek için\n\n\ta = SubsetFromList([1, 2, 3, 4], 3)\n\tsubset = a.get()\n\twhile a.next():\n\t\tsubset = a.get()\n\t\t....\n\nBurada SubsetFromList sırasıyla {1, 2, 3}, {1, 2, 4}, {1, 3, 4}, {2, 3, 4} altkümelerini \ngezer. \n\n## Permutation\n\nPermütasyon tanımlamak ve tüm permütasyonlara ulaşmak için Permutation sınıfı\n\n\tPermutation(self, n: int)\n\nBurada 0 ile n - 1 arasındaki değerlerin tüm olası n'li permütasyonlarını gezen bir \nyapıdan bahsediyoruz. Örneğin\n\nPermutation(5), bize değerleri 0 ile 4 arasında olan tüm 5'li permütasyonları gezmekte \nkullanılan bir constructor'dır. Tüm permütasyonları elde etmek için\n\n\ta = Permutation(5)\n\tpermutation = a.get()\n\twhile a.next():\n\t\tpermutation = a.get();\n\t\t...\n\nBurada Permutation sırasıyla {0, 1, 2, 3, 4}, {0, 1, 2, 4, 3} gibi permütasyonları gezer.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarlangsoftware%2Futil-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarlangsoftware%2Futil-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarlangsoftware%2Futil-py/lists"}