├── .gitignore ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── asyncnsq ├── __init__.py ├── http │ ├── __init__.py │ ├── auth.py │ ├── base.py │ ├── lookupd.py │ └── writer.py ├── tcp │ ├── __init__.py │ ├── connection.py │ ├── consts.py │ ├── exceptions.py │ ├── messages.py │ ├── protocol.py │ ├── reader.py │ ├── reader_rdy.py │ └── writer.py └── utils.py ├── examples ├── conn.py ├── consumer.py ├── graceful_close.py └── producer.py ├── opensource_wallet.jpeg ├── pytest.ini ├── runtests.py ├── setup.py └── tests ├── __init__.py ├── _testutils.py ├── sample.crt ├── sample.key ├── test_connection.py ├── test_http_lookupd.py ├── test_http_nsqd.py ├── test_http_producer.py ├── test_parser.py └── test_reader_and_writer.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/README.md -------------------------------------------------------------------------------- /asyncnsq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/__init__.py -------------------------------------------------------------------------------- /asyncnsq/http/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/http/__init__.py -------------------------------------------------------------------------------- /asyncnsq/http/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/http/auth.py -------------------------------------------------------------------------------- /asyncnsq/http/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/http/base.py -------------------------------------------------------------------------------- /asyncnsq/http/lookupd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/http/lookupd.py -------------------------------------------------------------------------------- /asyncnsq/http/writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/http/writer.py -------------------------------------------------------------------------------- /asyncnsq/tcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/__init__.py -------------------------------------------------------------------------------- /asyncnsq/tcp/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/connection.py -------------------------------------------------------------------------------- /asyncnsq/tcp/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/consts.py -------------------------------------------------------------------------------- /asyncnsq/tcp/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/exceptions.py -------------------------------------------------------------------------------- /asyncnsq/tcp/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/messages.py -------------------------------------------------------------------------------- /asyncnsq/tcp/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/protocol.py -------------------------------------------------------------------------------- /asyncnsq/tcp/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/reader.py -------------------------------------------------------------------------------- /asyncnsq/tcp/reader_rdy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/reader_rdy.py -------------------------------------------------------------------------------- /asyncnsq/tcp/writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/tcp/writer.py -------------------------------------------------------------------------------- /asyncnsq/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/asyncnsq/utils.py -------------------------------------------------------------------------------- /examples/conn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/examples/conn.py -------------------------------------------------------------------------------- /examples/consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/examples/consumer.py -------------------------------------------------------------------------------- /examples/graceful_close.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/examples/graceful_close.py -------------------------------------------------------------------------------- /examples/producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/examples/producer.py -------------------------------------------------------------------------------- /opensource_wallet.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/opensource_wallet.jpeg -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/pytest.ini -------------------------------------------------------------------------------- /runtests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/runtests.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | import sys 2 | sys.path.append("../") 3 | -------------------------------------------------------------------------------- /tests/_testutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/_testutils.py -------------------------------------------------------------------------------- /tests/sample.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/sample.crt -------------------------------------------------------------------------------- /tests/sample.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/sample.key -------------------------------------------------------------------------------- /tests/test_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_connection.py -------------------------------------------------------------------------------- /tests/test_http_lookupd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_http_lookupd.py -------------------------------------------------------------------------------- /tests/test_http_nsqd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_http_nsqd.py -------------------------------------------------------------------------------- /tests/test_http_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_http_producer.py -------------------------------------------------------------------------------- /tests/test_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_parser.py -------------------------------------------------------------------------------- /tests/test_reader_and_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aohan237/asyncnsq/HEAD/tests/test_reader_and_writer.py --------------------------------------------------------------------------------