Commit Graph

41 Commits

Author SHA1 Message Date
995f0dabed test: Add tests for util.inc_nonce 2023-11-03 20:13:29 +01:00
88516b230b test: Add tests for util.split_chunks 2023-11-03 20:01:34 +01:00
5820cd3e5c test: Add tests for long_to_bytes and bytes_to_long 2023-11-03 19:56:20 +01:00
86a9fa300c chore: Get rid of the util.b function
It doesn't really gave a use in the world of bytestrings.
2023-11-03 07:46:14 +01:00
5a3af65927
build: Lower Python version requirement to 3.9
The library could work even with 3.6, but some dependencies require 3.9.  Also, even though 3.8 is still supported until
late 2024, moving to higher Python versions might even result in better security.
2023-10-31 12:53:02 +01:00
3f7a656588
ci: Add and configure reuse, and make it happy 2023-10-31 07:35:23 +01:00
a05a1aa182
test: Make pytest automatically recognize async tests 2023-10-31 07:35:23 +01:00
4996931b54
ci: Add mypy as a dev dependency and configure it 2023-10-31 07:35:22 +01:00
95039914ba
ci: Configure isort and make it happy 2023-10-31 07:34:57 +01:00
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
bbfc137ca8
ci: Add and configure pre-commit and commitizen 2023-10-31 07:34:56 +01:00
85cea58067
build: Change yaml.load to safe_load
It’s safer.  PyYAML also changed the load method so it requires a loader parameter.
2023-10-31 07:34:56 +01:00
7458752336
build: Convert to Poetry 2023-10-31 07:34:51 +01:00
7ee85f4519
ci: Remove Travis CI configuration
Travis is no longer free to use.
2023-10-31 06:01:13 +01:00
Pedro Ferreira
bfad317734 Use latest Python versions 2019-06-12 21:49:32 +02:00
Pedro Ferreira
231afaa686 Update dependencies 2019-06-12 21:06:31 +02:00
Pedro Ferreira
58ebab5bf8 Version bump 2018-02-04 22:31:57 +01:00
Pedro Ferreira
43161742a9 Add is_connected flag 2018-02-04 22:19:15 +01:00
Pedro Ferreira
bdda1cd8e8 Update package versions 2018-02-04 15:51:09 +01:00
Pedro Ferreira
7949cba7d7 Fix import order 2018-02-04 15:50:56 +01:00
Pedro Ferreira
9fcb0bc20f Update .gitignore 2018-02-04 15:45:47 +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
706705307b Bump version 2017-08-01 22:40:00 +02:00
Pedro Ferreira
ac3b4f1cd1 Test 3.5 on Travis 2017-08-01 22:36:49 +02:00
Pedro Ferreira
3831485ff3 Add Python 3.5 compatibility
Close #4
2017-08-01 22:06:29 +02:00
Pedro Ferreira
30d2ec4209 Set version 0.1.0.dev1 2017-08-01 21:27:44 +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
6be0cb2b5a Fix misnamed variable 2017-06-05 00:35:27 +02:00
Pedro Ferreira
77847883ec Add support for coveralls 2017-06-05 00:35:27 +02:00
Pedro Ferreira
ea3b12dfcf Add travis config 2017-06-05 00:35:27 +02:00
Pedro Ferreira
66a4149f12 First functional version 2017-06-05 00:35:27 +02:00