{"id":19440420,"url":"https://github.com/devinit/slack_messages","last_synced_at":"2026-05-29T16:31:06.757Z","repository":{"id":72842346,"uuid":"585108276","full_name":"devinit/slack_messages","owner":"devinit","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-17T10:48:07.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-02-25T07:29:08.226Z","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/devinit.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}},"created_at":"2023-01-04T10:40:21.000Z","updated_at":"2023-01-12T17:54:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd6ba68f-2a42-4fda-bd8f-940c2f77e9d8","html_url":"https://github.com/devinit/slack_messages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devinit/slack_messages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fslack_messages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fslack_messages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fslack_messages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fslack_messages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinit","download_url":"https://codeload.github.com/devinit/slack_messages/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fslack_messages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33662205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-10T15:29:19.349Z","updated_at":"2026-05-29T16:31:06.731Z","avatar_url":"https://github.com/devinit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack_hero\n\nAn internal package to use to send exceptions to slack\n\n## Usage\n\n1. Install the package in your application.\n\n        pip install slack_hero\n\n2. Add the folowing environment variables to your environment\n\n        SLACK_BOT_TOKEN - auth token for your slack application. You might have to create a slack application and add it to the target channel.(https://api.slack.com/apps)\n\n        CHANNEL - slack channel to which the messages should be sent\n\n3. Import the log module\n\n        import slack_hero.log\n\n3. Configure your logger to send exceptions to slack as below\n\n        LOGGING = {\n        'version': 1,\n        'disable_existing_loggers': False,\n        'filters': {\n            'require_debug_false': {\n                '()': 'django.utils.log.RequireDebugFalse',\n            },\n        },\n        'handlers': {\n            'slack_admins': {\n                'level': 'ERROR',\n                'filters': ['require_debug_false'],\n                'class': 'slack_hero.log.SlackExceptionHandler',\n            },\n        },\n        'loggers': {\n            'django': {\n                'handlers': [ 'slack_admins'],\n                'propagate': True,\n            },\n        },\n        }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fslack_messages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinit%2Fslack_messages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fslack_messages/lists"}