zikphil / chatkit-server-python Goto Github PK
View Code? Open in Web Editor NEWUnofficial Python SDK for the Pusher ChatKit Server APIs
Unofficial Python SDK for the Pusher ChatKit Server APIs
The PyPi release is 1.0.4 and was released on March 11 2019 but there has been a subsequent bug fix #1 for message creation that needs to be deployed to PyPi.
Hi, django raises an exception when i add from pusher_chatkit import PusherChatKit
and from pusher_chatkit.backends import RequestsBackend
when i import this library . The exception raised is django.core.exceptions.ImproperlyConfigured: The included URLconf 'coincard.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
I would like to try your application on a project using django and React. But I cannot understand from the description in readme how to use it correctly. What do I need to do for connect the pusher to an existing project?
data = chatkit.create_user(...)
instead of a three-dot?Traceback (most recent call last):
File "quickstart.py", line 7, in <module>
RequestsBackend
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/pusher_chatkit.py", line 20, in __init__
self.client = PusherChatKitClient(backend, instance_locator)
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/client.py", line 13, in __init__
self.host = self.instance_locator[1] + '.pusherplatform.io'
IndexError: list index out of range
Traceback (most recent call last):
File "quickstart.py", line 1, in <module>
from pusher_chatkit import PusherChatKit
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/__init__.py", line 1, in <module>
from .pusher_chatkit import PusherChatKit
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/pusher_chatkit.py", line 5, in <module>
from pusher_chatkit.backends import RequestsBackend
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/backends/__init__.py", line 2, in <module>
from .Tornado import TornadoBackend
File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/backends/Tornado.py", line 2, in <module>
import tornado
ModuleNotFoundError: No module named 'tornado'
I installed tornado, but my application on Django, does your application have to use Tornado definitely?
Wouldn't it be a problem for you to help me deal with these questions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.