data-password-entropy
Calculate password strength.
Synopsis
pip install data-password-entropy
>>> from data_password_entropy import password_entropy
>>> password_entropy('password')
35
>>> password_entropy('Vgk4@HDk6X7gEp7')
85
Overview
The data-password-entropy package provides a function to calculate the entropy of a password, measuring its strength against brute-force attacks. Unlike traditional rule-based methods that enforce specific criteria—such as minimum length or mandatory punctuation—which can either reject strong, unconventional passwords or accept weak ones like P@ssw0rd, entropy-based evaluation offers a more accurate assessment. By assigning a numerical value to a password's complexity and unpredictability, this empirical algorithm ensures that a password achieving an entropy score of 80 bits is considered sufficiently secure for most applications.
Documentation
Read the full documentation at Read the docs.
License
Copyright 2024 Oleh Alistratov
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for data-password-entropy 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| data_password_entropy-1.0.tar.gz | 2.9 kB | Without provenance | Details for data_password_entropy-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_password_entropy-1.0-py3-none-any.whl | Python 3 | none | any | Details for data_password_entropy-1.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / data_password_entropy-1.0.tar.gz
| Download URL | data_password_entropy-1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5297b2960fe3d0b6ae10701f4b3fc9a65f11df904fc6259c3936c0027ff2c733
|
|
BLAKE2b-256 checksum How to use checksums |
800bb297fc2d967826a3a773a2f93ff824f75ceba7758a3657bca1a21398116e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / data_password_entropy-1.0-py3-none-any.whl
| Download URL | data_password_entropy-1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
460bcc183bff641d38b25121cd75dd42508d3e14a77a39c7b9c8d7eb332b98b0
|
|
BLAKE2b-256 checksum How to use checksums |
d384d9005c5a434a0f22917c29c26f8f523f97c4b22b013dff51ba44c26e48e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for data-password-entropy 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.