Natsベースのイベント駆動型バックグラウンド ジョブとマイクロサービス フレームワークのインストール

スポンサーリンク

Natsベースのイベント駆動型(イベントドリブン)バックグラウンド ジョブとマイクロサービス フレームワーク「walnats」のインストールについて解説しています。Natsは接続テクノロジー(https://nats.io/)。

「walnats(https://github.com/orsinium-labs/walnats)」は、Natsベースのイベントドリブンなバックグラウンドジョブとマイクロサービスのフレームワークです。

■Python

今回のPythonのバージョンは、「3.8.5」を使用しています。(Windows10)(pythonランチャーでの確認)

■walnatsをインストールする

walnatsをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。

pip install walnats

起動後、上記のコマンドを入力し、Enterキーを押します。

なお、今回は、pythonランチャーを使用しており、Python Version 3.8.5にインストールを行うために、バージョンの切り替えを行います。

py -3.8 -m pip install walnats

切り替えるために、上記のコマンドを入力し、Enterキーを押します。

Defaulting to user installation because normal site-packages is not writeable
Collecting walnats
Downloading walnats-1.2.6-py3-none-any.whl (46 kB)
---------------------------------------- 46.9/46.9 kB 2.3 MB/s eta 0:00:00
Collecting nats-py
Downloading nats-py-2.2.0.tar.gz (61 kB)
---------------------------------------- 61.5/61.5 kB 3.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: nats-py
Building wheel for nats-py (pyproject.toml) ... done
Created wheel for nats-py: filename=nats_py-2.2.0-py3-none-any.whl size=68672 sha256=76f915c6cb1311f1e36e6e1b4e8ce08e2ba3fc8aeeccdb9525757aeef97c8fb7
Stored in directory: c:\users\user_\appdata\local\pip\cache\wheels\e3ea34be0f5f59b4c4887cbecbf2b67817a0d3be81daec68f51
Successfully built nats-py
Installing collected packages: nats-py, walnats
Successfully installed nats-py-2.2.0 walnats-1.2.6

Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、walnatsが正常にインストールされたことになります。

なお、今回はwalnatsのバージョン1.2.6をインストールしました。

コメント

タイトルとURLをコピーしました