{"id":26898,"library":"django-channels","title":"Django Channels (notification library)","description":"A Django library for sending notifications through various channels (e.g., HipChat, Slack, Yo). Latest version is 0.7.0, but the project was renamed to kawasemi as of v0.8.0. The rename introduced breaking import changes. PyPI slug is django-channels but the active development continues under the new name. Release cadence is irregular.","status":"deprecated","version":"0.7.0","language":"python","source_language":"en","source_url":"https://github.com/ymyzk/django-channels","tags":["notifications","django","hipchat","slack","deprecated"],"install":[{"cmd":"pip install django-channels==0.7.0","lang":"bash","label":"Install last version under old name"}],"dependencies":[{"reason":"Required for Django integration","package":"django","optional":false}],"imports":[{"note":"The package was renamed to kawasemi at v0.8.0. After v1.0.0, the Django API moved to kawasemi.django.","wrong":"from django_channels import send","symbol":"send","correct":"from kawasemi.django import send"},{"note":"Non-Django usage was introduced in v1.0.0 under kawasemi.","wrong":"from django_channels import Kawasemi","symbol":"Kawasemi (non-Django)","correct":"from kawasemi import Kawasemi"}],"quickstart":{"code":"# Django integration for django-channels v0.7.0 (old naming)\n# Note: This is the deprecated version; use kawasemi for current code.\n\n# settings.py\nCHANNELS = {\n    'hipchat': {\n        'api_id': os.environ.get('HIPCHAT_API_ID', ''),\n        'api_token': os.environ.get('HIPCHAT_API_TOKEN', ''),\n        'room_id': '12345',\n    }\n}\n\n# In your code\nimport django_channels\nfrom django_channels import send\nsend('Hello from v0.7.0!')\n","lang":"python","description":"Minimal example using the old django-channels package (v0.7.0). For the latest, use kawasemi."},"warnings":[{"fix":"pip install kawasemi and change imports to kawasemi.","message":"Package renamed from django-channels to kawasemi as of v0.8.0. All imports and code must be updated.","severity":"breaking","affected_versions":"<0.8.0"},{"fix":"Use 'from kawasemi.django import send' instead of 'import kawasemi; kawasemi.send()'.","message":"In v1.0.0, the Django API changed from direct module-level send() to kawasemi.django.send().","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Upgrade Python to 3.5+ for v2.x, 3.5+ for v3.x.","message":"Python 3.3 support dropped in v2.0.0, Python 3.4 support dropped in v3.0.0.","severity":"deprecated","affected_versions":">=2.0.0, >=3.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'import django_channels' (with dash not underscore) or better, install kawasemi and use 'from kawasemi.django import send'.","cause":"django-channels v0.7.0 installed but import uses wrong name.","error":"ModuleNotFoundError: No module named 'django_channels'"},{"fix":"Use 'from django_channels import send' only if you have the correct version. Actually in v0.7.0, the correct import is 'from django_channels import send' but the package is outdated; upgrade to kawasemi.","cause":"The send function is not available in the old v0.7.0 django-channels package's __init__.py. It lives in a submodule.","error":"ImportError: cannot import name 'send' from 'django_channels'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}