Library for operating messaging systems such as Apache Kafka and MQTT with the same API.
Project description
SINETStream python
ファイル構成
- src/
- Python版SINETStreamの実装
- tests/
- ユニットテスト
- sample/
- サンプルプログラム
- plugins/
- broker/
- kafka/
- SINETStreamのKafkaプラグイン
- mqtt
- SINETStreamのMQTTプラグイン
- kafka/
- value_type/
- image/
- 画像をメッセージとして扱うためのプラグイン
- image/
- broker/
- README.md
ビルド手順
次のコマンドを実行するとSINETStreamのTARファイルがビルドされる。
$ python3 setup.py bdist_wheel
$ cd plugins/broker/kafka
$ python3 setup.py bdist_wheel
$ cd ../mqtt
$ python3 setup.py bdist_wheel
$ cd ../../value_type/image
$ python3 setup.py bdist_wheel
ビルドが成功すると以下のwheel ファイルが作成される。
./dist/sinetstream-1.1.0-py3-none-any.whl
./plugins/broker/kafka/dist/sinetstream_kafka-1.1.0-py3-none-any.whl
./plugins/broker/mqtt/dist/sinetstream_mqtt-1.1.0-py3-none-any.whl
./plugins/value_type/image/dist/sinetstream_type_image-1.1.0-py3-none-any.whl
インストール
pypiに登録してあるパッケージを利用することもできる。
pip3 install --user sinetstream-kafka sinetstream-mqtt
画像タイプのメッセージを扱いたい場合は、imageプラグインをインストールする。
pip3 install --user sinetstream-type-image
依存関係にあるライブラリ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sinetstream-1.1.0.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sinetstream-1.1.0.tar.gz.
File metadata
- Download URL: sinetstream-1.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab48a4996a1738b7e6e3e90385d2f628ae52a0b0f63d0c397dc1829f5acaad46
|
|
| MD5 |
b87b87b917f03b87569da01c734f5ff6
|
|
| BLAKE2b-256 |
692287a281f0a23056d90006dee0c99ec4d2c2d9312e4cda58ddef01b2a85c12
|
File details
Details for the file sinetstream-1.1.0-py3-none-any.whl.
File metadata
- Download URL: sinetstream-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a01f62cd6b0ef1bbe299f806c1bf924d7408034217a570d867c692b99d1953a
|
|
| MD5 |
5c8e8aa9cbc4e5171b0a77572735810c
|
|
| BLAKE2b-256 |
9c008bb9bcf5212171ef507febea572026e7c60a323c7bcc7088516e278fcf76
|