{"id":41096450,"url":"https://github.com/netauth/netauth-python","last_synced_at":"2026-01-22T14:58:16.181Z","repository":{"id":250975441,"uuid":"835999429","full_name":"netauth/netauth-python","owner":"netauth","description":"NetAuth client library for Python","archived":false,"fork":false,"pushed_at":"2024-08-07T05:11:33.000Z","size":46,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-15T07:37:35.872Z","etag":null,"topics":["authentication-service","netauth","python","secure-access"],"latest_commit_sha":null,"homepage":"https://python.netauth.org","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/netauth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-07-31T00:46:12.000Z","updated_at":"2024-09-25T22:19:24.000Z","dependencies_parsed_at":"2024-08-07T07:03:29.766Z","dependency_job_id":"a737e0f5-3c61-4c43-aa8b-9a541bc9cbc9","html_url":"https://github.com/netauth/netauth-python","commit_stats":null,"previous_names":["classabbyamp/netauth-python3","classabbyamp/netauth-python","netauth/netauth-python"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/netauth/netauth-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netauth%2Fnetauth-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netauth%2Fnetauth-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netauth%2Fnetauth-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netauth%2Fnetauth-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netauth","download_url":"https://codeload.github.com/netauth/netauth-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netauth%2Fnetauth-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["authentication-service","netauth","python","secure-access"],"created_at":"2026-01-22T14:58:16.095Z","updated_at":"2026-01-22T14:58:16.166Z","avatar_url":"https://github.com/netauth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## netauth-python\n\nA [NetAuth](https://netauth.org) client library for Python.\n\n### Installation\n\n```\npip install netauth\n```\n\n### Usage\n\nnetauth-python centers around the `NetAuth` object:\n\n```py\nna = netauth.NetAuth(\"netauth.example.org\")\n\ntry:\n    resp = na.system_status()\n    print(resp)\nexcept netauth.error.NetAuthRpcError as e:\n    print(f\"Request failed: {e}\")\n\nna.close()\n```\n\n`NetAuth` can also be used as a context manager and be initialized from a NetAuth configuration file:\n\n```py\nwith netauth.NetAuth.with_config(Path(\"/etc/netauth/config.toml\")) as na:\n    try:\n        resp = na.system_status()\n        print(resp)\n    except netauth.error.NetAuthRpcError as e:\n        print(f\"Request failed: {e}\")\n```\n\nFor interactive or dynamic applications, operations that require authentication can use a callback to retrieve the user's secret:\n\n```py\ndef secret_cb() -\u003e str:\n    return getpass(prompt=\"Secret: \")\n\nwith netauth.NetAuth(\"netauth.example.org\", entity=\"demo\", secret=secret_cb) as na:\n    try:\n        na.entity_kv_add(\"demo\", \"foo\", [\"bar\", \"baz\"])\n    except error.NetAuthRpcError as e:\n        print(e)\n```\n\nFor more information, see the [API documentation](https://python.netauth.org).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetauth%2Fnetauth-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetauth%2Fnetauth-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetauth%2Fnetauth-python/lists"}