{"id":29269687,"url":"https://github.com/roxy-wi/pyminitcp","last_synced_at":"2025-07-04T21:08:12.854Z","repository":{"id":302792778,"uuid":"1013634160","full_name":"roxy-wi/pyminitcp","owner":"roxy-wi","description":"A tiny, dependency-free Python library for TCP connectivity checks with IPv4/IPv6 and DNS support.","archived":false,"fork":false,"pushed_at":"2025-07-04T09:11:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-04T09:28:36.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/roxy-wi.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":"2025-07-04T08:08:00.000Z","updated_at":"2025-07-04T09:11:13.000Z","dependencies_parsed_at":"2025-07-04T09:28:54.133Z","dependency_job_id":"d72d70f8-c630-4ff2-b02f-85d419e9c696","html_url":"https://github.com/roxy-wi/pyminitcp","commit_stats":null,"previous_names":["roxy-wi/pyminitcp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/roxy-wi/pyminitcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxy-wi%2Fpyminitcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxy-wi%2Fpyminitcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxy-wi%2Fpyminitcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxy-wi%2Fpyminitcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roxy-wi","download_url":"https://codeload.github.com/roxy-wi/pyminitcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxy-wi%2Fpyminitcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619806,"owners_count":23489563,"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":[],"created_at":"2025-07-04T21:08:12.072Z","updated_at":"2025-07-04T21:08:12.840Z","avatar_url":"https://github.com/roxy-wi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyminitcp\n\n![PyPI version](https://img.shields.io/pypi/v/pyminitcp)\n![Build status](https://github.com/roxy-wi/pyminitcp/actions/workflows/ci.yml/badge.svg)\n![Python versions](https://img.shields.io/pypi/pyversions/pyminitcp)\n![License](https://img.shields.io/pypi/l/pyminitcp)\n\nA tiny, dependency-free Python library for TCP connectivity checks with IPv4/IPv6 and DNS support.\n\n## Features\n\n- Checks TCP connectivity for IPv4, IPv6, or domain names\n- Distinguishes between address families automatically\n- Returns response time and detailed error info\n\n## Usage\n\n```python\nfrom pyminitcp import tcp_check\n\nresult = tcp_check('google.com', 443)\nprint(result.as_dict())\n```\n\n## Result\n```python\n{\n  \"status\": 1,\n  \"resp_time\": 10.468006134033203,\n  \"error\": \"\",\n  \"family\": 2,\n  \"sockaddr\": [\n    \"74.125.205.139\",\n    80\n  ]\n}\n```\n\n## CLI Usage\n\n```sh\npyminitcp google.com 443\npyminitcp 8.8.8.8 53 --timeout 1\npyminitcp --json example.com 80\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froxy-wi%2Fpyminitcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froxy-wi%2Fpyminitcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froxy-wi%2Fpyminitcp/lists"}