Commit graph

46 commits

Author SHA1 Message Date
b86b257278
Switch simple server to use threads for requests 2018-12-08 18:51:44 +00:00
65f38f0ca2
Close server in example 2018-12-08 16:23:41 +00:00
4358ab6c3a
Only support >=3.5 2018-12-08 16:11:56 +00:00
336e2aa0ba
Move linting to generic script 2018-12-08 16:06:54 +00:00
43bb43e199
Build on xenial on travis 2018-12-08 16:02:27 +00:00
3e1f9a8bfa
Move black to separate script 2018-12-08 15:55:56 +00:00
69c979de62
Add travis ci badge 2018-12-08 15:41:16 +00:00
223f50b5be
Add travis to test multiple versions of Python 2018-12-08 15:39:13 +00:00
964398722a
Enable use as a context manager 2018-12-08 15:32:29 +00:00
Jake Howard
3a455ac306
Create LICENSE 2018-12-08 15:08:54 +00:00
11a9039b8a
Add note about stability 2018-12-08 15:06:33 +00:00
8820067a78
Point to tests for more examples 2018-12-08 14:50:21 +00:00
f660be5fd3
Add some examples to readme 2018-12-08 14:47:07 +00:00
c20a567709
Only define new line once 2018-12-08 14:36:37 +00:00
6920b43567
Scale timeout with number of connections 2018-12-08 14:28:26 +00:00
7fd83b05b9
Refactor payload return to list comprehension 2018-12-08 14:23:34 +00:00
ead62d5671
Refactor simple server client to class 2018-12-08 14:23:16 +00:00
abd20a6b4b
Use background thread to accept new connections 2018-12-08 13:31:22 +00:00
886882a079
Run the linter 2018-12-08 13:11:01 +00:00
c6a3126369
Add test for lots of and no subscribers 2018-12-08 13:10:31 +00:00
1352e49f11
Remove socket after server close 2018-12-08 13:09:38 +00:00
d88eecc0da
Remove unnecessary shutdown function 2018-12-08 13:07:51 +00:00
29b2377a58
Performance tune for pubsub socket 2018-12-08 13:07:26 +00:00
2e354a3814
Remove publisher socket path after close 2018-12-08 13:06:08 +00:00
cd8cb8eac9
Shorten default wait time so it fails faster 2018-12-08 13:03:35 +00:00
65fd392a70
test getting latest message 2018-12-08 12:37:57 +00:00
e605438d33
Kill connections when closing publisher 2018-12-08 12:37:39 +00:00
07ed45780a
Run tests verbose 2018-12-08 12:37:11 +00:00
874f9d240b
Test multiple subscribers 2018-12-08 12:30:47 +00:00
c7af71456e
Rename constant so it makes more sense 2018-12-08 01:15:07 +00:00
07affb4c36
Force payload to be dict, increase stability and speed 2018-12-08 01:12:34 +00:00
1b69e09276
Restructure app so isort actually runs 2018-12-07 23:34:59 +00:00
39c69aac5f
Add help to auto fix linter 2018-12-07 23:18:46 +00:00
aba697bfb2
Add pub sub server 2018-12-07 23:18:29 +00:00
f6c37a64a4
Collect coverage 2018-12-07 21:12:56 +00:00
cdb2766b19
Run linters on setup.py 2018-12-07 21:10:52 +00:00
1e8dd81e11
Install more flake8 plugins 2018-12-07 21:06:08 +00:00
5ad2c115e9
Add mypy 2018-12-07 20:57:12 +00:00
5f4aac4822
Add flake8 and isort 2018-12-07 20:44:31 +00:00
498a871c70
Add basic client-server implementation 2018-12-07 20:35:34 +00:00
54f8efa443
Add readme 2018-12-07 14:07:35 +00:00
80788c95ca
Add test script 2018-12-07 14:03:19 +00:00
534d2a491e
Check against black 2018-12-07 14:01:29 +00:00
eaed2f339f
Install virtualenv 2018-12-07 13:58:59 +00:00
44a56905cd
Add circleci config 2018-12-07 13:57:23 +00:00
25ba13012d
Setup project 2018-12-07 13:54:46 +00:00