{"id":43395271,"url":"https://github.com/namehash/ens-label-inspector","last_synced_at":"2026-02-02T14:25:29.171Z","repository":{"id":193142035,"uuid":"681109533","full_name":"namehash/ens-label-inspector","owner":"namehash","description":"Detailed inspection of labels in ENS names","archived":false,"fork":false,"pushed_at":"2024-12-22T17:57:39.000Z","size":19282,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-27T16:41:16.523Z","etag":null,"topics":["ens"],"latest_commit_sha":null,"homepage":"https://nameguard.io","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/namehash.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-21T09:32:52.000Z","updated_at":"2025-02-01T19:00:33.000Z","dependencies_parsed_at":"2024-11-25T09:34:33.704Z","dependency_job_id":null,"html_url":"https://github.com/namehash/ens-label-inspector","commit_stats":null,"previous_names":["namehash/ens-label-inspector"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/namehash/ens-label-inspector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namehash%2Fens-label-inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namehash%2Fens-label-inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namehash%2Fens-label-inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namehash%2Fens-label-inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namehash","download_url":"https://codeload.github.com/namehash/ens-label-inspector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namehash%2Fens-label-inspector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T12:48:30.580Z","status":"ssl_error","status_checked_at":"2026-02-02T12:46:38.384Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ens"],"created_at":"2026-02-02T14:25:28.376Z","updated_at":"2026-02-02T14:25:29.165Z","avatar_url":"https://github.com/namehash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NameHash Label Inspector\n\nThe Label Inspector is a critical component of the NameHash software stack that is used to protect users from malicious domain names.\n\n* ENS-tailored domain name label inspection\n  * Character and grapheme information, scripts, codepoints, ...\n  * Confusable grapheme detection\n  * Rendering checks for different fonts\n  * ENSIP-15 verification with detailed explanations and auto-suggestions\n  * Punycode and DNS hostname compatibility checks\n* Supports many use cases\n  * Standalone Python library ([PyPI](https://pypi.org/project/ens-label-inspector/))\n  * ASGI web server\n  * [Amazon AWS Lambda](https://aws.amazon.com/lambda/) handler\n\n## Getting Started\n\n### Installing the library\n\nThe Label Inspector is available as a Python library on [PyPI](https://pypi.org/project/ens-label-inspector/). You can install it with `pip`:\n\n```bash\npip install ens-label-inspector\n```\n\n### Starting the web server\n\nA FastAPI application is included in the `label_inspector.web_api` module. The default installation from PyPI does not include an ASGI server, so you will need to install one separately. For example, to install [uvicorn](https://www.uvicorn.org):\n\n```bash\npip install 'uvicorn[standard]'\n```\n\nYou can start the web server with:\n\n```bash\nuvicorn label_inspector.web_api:app\n```\n\nMake an example request:\n\n```bash\ncurl -d '{\"label\":\"nick\"}' -H \"Content-Type: application/json\" -X POST http://localhos\nt:8000\n# {\"label\":\"nick\",\"status\":\"normalized\", ...\n```\n\n### Using the AWS Lambda handler\n\nThe Label Inspector includes a handler for [Amazon AWS Lambda](https://aws.amazon.com/lambda/). It is available in the `label_inspector.lambda` module. You can use it to create a Lambda function that will respond to HTTP requests. It uses the [mangum](https://mangum.io) library.\n\nSee the included [Dockerfile](/Dockerfile) for an example of how to build a Lambda deployment package.\n\n## For maintainers\n\nSee [DEV.md](DEV.md).\n\n## License\n\nLicensed under the MIT License, Copyright © 2023-present [NameHash Labs](https://namehashlabs.org).\n\nSee [LICENSE](./LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamehash%2Fens-label-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamehash%2Fens-label-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamehash%2Fens-label-inspector/lists"}