Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit de67de8

Browse files
authored
Merge pull request #56 from slazarov/0.0.7.1
0.0.7.1
2 parents 8415fc9 + 207995e commit de67de8

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can use it for various purposes, some examples include:
4444

4545
Use your imagination.
4646

47-
### Notices
47+
# Notices
4848
17/03/2018
4949
I have just released a new [SignalR client](https://github.com/slazarov/python-signalr-client) based on asyncio. I plan to replace the existing one that uses gevent.
5050
The main implications are that support is going to transition to Python3.4+ because asyncio does not support lower versions.

bittrex_websocket/_signalr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from ._exceptions import WebSocketConnectionClosedException
44

55

6-
class Connection(signalr.Connection):
6+
class Connection(signalr.Connection, object):
77
def __init__(self, url, session):
88
super(Connection, self).__init__(url, session)
99
self.error_trap = None

bittrex_websocket/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
MSG_INFO_CONN_INIT_RECONNECT = _CONN_PREFIX + 'Initiating reconnection procedure for all relevant subscriptions.'
3939
NSG_INFO_ORDER_BOOK_REQUESTED = _SUB_PREFIX + 'Order book snapshot requested.'
4040
NSG_INFO_ORDER_BOOK_RECEIVED = _SUB_PREFIX + 'Order book snapshot synced.'
41-
MSG_ERROR_CONN_SOCKET = _CONN_PREFIX + 'Timeout for url {}. Please check your internet connection is on.'
41+
MSG_ERROR_CONN_SOCKET = _CONN_PREFIX + 'Timeout for url {}. Please check your internet connection is on. Have you installed node.js?'
4242
MSG_ERROR_CONN_FAILURE = _CONN_PREFIX + 'Failed to establish connection through supplied URLS. Leaving to ' \
4343
'watchdog...'
4444
MSG_ERROR_CONN_TIMEOUT = _CONN_PREFIX + 'Timeout for url {} after {} seconds.'

bittrex_websocket/websocket_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
# Stanislav Lazarov
66

77
from __future__ import print_function
8-
9-
# from signalr import Connection
108
from ._signalr import Connection
119
import logging
1210
from abc import ABCMeta, abstractmethod

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
signalr-client-slazarov==0.0.7.2
2+
#git+https://github.com/slazarov/signalr-client-py.git@develop#egg=signalr-client-py==0.0.7.2
13
cfscrape>=1.9.4
2-
signalr-client==0.0.7
34
requests[security]==2.18.4
45
Events==0.3
56
websocket-client==0.47.0
6-
gevent>=1.3a1
7-
wsaccel>=0.6.2
7+
gevent>=1.3a1

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
#!/usr/bin/python
22

33
from setuptools import setup, find_packages
4-
4+
55
install_requires = \
66
[
77
'cfscrape>=1.9.4',
8-
'signalr-client==0.0.7',
98
'requests[security]==2.18.4',
109
'Events==0.3',
1110
'websocket-client>=0.47.0',
1211
'gevent>=1.3a1',
13-
'wsaccel>=0.6.2'
12+
'signalr-client-slazarov==0.0.7.2'
1413
]
1514

1615
setup(
1716
name='bittrex_websocket',
18-
version='0.0.7.0',
17+
version='0.0.7.1',
1918
author='Stanislav Lazarov',
2019
author_email='s.a.lazarov@gmail.com',
2120
license='MIT',
21+
# dependency_links=['https://github.com/slazarov/signalr-client-py/tarball/develop#egg=signalr-client-py-0.0.7.2'],
2222
url='https://github.com/slazarov/python-bittrex-websocket',
2323
packages=find_packages(exclude=['tests*']),
2424
install_requires=install_requires,
@@ -42,4 +42,4 @@
4242
'Programming Language :: Python :: 3.5',
4343
'Programming Language :: Python :: 3.6'
4444
]
45-
)
45+
)

0 commit comments

Comments
 (0)