<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python【初歩から現場実務的なもの】 | Men of Letters（メン・オブ・レターズ） &#8211; 論理的思考/業務改善/プログラミング</title>
	<atom:link href="https://laboratory.kazuuu.net/category/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://laboratory.kazuuu.net</link>
	<description></description>
	<lastBuildDate>Tue, 13 Aug 2024 23:03:22 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://laboratory.kazuuu.net/wp-content/uploads/2021/02/cropped-L-32x32.png</url>
	<title>Python【初歩から現場実務的なもの】 | Men of Letters（メン・オブ・レターズ） &#8211; 論理的思考/業務改善/プログラミング</title>
	<link>https://laboratory.kazuuu.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>matplotlibを用いて数学を使って図形を描く</title>
		<link>https://laboratory.kazuuu.net/drawing-shapes-using-mathematics-with-matplotlib/</link>
					<comments>https://laboratory.kazuuu.net/drawing-shapes-using-mathematics-with-matplotlib/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Tue, 13 Aug 2024 23:03:22 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17705</guid>

					<description><![CDATA[matplotlibを用いて数学を使って図形を描いてみます。 目次 ■今回の環境（Python）■結果を表示するPythonプログラム■コード■検証、確認 ■今回の環境（Python） 今回のPythonは、バージョン3 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>matplotlibを用いて数学を使って図形を描いてみます。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■今回の環境（Python）</a></li><li><a href="#toc2" tabindex="0">■結果を表示するPythonプログラム</a><ol><li><a href="#toc3" tabindex="0">■コード</a></li></ol></li><li><a href="#toc4" tabindex="0">■検証、確認</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■今回の環境（Python）</span></h2>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/10/スクリーンショット-2023-10-30-134813.png"><img decoding="async" class="alignnone size-medium wp-image-17673" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/10/スクリーンショット-2023-10-30-134813-300x131.png" alt="" width="300" height="131" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/10/スクリーンショット-2023-10-30-134813-300x131.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/10/スクリーンショット-2023-10-30-134813-768x336.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/10/スクリーンショット-2023-10-30-134813.png 865w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>今回のPythonは、バージョン3.10.12を用いる。（なお、Google Colaboratory(Google Colab)を使用。）</p>
<h2><span id="toc2">■結果を表示するPythonプログラム</span></h2>
<h3><span id="toc3">■コード</span></h3>
<pre>import matplotlib.pyplot as plt
import numpy as np

# 円の中心座標
center = (0, 0)

# 円の半径
radius = 2

# 角度の範囲を指定（0から360度まで）
theta = np.linspace(0, 2*np.pi, 100)

# 円の座標を計算
x = center[0] + radius * np.cos(theta)
y = center[1] + radius * np.sin(theta)

# プロット
plt.plot(x, y)
plt.title('円の描画')
plt.xlabel('X軸')
plt.ylabel('Y軸')
plt.grid(True)
plt.show()
</pre>
<p>円の中心座標と半径を指定し、それを用いて円の座標を計算します。最後に、matplotlibのplot関数を使用して円をプロットし、show関数で表示します。</p>
<h2><span id="toc4">■検証、確認</span></h2>
<p>作成したコードは、Google Colaboratoryの新しいノートブック上のセルにコードを記述します。その後「セルを実行」ボタンをクリックします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238.png"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-17706" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238-300x194.png" alt="" width="300" height="194" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238-300x194.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238-1024x664.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238-768x498.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/11/スクリーンショット-2023-11-09-144238.png 1159w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>クリックすると、matplotlibを用いて数学を使った図形を出力させることができました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/drawing-shapes-using-mathematics-with-matplotlib/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Python】文字列編集の距離と類似性を計算する「python-Levenshtein」のインストール</title>
		<link>https://laboratory.kazuuu.net/python-installation-of-python-levenshtein-to-calculate-distance-and-similarity-of-string-edits/</link>
					<comments>https://laboratory.kazuuu.net/python-installation-of-python-levenshtein-to-calculate-distance-and-similarity-of-string-edits/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Wed, 07 Aug 2024 04:45:51 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17584</guid>

					<description><![CDATA[文字列編集の距離と類似性を計算する「python-Levenshtein」のインストールについて解説しています。 「python-Levenshtein（https://github.com/maxbachmann/py [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>文字列編集の距離と類似性を計算する「python-Levenshtein」のインストールについて解説しています。</p>
<p>「python-Levenshtein（<a href="https://github.com/maxbachmann/python-Levenshtein">https://github.com/maxbachmann/python-Levenshtein</a>）」は、レーベンシュタイン距離と文字列の類似性を高速に計算する関数が含まれたPythonライブラリです。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-4" checked><label class="toc-title" for="toc-checkbox-4">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■python-Levenshteinをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png"><img decoding="async" class="alignnone size-medium wp-image-16692" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png" alt="" width="300" height="139" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-1024x475.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-768x356.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png 1250w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>今回のPythonのバージョンは、「3.10.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■python-Levenshteinをインストールする</span></h2>
<p>python-Levenshteinをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install python-Levenshtein</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.10.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.10 -m pip install python-Levenshtein</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting python-Levenshtein
  Using cached python_Levenshtein-0.22.0-py3-none-any.whl (9.4 kB)
Collecting Levenshtein==0.22.0
  Using cached Levenshtein-0.22.0-cp310-cp310-win_amd64.whl (100 kB)
Collecting rapidfuzz&lt;4.0.0,&gt;=2.3.0
  Using cached rapidfuzz-3.3.1-cp310-cp310-win_amd64.whl (1.8 MB)
Installing collected packages: rapidfuzz, Levenshtein, python-Levenshtein
Successfully installed Levenshtein-0.22.0 python-Levenshtein-0.22.0 rapidfuzz-3.3.1
</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、python-Levenshteinが正常にインストールされたことになります。</p>
<p>なお、今回はpython-Levenshteinのバージョン0.22.0をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/python-installation-of-python-levenshtein-to-calculate-distance-and-similarity-of-string-edits/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>https://medium.com からデータを抽出するPythonラッパー「medium-api」のインストール</title>
		<link>https://laboratory.kazuuu.net/installation-of-medium-api-python-wrapper-to-extract-data-from-https-medium-com/</link>
					<comments>https://laboratory.kazuuu.net/installation-of-medium-api-python-wrapper-to-extract-data-from-https-medium-com/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Mon, 05 Aug 2024 19:50:35 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17576</guid>

					<description><![CDATA[https://medium.com からデータを抽出するPythonラッパー「medium-api」のインストールについて解説しています。 「medium-api（https://github.com/weeping- [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>https://medium.com からデータを抽出するPythonラッパー「medium-api」のインストールについて解説しています。</p>
<p>「medium-api（<a href="https://github.com/weeping-angel/medium-api">https://github.com/weeping-angel/medium-api</a>）」は、Medium API上の Python ラッパーにより、MediumのWeb サイト（<a href="https://medium.com">https://medium.com</a>）からデータを抽出できる。なお、これはMediumが公式で配布しているものではなく、非公式であることを理解しておく必要があります。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-6" checked><label class="toc-title" for="toc-checkbox-6">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■medium-apiをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■medium-apiをインストールする</span></h2>
<p>medium-apiをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install medium-api</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.9.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.9 -m pip install medium-api</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting medium-api
  Downloading medium_api-0.5.4-py3-none-any.whl (23 kB)
Installing collected packages: medium-api
Successfully installed medium-api-0.5.4
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the 'C:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.
</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、medium-apiが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。</p>
<p>なお、今回はmedium-apiのバージョン0.5.4をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/installation-of-medium-api-python-wrapper-to-extract-data-from-https-medium-com/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Python】さまざまなデータ構造の型システムを提供する「DataTypeSystem」のインストール</title>
		<link>https://laboratory.kazuuu.net/python-installation-of-datatypesystem-which-provides-a-type-system-for-various-data-structures/</link>
					<comments>https://laboratory.kazuuu.net/python-installation-of-datatypesystem-which-provides-a-type-system-for-various-data-structures/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 04 Aug 2024 19:50:11 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17561</guid>

					<description><![CDATA[さまざまなデータ構造の型システムを提供する「DataTypeSystem」のインストールについて解説しています。 「DataTypeSystem（https://github.com/antononcube/Python [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>さまざまなデータ構造の型システムを提供する「DataTypeSystem」のインストールについて解説しています。</p>
<p>「DataTypeSystem（<a href="https://github.com/antononcube/Python-packages/tree/main/DataTypeSystem">https://github.com/antononcube/Python-packages/tree/main/DataTypeSystem</a>）」は、完全な配列に強制変換できるさまざまなデータ構造の型システムを提供しているPythonライブラリです。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-8" checked><label class="toc-title" for="toc-checkbox-8">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■DataTypeSystemをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16692" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png" alt="" width="300" height="139" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-1024x475.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-768x356.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png 1250w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>今回のPythonのバージョンは、「3.10.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■DataTypeSystemをインストールする</span></h2>
<p>DataTypeSystemをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install DataTypeSystem</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.10.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.10 -m pip install DataTypeSystem</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting DataTypeSystem
  Downloading DataTypeSystem-0.1.0-py3-none-any.whl (7.0 kB)
Installing collected packages: DataTypeSystem
Successfully installed DataTypeSystem-0.1.0
</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、DataTypeSystemが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。<br />
なお、今回はDataTypeSystemのバージョン0.1.0をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/python-installation-of-datatypesystem-which-provides-a-type-system-for-various-data-structures/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>コンピューター上のシステム情報を検索するための Pythonライブラリ「platforminfo」</title>
		<link>https://laboratory.kazuuu.net/platforminfo-a-python-library-for-retrieving-system-information-on-computers/</link>
					<comments>https://laboratory.kazuuu.net/platforminfo-a-python-library-for-retrieving-system-information-on-computers/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sat, 03 Aug 2024 20:04:28 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17549</guid>

					<description><![CDATA[コンピューター上のシステム情報を検索するための Pythonライブラリ「platforminfo」のインストールについて解説しています。 platforminfo（https://github.com/platformi [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>コンピューター上のシステム情報を検索するための Pythonライブラリ「platforminfo」のインストールについて解説しています。</p>
<p>platforminfo（<a href="https://github.com/platforminfo/platforminfo">https://github.com/platforminfo/platforminfo</a>）は、Python内のすべての主要なオペレーティングシステムに関するシステム情報を検索するためのインターフェイスを提供している。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-10" checked><label class="toc-title" for="toc-checkbox-10">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■platforminfoをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■platforminfoをインストールする</span></h2>
<p>platforminfoをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install platforminfo</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.9.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.9 -m pip install platforminfo</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting platforminfo
Downloading platforminfo-1.0.0b3-py3-none-any.whl (5.1 kB)
Installing collected packages: platforminfo
Successfully installed platforminfo-1.0.0b3
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the 'C:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、platforminfoが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。</p>
<p>なお、今回はplatforminfoのバージョン1.0.0b3をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/platforminfo-a-python-library-for-retrieving-system-information-on-computers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Python】pandas DataFrameから時系列データを視覚化する「vpselector」のインストール</title>
		<link>https://laboratory.kazuuu.net/installation-of-vpselector-to-visualize-time-series-data-from-pandas-dataframe/</link>
					<comments>https://laboratory.kazuuu.net/installation-of-vpselector-to-visualize-time-series-data-from-pandas-dataframe/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Fri, 02 Aug 2024 19:16:01 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17556</guid>

					<description><![CDATA[Pythonで作られたpandas DataFrameから時系列データを視覚化するツール「vpselector」のインストールについて解説しています。 「vpselector（https://github.com/man [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Pythonで作られたpandas DataFrameから時系列データを視覚化するツール「vpselector」のインストールについて解説しています。</p>
<p>「vpselector（<a href="https://github.com/manumerous/vpselector">https://github.com/manumerous/vpselector</a>）」は、pandas データフレームから数値時系列データの一部を視覚的に選択するPythonを用いて作られたツールです。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-12" checked><label class="toc-title" for="toc-checkbox-12">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■vpselectorをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16692" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png" alt="" width="300" height="139" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-300x139.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-1024x475.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334-768x356.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/05/スクリーンショット-2023-05-29-120334.png 1250w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>今回のPythonのバージョンは、「3.10.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■vpselectorをインストールする</span></h2>
<p>vpselectorをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install vpselector</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.10.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.10 -m pip install vpselector</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting vpselector
  Downloading vpselector-1.0.2-py3-none-any.whl (12 kB)
Collecting pandas&gt;=1.1.5
  Downloading pandas-2.1.1-cp310-cp310-win_amd64.whl (10.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 3.9 MB/s eta 0:00:00
Collecting seaborn&gt;=0.11.1
  Using cached seaborn-0.12.2-py3-none-any.whl (293 kB)
Collecting overrides&gt;=7.3.1
  Using cached overrides-7.4.0-py3-none-any.whl (17 kB)
Collecting matplotlib&gt;=3.7.1
  Downloading matplotlib-3.8.0-cp310-cp310-win_amd64.whl (7.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 4.0 MB/s eta 0:00:00
Collecting twine&gt;=4.0.2
  Downloading twine-4.0.2-py3-none-any.whl (36 kB)
Collecting PyQt5&gt;=5.15.0
  Downloading PyQt5-5.15.9-cp37-abi3-win_amd64.whl (6.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 4.6 MB/s eta 0:00:00
Collecting packaging&gt;=20.0
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting numpy&lt;2,&gt;=1.21
  Downloading numpy-1.26.0-cp310-cp310-win_amd64.whl (15.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 5.2 MB/s eta 0:00:00
Collecting kiwisolver&gt;=1.0.1
  Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB ? eta 0:00:00
Collecting contourpy&gt;=1.0.1
  Downloading contourpy-1.1.1-cp310-cp310-win_amd64.whl (477 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 478.0/478.0 kB 2.7 MB/s eta 0:00:00
Collecting cycler&gt;=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pyparsing&gt;=2.3.1
  Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Collecting pillow&gt;=6.2.0
  Downloading Pillow-10.0.1-cp310-cp310-win_amd64.whl (2.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 6.2 MB/s eta 0:00:00
Collecting fonttools&gt;=4.22.0
  Downloading fonttools-4.42.1-cp310-cp310-win_amd64.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 4.1 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil&gt;=2.7 in c:\users\user_\appdata\roaming\python\python310\site-packages (from matplotlib&gt;=3.7.1-&gt;vpselector) (2.8.2)
Collecting tzdata&gt;=2022.1
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting pytz&gt;=2020.1
  Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Collecting PyQt5-Qt5&gt;=5.15.2
  Downloading PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.1/50.1 MB 4.8 MB/s eta 0:00:00
Collecting PyQt5-sip&lt;13,&gt;=12.11
  Downloading PyQt5_sip-12.12.2-cp310-cp310-win_amd64.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 4.5 MB/s eta 0:00:00
Collecting keyring&gt;=15.1
  Downloading keyring-24.2.0-py3-none-any.whl (37 kB)
Collecting pkginfo&gt;=1.8.1
  Downloading pkginfo-1.9.6-py3-none-any.whl (30 kB)
Collecting requests-toolbelt!=0.9.0,&gt;=0.8.0
  Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 2.8 MB/s eta 0:00:00
Collecting rich&gt;=12.0.0
  Downloading rich-13.5.3-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.8/239.8 kB 4.9 MB/s eta 0:00:00
Collecting importlib-metadata&gt;=3.6
  Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Requirement already satisfied: urllib3&gt;=1.26.0 in c:\program files\python310\lib\site-packages (from twine&gt;=4.0.2-&gt;vpselector) (2.0.3)
Collecting rfc3986&gt;=1.4.0
  Downloading rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)
Collecting requests&gt;=2.20
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting readme-renderer&gt;=35.0
  Downloading readme_renderer-42.0-py3-none-any.whl (13 kB)
Collecting zipp&gt;=0.5
  Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting jaraco.classes
  Downloading jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB)
Collecting pywin32-ctypes&gt;=0.2.0
  Downloading pywin32_ctypes-0.2.2-py3-none-any.whl (30 kB)
Requirement already satisfied: six&gt;=1.5 in c:\users\user_\appdata\roaming\python\python310\site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib&gt;=3.7.1-&gt;vpselector) (1.16.0)
Collecting docutils&gt;=0.13.1
  Downloading docutils-0.20.1-py3-none-any.whl (572 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 6.0 MB/s eta 0:00:00
Collecting nh3&gt;=0.2.14
  Downloading nh3-0.2.14-cp37-abi3-win_amd64.whl (574 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 574.0/574.0 kB 5.1 MB/s eta 0:00:00
Collecting Pygments&gt;=2.5.1
  Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Requirement already satisfied: certifi&gt;=2017.4.17 in c:\users\user_\appdata\roaming\python\python310\site-packages (from requests&gt;=2.20-&gt;twine&gt;=4.0.2-&gt;vpselector) (2023.7.22)
Collecting charset-normalizer&lt;4,&gt;=2
  Using cached charset_normalizer-3.2.0-cp310-cp310-win_amd64.whl (96 kB)
Requirement already satisfied: idna&lt;4,&gt;=2.5 in c:\users\user_\appdata\roaming\python\python310\site-packages (from requests&gt;=2.20-&gt;twine&gt;=4.0.2-&gt;vpselector) (3.4)
Collecting markdown-it-py&gt;=2.2.0
  Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Collecting mdurl~=0.1
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting more-itertools
  Using cached more_itertools-10.1.0-py3-none-any.whl (55 kB)
Installing collected packages: pytz, PyQt5-Qt5, nh3, zipp, tzdata, rfc3986, pywin32-ctypes, PyQt5-sip, pyparsing, Pygments, pkginfo, pillow, packaging, overrides, numpy, more-itertools, mdurl, kiwisolver, fonttools, docutils, cycler, charset-normalizer, requests, readme-renderer, PyQt5, pandas, markdown-it-py, jaraco.classes, importlib-metadata, contourpy, rich, requests-toolbelt, matplotlib, keyring, twine, seaborn, vpselector
  WARNING: The script pygmentize.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pkginfo.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script f2py.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts fonttools.exe, pyftmerge.exe, pyftsubset.exe and ttx.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script docutils.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script normalizer.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script markdown-it.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script keyring.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script twine.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed PyQt5-5.15.9 PyQt5-Qt5-5.15.2 PyQt5-sip-12.12.2 Pygments-2.16.1 charset-normalizer-3.2.0 contourpy-1.1.1 cycler-0.11.0 docutils-0.20.1 fonttools-4.42.1 importlib-metadata-6.8.0 jaraco.classes-3.3.0 keyring-24.2.0 kiwisolver-1.4.5 markdown-it-py-3.0.0 matplotlib-3.8.0 mdurl-0.1.2 more-itertools-10.1.0 nh3-0.2.14 numpy-1.26.0 overrides-7.4.0 packaging-23.1 pandas-2.1.1 pillow-10.0.1 pkginfo-1.9.6 pyparsing-3.1.1 pytz-2023.3.post1 pywin32-ctypes-0.2.2 readme-renderer-42.0 requests-2.31.0 requests-toolbelt-1.0.0 rfc3986-2.0.0 rich-13.5.3 seaborn-0.12.2 twine-4.0.2 tzdata-2023.3 vpselector-1.0.2 zipp-3.17.0
</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、vpselectorが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。<br />
なお、今回はvpselectorのバージョン1.0.2をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/installation-of-vpselector-to-visualize-time-series-data-from-pandas-dataframe/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>簡単なデータ探索を促進するPythonライブラリ「lux-api」のインストール</title>
		<link>https://laboratory.kazuuu.net/installation-of-lux-api-a-python-library-to-facilitate-easy-data-exploration/</link>
					<comments>https://laboratory.kazuuu.net/installation-of-lux-api-a-python-library-to-facilitate-easy-data-exploration/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Fri, 02 Aug 2024 04:02:49 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17547</guid>

					<description><![CDATA[簡単なデータ探索を促進するPythonライブラリ「lux-api」のインストールについて解説しています。 lux-api（https://github.com/lux-org/lux）は、視覚化とデータ分析プロセスを自動 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>簡単なデータ探索を促進するPythonライブラリ「lux-api」のインストールについて解説しています。</p>
<p>lux-api（<a href="https://github.com/lux-org/lux">https://github.com/lux-org/lux</a>）は、視覚化とデータ分析プロセスを自動化し、簡単なデータ探索を促進する。データセット内の興味深い傾向とパターンを強調表示できる。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-14" checked><label class="toc-title" for="toc-checkbox-14">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■lux-apiをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■lux-apiをインストールする</span></h2>
<p>lux-apiをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install lux-api</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.9.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.9 -m pip install lux-api</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting lux-api
Downloading lux-api-0.5.1.tar.gz (127 kB)
|████████████████████████████████| 127 kB 1.1 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting autopep8&gt;=1.5
Downloading autopep8-2.0.4-py2.py3-none-any.whl (45 kB)
|████████████████████████████████| 45 kB 1.7 MB/s
Collecting iso3166
Downloading iso3166-2.1.1-py3-none-any.whl (9.8 kB)
Collecting altair&gt;=4.0.0
Downloading altair-5.1.1-py3-none-any.whl (520 kB)
|████████████████████████████████| 520 kB 6.4 MB/s
Collecting scikit-learn&gt;=0.22
Downloading scikit_learn-1.3.1-cp39-cp39-win_amd64.whl (9.3 MB)
|████████████████████████████████| 9.3 MB 1.6 MB/s
Collecting matplotlib&gt;=3.0.0
Downloading matplotlib-3.8.0-cp39-cp39-win_amd64.whl (7.6 MB)
|████████████████████████████████| 7.6 MB 6.4 MB/s
Collecting lux-widget&gt;=0.1.4
Downloading lux-widget-0.1.11.tar.gz (2.5 MB)
|████████████████████████████████| 2.5 MB 6.4 MB/s
Requirement already satisfied: numpy&gt;=1.16.5 in c:\users\user_\appdata\roaming\python\python39\site-packages (from lux-api) (1.26.0)
Collecting psutil&gt;=5.9.0
Using cached psutil-5.9.5-cp36-abi3-win_amd64.whl (255 kB)
Collecting sh
Downloading sh-2.0.6-py3-none-any.whl (38 kB)
Requirement already satisfied: pandas in c:\users\user_\appdata\roaming\python\python39\site-packages (from lux-api) (2.1.1)
Collecting scipy&gt;=1.3.3
Downloading scipy-1.11.2-cp39-cp39-win_amd64.whl (44.1 MB)
|████████████████████████████████| 44.1 MB 6.8 MB/s
Collecting jsonschema&gt;=3.0
Downloading jsonschema-4.19.1-py3-none-any.whl (83 kB)
|████████████████████████████████| 83 kB 5.8 MB/s
Collecting toolz
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: typing-extensions&gt;=4.0.1 in c:\users\user_\appdata\roaming\python\python39\site-packages (from altair&gt;=4.0.0-&gt;lux-api) (4.8.0)
Requirement already satisfied: packaging in c:\users\user_\appdata\roaming\python\python39\site-packages (from altair&gt;=4.0.0-&gt;lux-api) (23.1)
Collecting tomli
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting pycodestyle&gt;=2.10.0
Downloading pycodestyle-2.11.0-py2.py3-none-any.whl (31 kB)
Collecting attrs&gt;=22.2.0
Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting referencing&gt;=0.28.4
Downloading referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting rpds-py&gt;=0.7.1
Downloading rpds_py-0.10.3-cp39-none-win_amd64.whl (186 kB)
|████████████████████████████████| 186 kB 6.4 MB/s
Collecting jsonschema-specifications&gt;=2023.03.6
Using cached jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting notebook&gt;=4.0.0
Downloading notebook-7.0.4-py3-none-any.whl (4.0 MB)
|████████████████████████████████| 4.0 MB 3.2 MB/s
Collecting ipywidgets&gt;=7.5.0
Downloading ipywidgets-8.1.1-py3-none-any.whl (139 kB)
|████████████████████████████████| 139 kB 6.4 MB/s
Collecting ipython&gt;=6.1.0
Downloading ipython-8.15.0-py3-none-any.whl (806 kB)
|████████████████████████████████| 806 kB 6.4 MB/s
Collecting comm&gt;=0.1.3
Downloading comm-0.1.4-py3-none-any.whl (6.6 kB)
Collecting jupyterlab-widgets~=3.0.9
Downloading jupyterlab_widgets-3.0.9-py3-none-any.whl (214 kB)
|████████████████████████████████| 214 kB 6.4 MB/s
Collecting widgetsnbextension~=4.0.9
Downloading widgetsnbextension-4.0.9-py3-none-any.whl (2.3 MB)
|████████████████████████████████| 2.3 MB 6.4 MB/s
Collecting traitlets&gt;=4.3.1
Downloading traitlets-5.10.0-py3-none-any.whl (120 kB)
|████████████████████████████████| 120 kB 6.8 MB/s
Collecting prompt-toolkit!=3.0.37,&lt;3.1.0,&gt;=3.0.30
Using cached prompt_toolkit-3.0.39-py3-none-any.whl (385 kB)
Collecting matplotlib-inline
Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting pickleshare
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting pygments&gt;=2.4.0
Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Collecting decorator
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting exceptiongroup
Using cached exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Collecting jedi&gt;=0.16
Downloading jedi-0.19.0-py2.py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 3.3 MB/s
Collecting backcall
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: colorama in c:\users\user_\appdata\roaming\python\python39\site-packages (from ipython&gt;=6.1.0-&gt;ipywidgets&gt;=7.5.0-&gt;lux-widget&gt;=0.1.4-&gt;lux-api) (0.4.6)
Collecting stack-data
Using cached stack_data-0.6.2-py3-none-any.whl (24 kB)
Collecting parso&lt;0.9.0,&gt;=0.8.3
Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting importlib-resources&gt;=3.2.0
Downloading importlib_resources-6.1.0-py3-none-any.whl (33 kB)
Requirement already satisfied: python-dateutil&gt;=2.7 in c:\users\user_\appdata\roaming\python\python39\site-packages (from matplotlib&gt;=3.0.0-&gt;lux-api) (2.8.2)
Collecting fonttools&gt;=4.22.0
Using cached fonttools-4.42.1-cp39-cp39-win_amd64.whl (2.1 MB)
Requirement already satisfied: pillow&gt;=6.2.0 in c:\users\user_\appdata\roaming\python\python39\site-packages (from matplotlib&gt;=3.0.0-&gt;lux-api) (10.0.1)
Collecting kiwisolver&gt;=1.0.1
Using cached kiwisolver-1.4.5-cp39-cp39-win_amd64.whl (56 kB)
Collecting contourpy&gt;=1.0.1
Downloading contourpy-1.1.1-cp39-cp39-win_amd64.whl (435 kB)
|████████████████████████████████| 435 kB 3.2 MB/s
Collecting cycler&gt;=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pyparsing&gt;=2.3.1
Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
|████████████████████████████████| 103 kB 3.3 MB/s
Collecting zipp&gt;=3.1.0
Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting tornado&gt;=6.2.0
Downloading tornado-6.3.3-cp38-abi3-win_amd64.whl (429 kB)
|████████████████████████████████| 429 kB 3.3 MB/s
Collecting jupyterlab&lt;5,&gt;=4.0.2
Downloading jupyterlab-4.0.6-py3-none-any.whl (9.2 MB)
|████████████████████████████████| 9.2 MB 6.8 MB/s
Collecting jupyterlab-server&lt;3,&gt;=2.22.1
Downloading jupyterlab_server-2.25.0-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB ...
Collecting notebook-shim&lt;0.3,&gt;=0.2
Using cached notebook_shim-0.2.3-py3-none-any.whl (13 kB)
Collecting jupyter-server&lt;3,&gt;=2.4.0
Downloading jupyter_server-2.7.3-py3-none-any.whl (375 kB)
|████████████████████████████████| 375 kB 3.3 MB/s
Collecting send2trash&gt;=1.8.2
Using cached Send2Trash-1.8.2-py3-none-any.whl (18 kB)
Collecting jupyter-core!=5.0.*,&gt;=4.12
Using cached jupyter_core-5.3.1-py3-none-any.whl (93 kB)
Collecting argon2-cffi
Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
Collecting terminado&gt;=0.8.3
Using cached terminado-0.17.1-py3-none-any.whl (17 kB)
Collecting anyio&gt;=3.1.0
Using cached anyio-4.0.0-py3-none-any.whl (83 kB)
Collecting pyzmq&gt;=24
Downloading pyzmq-25.1.1-cp39-cp39-win_amd64.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 2.2 MB/s
Collecting nbconvert&gt;=6.4.4
Downloading nbconvert-7.8.0-py3-none-any.whl (254 kB)
|████████████████████████████████| 254 kB 3.2 MB/s
Collecting nbformat&gt;=5.3.0
Downloading nbformat-5.9.2-py3-none-any.whl (77 kB)
|████████████████████████████████| 77 kB 3.0 MB/s
Collecting websocket-client
Downloading websocket_client-1.6.3-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 4.1 MB/s
Collecting jupyter-events&gt;=0.6.0
Downloading jupyter_events-0.7.0-py3-none-any.whl (18 kB)
Collecting overrides
Using cached overrides-7.4.0-py3-none-any.whl (17 kB)
Collecting pywinpty
Downloading pywinpty-2.0.11-cp39-none-win_amd64.whl (1.4 MB)
|████████████████████████████████| 1.4 MB 6.4 MB/s
Collecting prometheus-client
Using cached prometheus_client-0.17.1-py3-none-any.whl (60 kB)
Collecting jupyter-server-terminals
Using cached jupyter_server_terminals-0.4.4-py3-none-any.whl (13 kB)
Collecting jupyter-client&gt;=7.4.4
Downloading jupyter_client-8.3.1-py3-none-any.whl (104 kB)
|████████████████████████████████| 104 kB 6.8 MB/s
Collecting idna&gt;=2.8
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting sniffio&gt;=1.1
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting importlib-metadata&gt;=4.8.3
Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Collecting platformdirs&gt;=2.5
Using cached platformdirs-3.10.0-py3-none-any.whl (17 kB)
Collecting pywin32&gt;=300
Downloading pywin32-306-cp39-cp39-win_amd64.whl (9.3 MB)
|████████████████████████████████| 9.3 MB 2.2 MB/s
Collecting rfc3339-validator
Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting rfc3986-validator&gt;=0.1.1
Using cached rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
Collecting python-json-logger&gt;=2.0.4
Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Collecting pyyaml&gt;=5.3
Using cached PyYAML-6.0.1-cp39-cp39-win_amd64.whl (152 kB)
Collecting uri-template
Using cached uri_template-1.3.0-py3-none-any.whl (11 kB)
Collecting webcolors&gt;=1.11
Using cached webcolors-1.13-py3-none-any.whl (14 kB)
Collecting jsonpointer&gt;1.13
Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Collecting isoduration
Using cached isoduration-20.11.0-py3-none-any.whl (11 kB)
Collecting fqdn
Using cached fqdn-1.5.1-py3-none-any.whl (9.1 kB)
Collecting ipykernel
Downloading ipykernel-6.25.2-py3-none-any.whl (154 kB)
|████████████████████████████████| 154 kB 3.3 MB/s
Collecting jupyter-lsp&gt;=2.0.0
Downloading jupyter_lsp-2.2.0-py3-none-any.whl (65 kB)
|████████████████████████████████| 65 kB 2.1 MB/s
Collecting async-lru&gt;=1.0.0
Downloading async_lru-2.0.4-py3-none-any.whl (6.1 kB)
Requirement already satisfied: MarkupSafe&gt;=2.0 in c:\users\user_\appdata\roaming\python\python39\site-packages (from jinja2-&gt;altair&gt;=4.0.0-&gt;lux-api) (2.1.3)
Collecting babel&gt;=2.10
Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB)
|████████████████████████████████| 10.1 MB 3.2 MB/s
Collecting json5&gt;=0.9.0
Downloading json5-0.9.14-py2.py3-none-any.whl (19 kB)
Collecting requests&gt;=2.31
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting mistune&lt;4,&gt;=2.0.3
Using cached mistune-3.0.1-py3-none-any.whl (47 kB)
Collecting tinycss2
Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting bleach!=5.0.0
Using cached bleach-6.0.0-py3-none-any.whl (162 kB)
Collecting defusedxml
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting jupyterlab-pygments
Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting pandocfilters&gt;=1.4.1
Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting nbclient&gt;=0.5.0
Using cached nbclient-0.8.0-py3-none-any.whl (73 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: six&gt;=1.9.0 in c:\users\user_\appdata\roaming\python\python39\site-packages (from bleach!=5.0.0-&gt;nbconvert&gt;=6.4.4-&gt;jupyter-server&lt;3,&gt;=2.4.0-&gt;notebook&gt;=4.0.0-&gt;lux-widget&gt;=0.1.4-&gt;lux-api) (1.16.0)
Collecting fastjsonschema
Downloading fastjsonschema-2.18.0-py3-none-any.whl (23 kB)
Requirement already satisfied: tzdata&gt;=2022.1 in c:\users\user_\appdata\roaming\python\python39\site-packages (from pandas-&gt;lux-api) (2023.3)
Requirement already satisfied: pytz&gt;=2020.1 in c:\users\user_\appdata\roaming\python\python39\site-packages (from pandas-&gt;lux-api) (2023.3.post1)
Collecting wcwidth
Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
Requirement already satisfied: charset-normalizer&lt;4,&gt;=2 in c:\users\user_\appdata\roaming\python\python39\site-packages (from requests&gt;=2.31-&gt;jupyterlab-server&lt;3,&gt;=2.22.1-&gt;notebook&gt;=4.0.0-&gt;lux-widget&gt;=0.1.4-&gt;lux-api) (3.2.0)
Collecting urllib3&lt;3,&gt;=1.21.1
Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
|████████████████████████████████| 123 kB 6.8 MB/s
Collecting certifi&gt;=2017.4.17
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Collecting threadpoolctl&gt;=2.0.0
Downloading threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Collecting joblib&gt;=1.1.1
Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
|████████████████████████████████| 302 kB 3.2 MB/s
Collecting argon2-cffi-bindings
Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Requirement already satisfied: cffi&gt;=1.0.1 in c:\users\user_\appdata\roaming\python\python39\site-packages (from argon2-cffi-bindings-&gt;argon2-cffi-&gt;jupyter-server&lt;3,&gt;=2.4.0-&gt;notebook&gt;=4.0.0-&gt;lux-widget&gt;=0.1.4-&gt;lux-api) (1.15.1)
Requirement already satisfied: pycparser in c:\users\user_\appdata\roaming\python\python39\site-packages (from cffi&gt;=1.0.1-&gt;argon2-cffi-bindings-&gt;argon2-cffi-&gt;jupyter-server&lt;3,&gt;=2.4.0-&gt;notebook&gt;=4.0.0-&gt;lux-widget&gt;=0.1.4-&gt;lux-api) (2.21)
Collecting soupsieve&gt;1.2
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting debugpy&gt;=1.6.5
Downloading debugpy-1.8.0-cp39-cp39-win_amd64.whl (5.0 MB)
|████████████████████████████████| 5.0 MB 6.4 MB/s
Collecting nest-asyncio
Downloading nest_asyncio-1.5.8-py3-none-any.whl (5.3 kB)
Collecting arrow&gt;=0.15.0
Using cached arrow-1.2.3-py3-none-any.whl (66 kB)
Collecting executing&gt;=1.2.0
Using cached executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting pure-eval
Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting asttokens&gt;=2.1.0
Downloading asttokens-2.4.0-py2.py3-none-any.whl (27 kB)
Building wheels for collected packages: lux-api, lux-widget
Building wheel for lux-api (PEP 517) ... done
Created wheel for lux-api: filename=lux_api-0.5.1-py3-none-any.whl size=185638 sha256=e1583793bb1d8b7746560b927583e90d1ea1435e3530ac189b6e9889765eb1d3
Stored in directory: c:\users\user_\appdata\local\pip\cache\wheels\bd\05\a4\441d23d1cece85d6cd3cec43b38896e88a729e8048138825bd
Building wheel for lux-widget (setup.py) ... done
Created wheel for lux-widget: filename=lux_widget-0.1.11-py3-none-any.whl size=2540478 sha256=62105e23468290d6deb2510c9778e2639030fae4b84afae9f283663dc0d3f129
Stored in directory: c:\users\user_\appdata\local\pip\cache\wheels\03\dd\c3\286c3ca89a08533a99b0eb3f6e9a4b4c23476202c5a3fd622e
Successfully built lux-api lux-widget
Installing collected packages: rpds-py, attrs, referencing, zipp, traitlets, pywin32, platformdirs, jsonschema-specifications, tornado, pyzmq, jupyter-core, jsonschema, importlib-metadata, fastjsonschema, arrow, webencodings, webcolors, uri-template, soupsieve, rfc3986-validator, rfc3339-validator, pywinpty, nbformat, jupyter-client, jsonpointer, isoduration, idna, fqdn, wcwidth, tinycss2, terminado, sniffio, pyyaml, python-json-logger, pygments, pure-eval, parso, pandocfilters, nbclient, mistune, jupyterlab-pygments, jinja2, executing, exceptiongroup, defusedxml, bleach, beautifulsoup4, asttokens, argon2-cffi-bindings, websocket-client, urllib3, stack-data, send2trash, prompt-toolkit, prometheus-client, pickleshare, overrides, nbconvert, matplotlib-inline, jupyter-server-terminals, jupyter-events, jedi, decorator, certifi, backcall, argon2-cffi, anyio, requests, psutil, nest-asyncio, jupyter-server, json5, ipython, debugpy, comm, babel, tomli, notebook-shim, jupyterlab-server, jupyter-lsp, ipykernel, async-lru, widgetsnbextension, jupyterlab-widgets, jupyterlab, toolz, threadpoolctl, scipy, pyparsing, pycodestyle, notebook, kiwisolver, joblib, ipywidgets, importlib-resources, fonttools, cycler, contourpy, sh, scikit-learn, matplotlib, lux-widget, iso3166, autopep8, altair, lux-api
WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jsonschema.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jupyter-trust.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pygmentize.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jupyter-execute.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script wsdump.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script send2trash.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts jupyter-dejavu.exe and jupyter-nbconvert.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jupyter-events.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jupyter-server.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pyjson5.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts ipython.exe and ipython3.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pybabel.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts jlpm.exe, jupyter-lab.exe, jupyter-labextension.exe and jupyter-labhub.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pycodestyle.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jupyter-notebook.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts fonttools.exe, pyftmerge.exe, pyftsubset.exe and ttx.exe are installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script autopep8.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed altair-5.1.1 anyio-4.0.0 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.2.3 asttokens-2.4.0 async-lru-2.0.4 attrs-23.1.0 autopep8-2.0.4 babel-2.12.1 backcall-0.2.0 beautifulsoup4-4.12.2 bleach-6.0.0 certifi-2023.7.22 comm-0.1.4 contourpy-1.1.1 cycler-0.11.0 debugpy-1.8.0 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.1.3 executing-1.2.0 fastjsonschema-2.18.0 fonttools-4.42.1 fqdn-1.5.1 idna-3.4 importlib-metadata-6.8.0 importlib-resources-6.1.0 ipykernel-6.25.2 ipython-8.15.0 ipywidgets-8.1.1 iso3166-2.1.1 isoduration-20.11.0 jedi-0.19.0 jinja2-3.1.2 joblib-1.3.2 json5-0.9.14 jsonpointer-2.4 jsonschema-4.19.1 jsonschema-specifications-2023.7.1 jupyter-client-8.3.1 jupyter-core-5.3.1 jupyter-events-0.7.0 jupyter-lsp-2.2.0 jupyter-server-2.7.3 jupyter-server-terminals-0.4.4 jupyterlab-4.0.6 jupyterlab-pygments-0.2.2 jupyterlab-server-2.25.0 jupyterlab-widgets-3.0.9 kiwisolver-1.4.5 lux-api-0.5.1 lux-widget-0.1.11 matplotlib-3.8.0 matplotlib-inline-0.1.6 mistune-3.0.1 nbclient-0.8.0 nbconvert-7.8.0 nbformat-5.9.2 nest-asyncio-1.5.8 notebook-7.0.4 notebook-shim-0.2.3 overrides-7.4.0 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 platformdirs-3.10.0 prometheus-client-0.17.1 prompt-toolkit-3.0.39 psutil-5.9.5 pure-eval-0.2.2 pycodestyle-2.11.0 pygments-2.16.1 pyparsing-3.1.1 python-json-logger-2.0.7 pywin32-306 pywinpty-2.0.11 pyyaml-6.0.1 pyzmq-25.1.1 referencing-0.30.2 requests-2.31.0 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.10.3 scikit-learn-1.3.1 scipy-1.11.2 send2trash-1.8.2 sh-2.0.6 sniffio-1.3.0 soupsieve-2.5 stack-data-0.6.2 terminado-0.17.1 threadpoolctl-3.2.0 tinycss2-1.2.1 tomli-2.0.1 toolz-0.12.0 tornado-6.3.3 traitlets-5.10.0 uri-template-1.3.0 urllib3-2.0.5 wcwidth-0.2.6 webcolors-1.13 webencodings-0.5.1 websocket-client-1.6.3 widgetsnbextension-4.0.9 zipp-3.17.0
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the 'C:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、lux-apiが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。</p>
<p>なお、今回はlux-apiのバージョン0.5.1をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/installation-of-lux-api-a-python-library-to-facilitate-easy-data-exploration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Python Flask拡張機能】「Flask-WTF」ライブラリのインストール</title>
		<link>https://laboratory.kazuuu.net/python-flask-extension-installation-of-flask-wtf-library/</link>
					<comments>https://laboratory.kazuuu.net/python-flask-extension-installation-of-flask-wtf-library/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Tue, 30 Jul 2024 19:31:42 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17540</guid>

					<description><![CDATA[【Python Flask拡張機能】「Flask-WTF」ライブラリのインストールについて解説しています。 Flask-WTF（https://github.com/wtforms/flask-wtf/,https:// [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>【Python Flask拡張機能】「Flask-WTF」ライブラリのインストールについて解説しています。</p>
<p>Flask-WTF（<a href="https://github.com/wtforms/flask-wtf/">https://github.com/wtforms/flask-wtf/</a>,<a href="https://flask-wtf.readthedocs.io/en/1.1.x/">https://flask-wtf.readthedocs.io/en/1.1.x/</a>）は、Flask Web アプリケーションのフォームを簡単な方法で作成および処理するための便利な機能を提供し、フォームの作成、検証の処理、HTMLでのフォームのレンダリングのためのフレームワークも提供しています。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-16" checked><label class="toc-title" for="toc-checkbox-16">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■Flask-WTFをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■Flask-WTFをインストールする</span></h2>
<p>Flask-WTFをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install Flask-WTF</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.9.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.9 -m pip install Flask-WTF</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting Flask-WTF
Downloading Flask_WTF-1.1.1-py3-none-any.whl (12 kB)
Collecting WTForms
Downloading WTForms-3.0.1-py3-none-any.whl (136 kB)
|████████████████████████████████| 136 kB 172 kB/s
Requirement already satisfied: itsdangerous in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-WTF) (2.1.2)
Requirement already satisfied: Flask in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-WTF) (2.3.3)
Requirement already satisfied: importlib-metadata&gt;=3.6.0 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-&gt;Flask-WTF) (6.8.0)
Requirement already satisfied: blinker&gt;=1.6.2 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-&gt;Flask-WTF) (1.6.2)
Requirement already satisfied: Jinja2&gt;=3.1.2 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-&gt;Flask-WTF) (3.1.2)
Requirement already satisfied: Werkzeug&gt;=2.3.7 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-&gt;Flask-WTF) (2.3.7)
Requirement already satisfied: click&gt;=8.1.3 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Flask-&gt;Flask-WTF) (8.1.7)
Requirement already satisfied: colorama in c:\users\user_\appdata\roaming\python\python39\site-packages (from click&gt;=8.1.3-&gt;Flask-&gt;Flask-WTF) (0.4.6)
Requirement already satisfied: zipp&gt;=0.5 in c:\users\user_\appdata\roaming\python\python39\site-packages (from importlib-metadata&gt;=3.6.0-&gt;Flask-&gt;Flask-WTF) (3.16.2)
Requirement already satisfied: MarkupSafe&gt;=2.0 in c:\users\user_\appdata\roaming\python\python39\site-packages (from Jinja2&gt;=3.1.2-&gt;Flask-&gt;Flask-WTF) (2.1.3)
Installing collected packages: WTForms, Flask-WTF
Successfully installed Flask-WTF-1.1.1 WTForms-3.0.1
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the 'C:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、Flask-WTFが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。</p>
<p>なお、今回はFlask-WTFのバージョン1.1.1をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/python-flask-extension-installation-of-flask-wtf-library/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Pythonでnumpyを使用し行列の垂直連結を行う</title>
		<link>https://laboratory.kazuuu.net/performing-vertical-concatenation-of-matrices-using-numpy-in-python/</link>
					<comments>https://laboratory.kazuuu.net/performing-vertical-concatenation-of-matrices-using-numpy-in-python/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Mon, 29 Jul 2024 19:39:42 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17537</guid>

					<description><![CDATA[Pythonでnumpyを使用し行列の垂直連結を行ってみます。 今回はnumpyを用います。このライブラリ・モジュールはPythonの標準ライブラリではありませんので、事前にインストールする必要があります。 目次 ■Py [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Pythonでnumpyを使用し行列の垂直連結を行ってみます。</p>
<p>今回はnumpyを用います。このライブラリ・モジュールはPythonの標準ライブラリではありませんので、事前にインストールする必要があります。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-18" checked><label class="toc-title" for="toc-checkbox-18">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■numpyを使用し行列の垂直連結を行う</a><ol><li><a href="#toc3" tabindex="0">■コード</a></li></ol></li><li><a href="#toc4" tabindex="0">■実行・検証</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■numpyを使用し行列の垂直連結を行う</span></h2>
<p>では、早速2つの行列を作成し、それらを垂直に連結して新しい行列を作成するスクリプトを書いていきます。</p>
<h3><span id="toc3">■コード</span></h3>
<pre>import numpy as np

# 2つの行列を手動で指定
matrix1 = np.array([[1, 2, 3],
                    [4, 5, 6]])

matrix2 = np.array([[7, 8, 9],
                    [10, 11, 12]])

# 行列の各行を垂直に連結して新しい行列を作成
result_matrix = np.vstack((matrix1, matrix2))

# 元の行列と結果の行列を表示
print("行列 1:")
print(matrix1)

print("\n行列 2:")
print(matrix2)

print("\n垂直連結後の結果行列:")
print(result_matrix)</pre>
<p>まずはnumpyライブラリをnpとしてインポートします。numpyは数値計算に便利な多次元配列を提供するパッケージです。次に行列の作成のために、np.array 関数を使用して、2つの行列 matrix1 と matrix2 を作成します。これらの行列はNumPyのndarrayオブジェクトとして格納されます。</p>
<p>格納後、行列の垂直連結を行います。np.vstack 関数を使用して、matrix1 と matrix2 を垂直に連結し、新しい行列 result_matrix を作成します。この操作により、matrix1 の下に matrix2 が連結されます。</p>
<p>最後にprint関数を使用して、各行列と結果の行列を表示します。”\n” は改行を示し、表示を整形します。各行の説明コメントも含まれており、出力は分かりやすくしています。</p>
<h2><span id="toc4">■実行・検証</span></h2>
<p>このスクリプトを「vc_m.py」という名前で、Pythonが実行されている作業ディレクトリ（カレントディレクトリ）に保存し、コマンドプロンプトから実行してみます。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410.png"><img loading="lazy" decoding="async" class="alignnone wp-image-17538 size-medium" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410-300x183.png" alt="" width="300" height="183" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410-300x183.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410-1024x625.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410-768x469.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/09/スクリーンショット-2023-09-19-151410.png 1236w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>実行してみると、2つの行列を作成し、それらを垂直に連結して新しい行列を作成。作成後、垂直に連結された行列を出力させることができました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/performing-vertical-concatenation-of-matrices-using-numpy-in-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HTMLから表を抽出,CSV形式に変換する「html2csv」のインストール</title>
		<link>https://laboratory.kazuuu.net/installation-of-html2csv-to-extract-tables-from-html-and-convert-them-to-csv-format/</link>
					<comments>https://laboratory.kazuuu.net/installation-of-html2csv-to-extract-tables-from-html-and-convert-them-to-csv-format/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sat, 27 Jul 2024 19:29:51 +0000</pubDate>
				<category><![CDATA[Python【初歩から現場実務的なもの】]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=17534</guid>

					<description><![CDATA[【Python】HTMLから表を抽出,CSV形式に変換する「html2csv」のインストールについて解説しています。 「html2csv（https://github.com/hanwentao/html2csv）」は、 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>【Python】HTMLから表を抽出,CSV形式に変換する「html2csv」のインストールについて解説しています。</p>
<p>「html2csv（<a href="https://github.com/hanwentao/html2csv">https://github.com/hanwentao/html2csv</a>）」は、HTMLドキュメントから表を抽出し、CSV形式に変換することができるライブラリです。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-20" checked><label class="toc-title" for="toc-checkbox-20">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■Python</a></li><li><a href="#toc2" tabindex="0">■html-to-csvをインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■Python</span></h2>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-16915" src="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png" alt="" width="300" height="71" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-300x71.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-1024x244.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715-768x183.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2023/06/スクリーンショット-2023-06-11-082715.png 1365w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>今回のPythonのバージョンは、「3.9.9」を使用しています。（Windows11）（pythonランチャーでの確認）</p>
<h2><span id="toc2">■html-to-csvをインストールする</span></h2>
<p>html-to-csvをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。</p>
<pre>pip install html-to-csv</pre>
<p>起動後、上記のコマンドを入力し、Enterキーを押します。</p>
<p>なお、今回は、pythonランチャーを使用しており、Python Version 3.9.9にインストールを行うために、バージョンの切り替えを行います。</p>
<pre>py -3.9 -m pip install html-to-csv</pre>
<p>切り替えるために、上記のコマンドを入力し、Enterキーを押します。</p>
<pre>Defaulting to user installation because normal site-packages is not writeable
Collecting html-to-csv
Downloading html_to_csv-0.1.3-py3-none-any.whl (4.8 kB)
Requirement already satisfied: beautifulsoup4 in c:\users\user_\appdata\roaming\python\python39\site-packages (from html-to-csv) (4.12.2)
Requirement already satisfied: requests in c:\users\user_\appdata\roaming\python\python39\site-packages (from html-to-csv) (2.31.0)
Collecting lxml
Downloading lxml-4.9.3-cp39-cp39-win_amd64.whl (3.9 MB)
|████████████████████████████████| 3.9 MB 364 kB/s
Requirement already satisfied: soupsieve&gt;1.2 in c:\users\user_\appdata\roaming\python\python39\site-packages (from beautifulsoup4-&gt;html-to-csv) (2.5)
Requirement already satisfied: idna&lt;4,&gt;=2.5 in c:\users\user_\appdata\roaming\python\python39\site-packages (from requests-&gt;html-to-csv) (3.4)
Requirement already satisfied: charset-normalizer&lt;4,&gt;=2 in c:\users\user_\appdata\roaming\python\python39\site-packages (from requests-&gt;html-to-csv) (3.2.0)
Requirement already satisfied: urllib3&lt;3,&gt;=1.21.1 in c:\users\user_\appdata\roaming\python\python39\site-packages (from requests-&gt;html-to-csv) (1.26.16)
Requirement already satisfied: certifi&gt;=2017.4.17 in c:\users\user_\appdata\roaming\python\python39\site-packages (from requests-&gt;html-to-csv) (2023.7.22)
Installing collected packages: lxml, html-to-csv
WARNING: The script html2csv.exe is installed in 'C:\Users\user_\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed html-to-csv-0.1.3 lxml-4.9.3
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the 'C:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.</pre>
<p>Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、html-to-csvが正常にインストールされたことになりますが、「WARNING」と表示されました。「WARNING」はエラーではなく警告で、インストールは行われているので、今回は一旦無視しています。</p>
<p>なお、今回はhtml-to-csvのバージョン0.1.3をインストールしました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/installation-of-html2csv-to-extract-tables-from-html-and-convert-them-to-csv-format/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
