Rossen Georgiev
2230db4487
fix generate_session_id() in py3
hexlify returns bytes apperantly ¯\_(ツ)_/¯
9 years ago
Rossen Georgiev
9b3cff7f8a
SteamClient: cache session from get_web_session()
* the requests.Session object is cached internally, until the instance disconnects
* added steam.util.generate_session_id() for web session
9 years ago
Rossen Georgiev
17eac0cca3
refactor proto_fill_from_dict & proto_to_dict; #56
* added tests for both function
* both function now support py3 iterators types like map, range, filter
* proto_fill_from_dict will correctly overwrite lists when clear=False
9 years ago
Rossen Georgiev
c08c399e4c
StructReader: added __len__() and rlen()
9 years ago
Rossen Georgiev
86e4047582
StructReader improvements
* added read() to get raw bytes
* renamed read_format() to unpack()
* added parameter in read_cstring() to specify terminator
9 years ago
Rossen Georgiev
513c68ca08
added StructReader
9 years ago
Rossen Georgiev
0aaaf00922
fix proto_to_dict not converting some repeated fields
9 years ago
Rossen Georgiev
dda7e30e7b
use six's xrange in util
9 years ago
Rossen Georgiev
7bdc9231f1
fix proto_fill_from_dict handling of lists
9 years ago
Rossen Georgiev
291948a28f
util: add converts for proto messages to/from dict
* updated proto_to_dict, performs deep conversion of protobuf message to dict
* added proto_fill_from_dict, fills protobuf message values from dict (deep)
9 years ago
Rossen Georgiev
99d74c82f2
implemented SteamAuthenticator; fix #32
9 years ago
Rossen Georgiev
c3b35da638
added list chunking function to utils
9 years ago
Rossen Georgiev
901643ca54
added util for throttling code
9 years ago
Rossen Georgiev
44b8e3b1d2
added WeakRefKeyDict
* stores a value for a key (can be unhashable)
* value is destroyed once the key is garbage collected
9 years ago
Rossen Georgiev
452cd7801f
make_requests_session: remove useless mount
9 years ago
Rossen Georgiev
8ebfe36a20
move socket/ssl monkey patch to steam client
9 years ago
Rossen Georgiev
ef3d83964b
make_requests_session + updated WebAPI + docs
9 years ago
Rossen Georgiev
531f7543cf
removed EventEmitter as it's now a seperate module
9 years ago
Rossen Georgiev
4e886fa0d8
make callback dict in EventEmitter private
9 years ago
Rossen Georgiev
6aa7b3e82d
updated docstring in preperation for sphinx
9 years ago
Rossen Georgiev
94598631b1
fix events not propagating in certain conditions
9 years ago
Rossen Georgiev
214258ee44
move proto bit helper func to steam.util
9 years ago
Rossen Georgiev
75311b72ba
improved event propagation + CM disconnect handling
10 years ago
Rossen Georgiev
13ded88539
added util methods for coverting IP address
10 years ago
Rossen Georgiev
017e85c8f8
fix emit variable overwite
10 years ago
Rossen Georgiev
45c0918251
added way to listen for any event
10 years ago
Rossen Georgiev
584e9df9c3
implemented EventEmitter; used in CMClient
10 years ago