per page, with , order by , clip by
Results of 1 - 10 of about 82 for requests (0.008 sec.)
12. 仮想環境とパッケージ — Python 3.14.8 ドキュメント 14508
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 12. 仮想環境とパッケージ テーマ 自動 ライト ダーク | 12. 仮想環境とパッケージ ¶ 12.1. はじめに ¶ Python アプリケーションはよく標準ライブラ ... ョン番号を付けることで、特定のバージョンのパッケージをインストールすることもできます: (tutorial-env) $ python -m pip install requests == 2 .6.0 Collecting requests==2.6.0 Using cached requests-2.6.0-py2.py3-none-any.whl Installing collected packages: reque ... sts Successfully installed requests-2.6.0 同じコマンドを再び実行した場合、 pip は要求されたバージョンがインストール済みだと表示して何もしません。別のバージョン ... -m pip install --upgrade を実行すればそのパッケージを最新版に更新します: (tutorial-env) $ python -m pip install --upgrade requests Collecting requests Installing collected packages: requests Found existing installation: requests 2.6.0 Uninstalling reque ...
https://man.mtool.work/python/3.14/tutorial/venv.html
12. 仮想環境とパッケージ — Python 3.14.8 ドキュメント 14508
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 12. 仮想環境とパッケージ テーマ 自動 ライト ダーク | 12. 仮想環境とパッケージ ¶ 12.1. はじめに ¶ Python アプリケーションはよく標準ライブラ ... ョン番号を付けることで、特定のバージョンのパッケージをインストールすることもできます: (tutorial-env) $ python -m pip install requests == 2 .6.0 Collecting requests==2.6.0 Using cached requests-2.6.0-py2.py3-none-any.whl Installing collected packages: reque ... sts Successfully installed requests-2.6.0 同じコマンドを再び実行した場合、 pip は要求されたバージョンがインストール済みだと表示して何もしません。別のバージョン ... -m pip install --upgrade を実行すればそのパッケージを最新版に更新します: (tutorial-env) $ python -m pip install --upgrade requests Collecting requests Installing collected packages: requests Found existing installation: requests 2.6.0 Uninstalling reque ...
https://man.mtool.work/python/3.14/tutorial/venv.html
http.server --- HTTP サーバー — Python 3.14.8 ドキュメント 8636
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.server --- HTTP サーバー テーマ 自動 ライト ダーク | http.server --- HTTP サーバー ¶ ソー ... dingHTTPServer ( server_address , RequestHandlerClass ) ¶ This class is identical to HTTPServer but uses threads to handle requests by using the ThreadingMixIn . This is useful to handle web browsers pre-opening sockets, on which HTTPServer would wait in ... ile = None , password = None , alpn_protocols = None ) ¶ This class is identical to HTTPSServer but uses threads to handle requests by inheriting from ThreadingMixIn . This is analogous to ThreadingHTTPServer only using HTTPSServer . Added in version 3.1 ... s: class http.server. BaseHTTPRequestHandler ( request , client_address , server ) ¶ This class is used to handle the HTTP requests that arrive at the server. By itself, it cannot respond to any actual HTTP requests; it must be subclassed to handle each ...
https://man.mtool.work/python/3.14/library/http.server.html
http.server --- HTTP サーバー — Python 3.14.8 ドキュメント 8636
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.server --- HTTP サーバー テーマ 自動 ライト ダーク | http.server --- HTTP サーバー ¶ ソー ... dingHTTPServer ( server_address , RequestHandlerClass ) ¶ This class is identical to HTTPServer but uses threads to handle requests by using the ThreadingMixIn . This is useful to handle web browsers pre-opening sockets, on which HTTPServer would wait in ... ile = None , password = None , alpn_protocols = None ) ¶ This class is identical to HTTPSServer but uses threads to handle requests by inheriting from ThreadingMixIn . This is analogous to ThreadingHTTPServer only using HTTPSServer . Added in version 3.1 ... s: class http.server. BaseHTTPRequestHandler ( request , client_address , server ) ¶ This class is used to handle the HTTP requests that arrive at the server. By itself, it cannot respond to any actual HTTP requests; it must be subclassed to handle each ...
https://man.mtool.work/python/3.14/library/http.server.html
Logging クックブック — Python 3.14.8 ドキュメント 7928
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に ... asically logs the record using whatever logging policy is configured locally. """ def handle ( self ): """ Handle multiple requests - each expected to be a 4-byte length, followed by the LogRecord in pickle format. Logs the record according to whatever p ... """ def __init__ ( self , method , ip , user ): self . method = method self . ip = ip self . user = user # A dummy set of requests which will be used in the simulation - we'll just pick # from this list randomly. Note that all GET requests are from 192. ... 168.2.XXX # addresses, whereas POST requests are from 192.16.3.XXX addresses. Three users # are represented in the sample requests. REQUESTS = [ Request ( 'GET' , '192 ...
https://man.mtool.work/python/3.14/howto/logging-cookbook.html
Logging クックブック — Python 3.14.8 ドキュメント 7846
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に ... asically logs the record using whatever logging policy is configured locally. """ def handle ( self ): """ Handle multiple requests - each expected to be a 4-byte length, followed by the LogRecord in pickle format. Logs the record according to whatever p ... """ def __init__ ( self , method , ip , user ): self . method = method self . ip = ip self . user = user # A dummy set of requests which will be used in the simulation - we'll just pick # from this list randomly. Note that all GET requests are from 192. ... 168.2.XXX # addresses, whereas POST requests are from 192.16.3.XXX addresses. Three users # are represented in the sample requests. REQUESTS = [ Request ( 'GET' , '192 ...
https://man.mtool.work/python/3.14/howto/logging-cookbook.html
urllib.robotparser --- robots.txt 用のパーサー — Python 3.14.8 ドキュメント 7846
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » urllib.robotparser --- robots.txt 用のパーサー テーマ 自動 ライト ダーク | urllib.robotparser ... Added in version 3.6. request_rate ( useragent ) ¶ robots.txt の Request-rate パラメーターの内容を named tuple RequestRate(requests, seconds) として返します。そのようなパラメーターが存在しないか、指定された ユーザーエージェント にあてはまらない、もしくは ... rp . set_url ( "http://www.pythontest.net/robots.txt" ) >>> rp . read () >>> rrate = rp . request_rate ( "*" ) >>> rrate . requests 1 >>> rrate . seconds 1 >>> rp . crawl_delay ( "*" ) 6 >>> rp . can_fetch ( "*" , "http://www.pythontest.net/" ) True >>> ... Parser fetch useragent 時刻 delay エージェント エントリ 構文 無効 None Added rate rrate read lines 解釈 最後 crawl request requests seconds 前のトピックへ urllib.error --- urllib.request によって送出される例外クラス 次のトピックへ http --- HTTP モジュール ...
https://man.mtool.work/python/3.14/library/urllib.robotparser.html
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 7751
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... che that defers caching a result until it has been requested multiple times. To avoid flushing the LRU cache with one-time requests, we don't cache until a request has been made more than once. """ def __init__ ( self , func , maxsize = 128 , maxrequests ... = 4096 , cache_after = 1 ): self . requests = OrderedDict () # { uncached_key : request_count } self . cache = OrderedDict () # { cached_key : function_result } self ... . func = func self . maxrequests = maxrequests # max number of uncached requests self . maxsize = maxsize # max number of stored return values self . cache ...
https://man.mtool.work/python/3.14/library/collections.html
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 7751
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... che that defers caching a result until it has been requested multiple times. To avoid flushing the LRU cache with one-time requests, we don't cache until a request has been made more than once. """ def __init__ ( self , func , maxsize = 128 , maxrequests ... = 4096 , cache_after = 1 ): self . requests = OrderedDict () # { uncached_key : request_count } self . cache = OrderedDict () # { cached_key : function_result } self ... . func = func self . maxrequests = maxrequests # max number of uncached requests self . maxsize = maxsize # max number of stored return values self . cache ...
https://man.mtool.work/python/3.14/library/collections.html
http.cookies --- HTTP の状態管理 — Python 3.14.8 ドキュメント 7574
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.cookies --- HTTP の状態管理 テーマ 自動 ライト ダーク | http.cookies --- HTTP の状態管理 ... ングの脅威を和らげることを意図しています。 The attribute samesite controls when the browser sends the cookie with cross-site requests. This helps to mitigate CSRF attacks. Valid values are "Strict" (only sent with same-site requests), "Lax" (sent with same ... -site requests and top-level navigations), and "None" (sent with same-site and cross-site requests). When using "None", the "secure" attr ...
https://man.mtool.work/python/3.14/library/http.cookies.html
PREV 1 2 3 4 5 6 7 8 9 NEXT