{"id":34060464,"url":"https://github.com/aljaroudi/randos-pip","last_synced_at":"2026-04-06T09:01:37.250Z","repository":{"id":49957139,"uuid":"367837609","full_name":"aljaroudi/randos-pip","owner":"aljaroudi","description":"A Python pip package for generating randomness","archived":false,"fork":false,"pushed_at":"2021-06-07T22:52:11.000Z","size":146,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-20T11:58:44.807Z","etag":null,"topics":["random-generation","randomizer"],"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/aljaroudi.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-05-16T09:35:12.000Z","updated_at":"2021-05-20T18:37:57.000Z","dependencies_parsed_at":"2022-08-30T17:10:55.288Z","dependency_job_id":null,"html_url":"https://github.com/aljaroudi/randos-pip","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/aljaroudi/randos-pip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljaroudi%2Frandos-pip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljaroudi%2Frandos-pip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljaroudi%2Frandos-pip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljaroudi%2Frandos-pip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aljaroudi","download_url":"https://codeload.github.com/aljaroudi/randos-pip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljaroudi%2Frandos-pip/sbom","scorecard":{"id":184854,"data":{"date":"2025-08-11","repo":{"name":"github.com/aljaroudi/randos-pip","commit":"a908b6ea9a514a4ceaf48eae4966b2616e8393e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/aljaroudi/randos-pip/python-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/aljaroudi/randos-pip/python-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/aljaroudi/randos-pip/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/aljaroudi/randos-pip/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:34","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.0.6 not signed: https://api.github.com/repos/aljaroudi/randos-pip/releases/43180632","Warn: release artifact 0.0.4 not signed: https://api.github.com/repos/aljaroudi/randos-pip/releases/43099371","Warn: release artifact 0.0.3 not signed: https://api.github.com/repos/aljaroudi/randos-pip/releases/43048352","Warn: release artifact 0.0.2 not signed: https://api.github.com/repos/aljaroudi/randos-pip/releases/43023769","Warn: release artifact 0.0.6 does not have provenance: https://api.github.com/repos/aljaroudi/randos-pip/releases/43180632","Warn: release artifact 0.0.4 does not have provenance: https://api.github.com/repos/aljaroudi/randos-pip/releases/43099371","Warn: release artifact 0.0.3 does not have provenance: https://api.github.com/repos/aljaroudi/randos-pip/releases/43048352","Warn: release artifact 0.0.2 does not have provenance: https://api.github.com/repos/aljaroudi/randos-pip/releases/43023769"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T19:36:53.675Z","repository_id":49957139,"created_at":"2025-08-16T19:36:53.675Z","updated_at":"2025-08-16T19:36:53.675Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["random-generation","randomizer"],"created_at":"2025-12-14T04:06:36.037Z","updated_at":"2026-04-06T09:01:37.244Z","avatar_url":"https://github.com/aljaroudi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# randos\n\nA Python pip package for generating randomness\n\u003c!-- [![Repo Size](https://img.shields.io/github/repo-size/aljaroudi/randos-pip)](#) --\u003e\n[![Downloads](https://pepy.tech/badge/randos/month)](#)\n[![Python Support](https://img.shields.io/pypi/pyversions/randos)](#)\n[![pip version](https://img.shields.io/pypi/v/randos)](#)\n[![a](https://img.shields.io/github/workflow/status/aljaroudi/randos-pip/Python%20package/main?label=test)](#)\n[![CodeClimate](https://img.shields.io/codeclimate/maintainability-percentage/aljaroudi/randos-pip)](#)\n[![Issues](https://img.shields.io/codeclimate/issues/aljaroudi/randos-pip)](#)\n[![Debt](https://img.shields.io/codeclimate/tech-debt/aljaroudi/randos-pip)](#)\n\n## Requirements\n\nPython 3.7+\n\n## Installation\n\n```console\npip install randos\n```\n\n## Usage\n\n#### 1. Random integers\n\n```python\nrandom_ints(length: int, minimum: int = 0, maximum: int = 100) -\u003e list[int]\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003erandom_ints(3)\n[3,5,7]\n```\n\n#### 2. Random line from a file\n\n```python\nrandom_line(file_name: str, separator: str = None, number_of_lines: int = None) -\u003e str | tuple[str,str]\n```\n\n#### 3. Random city\n\n```python\nrandom_city(include_country: bool = False) -\u003e str | tuple[str,str]\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003ecity = random_city()\n'San Diego'\n\u003e\u003e\u003ecity, country = random_city(True)\n('San Diego', 'United States')\n```\n\n#### 4. Random country\n\n```python\nrandom_country(include_abbr: bool = False) -\u003e str | tuple[str,str]\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003ecountry = random_country()\n'United States'\n\u003e\u003e\u003ecountry, abbr = random_country(True)\n('United States', 'US')\n```\n\n#### 5. Random emoji\n\n```python\nrandom_emoji(include_desc: bool = False) -\u003e str | tuple[str,str]\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003eemoji = random_emoji()\n'🦝'\n\u003e\u003e\u003eemoji, desc = random_emoji(True)\n('🦝,', 'Raccoon')\n```\n\n#### 6. Random bool\n\n```python\nrandom_bool() -\u003e bool\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003eboolean = random_bool()\nTrue\n```\n\n#### 7. Random travel city\n\n```python\nrandom_travel_city(include_country: bool = False) -\u003e str | tuple[str,str]\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003ecity = random_travel_city()\n'San Diego'\n\u003e\u003e\u003ecity, country = random_travel_city(True)\n('San Diego', 'United States')\n```\n\n#### 7. Random tourist attraction\n\n```python\nrandom_travel_dest() -\u003e str\n```\n\n- ##### example\n\n```python\n\u003e\u003e\u003eplace = random_travel_destination()\n'Glacier National Park'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faljaroudi%2Frandos-pip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faljaroudi%2Frandos-pip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faljaroudi%2Frandos-pip/lists"}