Commit Graph

17 Commits

Author SHA1 Message Date
d28ca167f2
ci: Lint source 2023-10-31 07:34:57 +01:00
53994b77a7
build: Move testing utilities to tests/helpers.py 2023-10-31 07:34:57 +01:00
5ad13cea75
build: Move test files to the tests/ directory
We don’t want these to install by default.
2023-10-31 07:34:56 +01:00
5cd7cba3df
build: Remove async_generator as a dependency
As Python <3.6 is no longer supported, this library is obsolete.
2023-10-31 07:34:56 +01:00
93f2d329a4
ci: Use black instead of flake8
It results in mostly the same style, plus it’s configurable via pyprojects.toml.
2023-10-31 07:34:56 +01:00
Pedro Ferreira
43161742a9 Add is_connected flag 2018-02-04 22:19:15 +01:00
Pedro Ferreira
7949cba7d7 Fix import order 2018-02-04 15:50:56 +01:00
Pedro Ferreira
59de8c3ce0 Refactor server code (use connections)
Past version was unusable with >1 client.
2018-02-04 15:41:30 +01:00
Pedro Ferreira
3831485ff3 Add Python 3.5 compatibility
Close #4
2017-08-01 22:06:29 +02:00
Pedro Ferreira
86bc76d495 Use async connect9) instead of feeding loop 2017-08-01 19:31:24 +02:00
Pedro Ferreira
e70324ed11 Make disconnect() synchronous 2017-07-30 22:39:57 +02:00
Pedro Ferreira
eb6f9413bd Remove FIXME 2017-07-30 11:16:07 +02:00
Pedro Ferreira
18489de6d4 Start using readexaclty()
Since read(N) is not guaranteed to read exactly N bytes
2017-06-05 22:53:24 +02:00
Pedro Ferreira
0a9ebc09bf Improvements in on_connect() 2017-06-05 20:41:44 +02:00
Pedro Ferreira
37c7d34fee Make crypto vars more consistent wrt paper 2017-06-05 11:45:40 +02:00
Pedro Ferreira
b423894b96 Handle data buffers > 4K 2017-06-05 11:35:55 +02:00
Pedro Ferreira
66a4149f12 First functional version 2017-06-05 00:35:27 +02:00