Results of 1 - 10 of about 156 for random (0.035 sec.)
- random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 14290
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/
...関数があります。角度の分布を生成するにはフォン・ミーゼス分布が利用できます。 ほとんど全てのモジュール関数は、基礎となる関数 random() に依存します。この関数はランダムな浮動小数点数を半開区間 0.0 <= X < 1.0 内に一様に生成します。Python は中心となる乱数生成...、全ての目的に合致しているわけではなく、暗号化の目的には全く向いていません。 このモジュールで提供されている関数は、実際には random.Random クラスの隠蔽されたインスタンスのメソッドに束縛されています。内部状態を共有しない生成器を取得するため、自分で Random...のインスタンスを生成することができます。 Class Random can also be subclassed if you want to use a different basic generator of your own devising: see the documentation on that... - https://man.mtool.work/python/3.14/library/random.html
- random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 14232
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/
...関数があります。角度の分布を生成するにはフォン・ミーゼス分布が利用できます。 ほとんど全てのモジュール関数は、基礎となる関数 random() に依存します。この関数はランダムな浮動小数点数を半開区間 0.0 <= X < 1.0 内に一様に生成します。Python は中心となる乱数生成...、全ての目的に合致しているわけではなく、暗号化の目的には全く向いていません。 このモジュールで提供されている関数は、実際には random.Random クラスの隠蔽されたインスタンスのメソッドに束縛されています。内部状態を共有しない生成器を取得するため、自分で Random...のインスタンスを生成することができます。 Class Random can also be subclassed if you want to use a different basic generator of your own devising: see the documentation on that... - https://man.mtool.work/python/3.14/library/random.html
- secrets --- 機密を扱うために安全な乱数を生成する — Python 3.14.8 ドキュメント 8174
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 暗号関連のサービス » secrets --- 機密を扱うために安全な乱数を生成する テーマ 自動 ライト ダーク | secrets --- 機密を扱うために安全な
...する ¶ Added in version 3.6. ソースコード: Lib/secrets.py The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets. In par...ticular, secrets should be used in preference to the default pseudo-random number generator in the random module, which is designed for modelling and simulation, not security or cryptography. 参考...PEP 506 乱数 ¶ The secrets module provides access to the most secure source of randomness that your operating system provides. class secrets. SystemRandom ¶ OS が提供する最も高品質なソースを用いて乱数を生成す... - https://man.mtool.work/python/3.14/library/secrets.html
- secrets --- 機密を扱うために安全な乱数を生成する — Python 3.14.8 ドキュメント 8174
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 暗号関連のサービス » secrets --- 機密を扱うために安全な乱数を生成する テーマ 自動 ライト ダーク | secrets --- 機密を扱うために安全な
...する ¶ Added in version 3.6. ソースコード: Lib/secrets.py The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets. In par...ticular, secrets should be used in preference to the default pseudo-random number generator in the random module, which is designed for modelling and simulation, not security or cryptography. 参考...PEP 506 乱数 ¶ The secrets module provides access to the most secure source of randomness that your operating system provides. class secrets. SystemRandom ¶ OS が提供する最も高品質なソースを用いて乱数を生成す... - https://man.mtool.work/python/3.14/library/secrets.html
- statistics --- 数学的統計関数 — Python 3.14.8 ドキュメント 7804
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » statistics --- 数学的統計関数 テーマ 自動 ライト ダーク | statistics --- 数学的統計関数 ¶ Added in version 3
...データの幾何平均。 harmonic_mean() データの調和平均。 kde() Estimate the probability density distribution of the data. kde_random() Random sampling from the PDF generated by kde(). median() データのメジアン(中央値)。 median_low() データの low median。...of the data changes. This allows new samples to be added as they become available. Added in version 3.13. statistics. kde_random ( data , h , kernel = 'normal' , * , seed = None ) ¶ Return a function that makes a random selection from the estimated pr...r bytes. A StatisticsError will be raised if the data sequence is empty. Continuing the example for kde() , we can use kde_random() to generate new random selections from an estimated probability density function: >>> data = [ - 2.1 , - 1.3 , - 0.4 , 1... - https://man.mtool.work/python/3.14/library/statistics.html
- statistics --- 数学的統計関数 — Python 3.14.8 ドキュメント 7688
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » statistics --- 数学的統計関数 テーマ 自動 ライト ダーク | statistics --- 数学的統計関数 ¶ Added in version 3
...データの幾何平均。 harmonic_mean() データの調和平均。 kde() Estimate the probability density distribution of the data. kde_random() Random sampling from the PDF generated by kde(). median() データのメジアン(中央値)。 median_low() データの low median。...of the data changes. This allows new samples to be added as they become available. Added in version 3.13. statistics. kde_random ( data , h , kernel = 'normal' , * , seed = None ) ¶ Return a function that makes a random selection from the estimated pr...r bytes. A StatisticsError will be raised if the data sequence is empty. Continuing the example for kde() , we can use kde_random() to generate new random selections from an estimated probability density function: >>> data = [ - 2.1 , - 1.3 , - 0.4 , 1... - https://man.mtool.work/python/3.14/library/statistics.html
- 変更履歴 — Python 3.14.8 ドキュメント 7688
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...when the current directory contains user files with the same names as standard library modules that IDLE imports, such as random.py or tkinter.py . gh-93016 : Fix parsing of command line arguments in the IDLE "Run... Customized" dialog on Windows: bac...ariable is not set. gh-154389 : Fix uuid.uuid1() on OpenBSD: it returned a version 4 UUID, because uuid_create() generates random UUIDs on this platform. gh-154324 : Fix os.sendfile() on illumos: it no longer reports a successful transfer when the unde...O made the transport misinterpret a poll event as the reader disconnecting, wrongly closing the transport. gh-154001 : Fix random.binomialvariate() raising ZeroDivisionError when random.random() returns zero. gh-153908 : Fix data race when calling repr... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Logging クックブック — Python 3.14.8 ドキュメント 7376
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...合、同じフォーマット文字列を使って以下に示すように似たような出力を得られます。これはスクリプトの例です: import logging from random import choice class ContextFilter ( logging . Filter ): """ This is a filter which injects contextual information into the...log. Rather than use actual contextual information, we just use random data in this demo. """ USERS = [ 'jim' , 'fred' , 'sheila' ] IPS = [ '123.231.231.123' , '127.0.0.1' , '192.168.0.1' ] def...トはスレッドで処理される状況です: # main.py import argparse from contextvars import ContextVar import logging import os from random import choice import threading import webapplib logger = logging . getLogger ( __name__ ) root = logging . getLogger () ro... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- Logging クックブック — Python 3.14.8 ドキュメント 7260
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...合、同じフォーマット文字列を使って以下に示すように似たような出力を得られます。これはスクリプトの例です: import logging from random import choice class ContextFilter ( logging . Filter ): """ This is a filter which injects contextual information into the...log. Rather than use actual contextual information, we just use random data in this demo. """ USERS = [ 'jim' , 'fred' , 'sheila' ] IPS = [ '123.231.231.123' , '127.0.0.1' , '192.168.0.1' ] def...トはスレッドで処理される状況です: # main.py import argparse from contextvars import ContextVar import logging import os from random import choice import threading import webapplib logger = logging . getLogger ( __name__ ) root = logging . getLogger () ro... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- uuid --- RFC 9562 に基づく UUID オブジェクト — Python 3.14.8 ドキュメント 7214
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » uuid --- RFC 9562 に基づく UUID オブジェクト テーマ 自動 ライト ダーク | uuid --- RFC 9562 に基
...d to obtain the hardware address as a 48-bit positive integer. When a sequence number clock_seq is not specified, a pseudo-random 14-bit positive integer is generated. If node or clock_seq exceed their expected bit count, only their least significant b...is a bytes object or a string that will be encoded using UTF-8) according to RFC 9562, §5.3 . uuid. uuid4 ( ) ¶ Generate a random UUID in a cryptographically-secure method according to RFC 9562, §5.4 . uuid. uuid5 ( namespace , name ) ¶ Generate a UUID...d to obtain the hardware address as a 48-bit positive integer. When a sequence number clock_seq is not specified, a pseudo-random 14-bit positive integer is generated. If node or clock_seq exceed their expected bit count, only their least significant b... - https://man.mtool.work/python/3.14/library/uuid.html