{"id":29109686,"url":"https://github.com/hofiorg/python-scripts","last_synced_at":"2025-06-29T07:04:50.317Z","repository":{"id":226761625,"uuid":"769581450","full_name":"hofiorg/python-scripts","owner":"hofiorg","description":"A collection of small Python scripts including:  check_urls.py, filter_lambda.py, hello_world.py","archived":false,"fork":false,"pushed_at":"2025-06-23T16:25:10.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T16:25:32.959Z","etag":null,"topics":["python","python-script"],"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/hofiorg.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,"zenodo":null}},"created_at":"2024-03-09T13:38:16.000Z","updated_at":"2025-06-23T16:25:14.000Z","dependencies_parsed_at":"2024-04-12T08:12:23.541Z","dependency_job_id":"cdf760e9-0a7b-405d-adc9-98b4bbe0c76a","html_url":"https://github.com/hofiorg/python-scripts","commit_stats":null,"previous_names":["hofiorg/python_examples","hofiorg/python_scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hofiorg/python-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hofiorg%2Fpython-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hofiorg%2Fpython-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hofiorg%2Fpython-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hofiorg%2Fpython-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hofiorg","download_url":"https://codeload.github.com/hofiorg/python-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hofiorg%2Fpython-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262553201,"owners_count":23327588,"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","python-script"],"created_at":"2025-06-29T07:04:40.666Z","updated_at":"2025-06-29T07:04:50.306Z","avatar_url":"https://github.com/hofiorg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Scripts\n\n[![Python](https://img.shields.io/badge/Python-3.12-blue?logo=python\u0026logoColor=white)](https://www.python.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Pylint, Pytest and Build](https://github.com/hofiorg/python-scripts/actions/workflows/pylint.yml/badge.svg)](https://github.com/hofiorg/python-scripts/actions/workflows/pylint.yml)\n\nA collection of small Python scripts including:\n- [check_urls.py](./scripts/check_urls.py)\n- [filter_lambda.py](./scripts/filter_lambda.py)\n- [hello_world.py](./scripts/hello_world.py)\n\n## 📥 Installation\n\n### Mac with Pyenv\n\nSee [this guide on StackOverflow](https://stackoverflow.com/a/71657414)\n\n### Install modules with pip\n\n```sh\npip install .\n```\n\n## 🧹 Lint\n\n```sh\npylint $(git ls-files '*.py')\n```\n\n## 🧪 Test\n\n```sh\npytest tests --junitxml=junit/test-results.xml --html=junit/test-results.html\n```\n\n## 🛠️ Build\n\n```sh\npython -m build\n```\n\n## 🧾 Scripts\n\n### check_urls.py\n\nThis script checks URLs defined in a JSON file. For each URL, it verifies if the response\ncontains a specific string and prints the result using emojis to indicate success or failure.\n\n#### Usage check_url\n\n```sh\nscripts/check_urls.py data/urls.json\n```\n\n### filter_lambda.py\n\nlambda function within filter to select fruits starting with \"A\" from a list\n\n#### Usage filter_lambda\n\n```sh\nscripts/filter_lambda.py\n```\n\n### hello_world.py\n\nsimple hello world\n\n#### Usage hello_world\n\n```sh\nscripts/hello_world.py\n```\n\n## 🌐 Related Links\n\n| Tool / Topic | Link                              |\n|--------------|-----------------------------------|\n| Pyenv        | \u003chttps://github.com/pyenv/pyenv\u003e  |\n| Build module | \u003chttps://pypi.org/project/build/\u003e |\n| Pytest       | \u003chttps://docs.pytest.org/\u003e        |\n| Pylint       | \u003chttps://pylint.pycqa.org/\u003e       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhofiorg%2Fpython-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhofiorg%2Fpython-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhofiorg%2Fpython-scripts/lists"}