{"id":26432331,"url":"https://github.com/webu/wagtail-neuralyzer","last_synced_at":"2026-02-21T04:33:41.248Z","repository":{"id":282424269,"uuid":"948576495","full_name":"webu/wagtail-neuralyzer","owner":"webu","description":"Port django neuralyzer to wagtail","archived":false,"fork":false,"pushed_at":"2025-12-10T13:07:46.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-10T19:56:49.355Z","etag":null,"topics":["anonymizer","wagtail"],"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/webu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-14T15:22:05.000Z","updated_at":"2025-12-10T13:07:49.000Z","dependencies_parsed_at":"2025-04-03T14:24:02.889Z","dependency_job_id":"e978e43b-dc2f-4db4-87a0-03e1ebde6099","html_url":"https://github.com/webu/wagtail-neuralyzer","commit_stats":null,"previous_names":["webu/wagtail-neuralyzer"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/webu/wagtail-neuralyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webu%2Fwagtail-neuralyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webu%2Fwagtail-neuralyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webu%2Fwagtail-neuralyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webu%2Fwagtail-neuralyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webu","download_url":"https://codeload.github.com/webu/wagtail-neuralyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webu%2Fwagtail-neuralyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29673785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T03:11:15.450Z","status":"ssl_error","status_checked_at":"2026-02-21T03:10:34.920Z","response_time":107,"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":["anonymizer","wagtail"],"created_at":"2025-03-18T06:18:01.610Z","updated_at":"2026-02-21T04:33:41.217Z","avatar_url":"https://github.com/webu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wagtail-neuralyzer\n\nPairs with [django-neuralyzer](https://github.com/webu/django-neuralyzer/), with wagtail support.\n\n## Install\n\n```\npip install wagtail-neuralyzer\n```\n\n## Register a model to have neuralyze action\n\nAdd `wagtail_neuralyzer` to your `INSTALLED_APP`:\n\n```py\nINSTALLED_APP = [\n    ...\n    \"django_neuralyzer\",\n    \"wagtail_neuralyzer\",\n    ...\n]\n```\n\n### Add item action\n\nAdd the `NeuralyzeSnippetViewSetMixin` to your snippet class:\n\n```py\n\nfrom wagtail_neuralyzer.views import NeuralyzeSnippetViewSetMixin\nfrom wagtail_neuralyzer.views import NeuralyzeView\n\nfrom my_app.neuralyzers import PersonNeuralyzer\n\n# Create a new view that handle url and action as well as neuralyzer class\nclass OperatorNeuralyzeView(NeuralyzeView):\n    neuralyzer_class = OperatorNeuralyzer\n\n\n# inherit NeuralyzeSnippetViewSetMixin to register new url and neuralyze view\nclass PersonSnippetViewSet(NeuralyzeSnippetViewSetMixin, SnippetViewSet):\n    model = Person\n    neuralyze_view_class = OperatorNeuralyzeView\n    ...\n```\n\nand finally register the new action:\n\n```py\nfrom wagtail import hooks\nfrom wagtail_neuralyzer.menu_item import NeuralyzeMenuItem\n\n@hooks.register(\"register_snippet_action_menu_item\")\ndef register_anonymize_menu_item(model):\n    if model == Person:\n        return NeuralyzeMenuItem()\n```\n\nAnd _Tada_, your model should have an \"Anonymize\" action together with save/delete/publish/...\n\n### Add bulk action\n\nYou can also add bulk action to the index view by registering wagtail hook\n\n```py\nfrom wagtail import hooks\n\nfrom wagtail_neuralyzer.action import NeuralyzeBulkAction\n\nfrom my_app.models import Person\nfrom my_app.neuralyzers import StudentNeuralyzer\n\n@hooks.register(\"register_bulk_action\")\nclass PersonNeuralyzerBulkAction(NeuralyzeBulkAction):\n    models = [Person] # specify model here\n    neuralyzer_class = PersonNeuralyzer # and neuralyzer to use here\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebu%2Fwagtail-neuralyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebu%2Fwagtail-neuralyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebu%2Fwagtail-neuralyzer/lists"}