Skip to main content

Security Scanner

A package used to check the health and strength of passwords/passphrases.

How to use

After installing the package use following import:

from security_scanner import (
    check_password_strength,
    check_uniqueness,
    check_membership_in_rainbow_tables,
    check_rotation_activated
    )

Then use following commands:

password = getpass.getpass(prompt='Enter password: ')

if not check_password_strength(password):
    print("Password is weak")
elif not check_uniqueness(password):
    print("Password is not unique")
elif not check_membership_in_rainbow_tables(password):
    print("Password is in rainbow tables")
elif not check_rotation_activated(datetime.date(YEAR, MONTH, DAY), rotation_interval_days):
    print("password rotation is not activated")
else:
    print("Password is strong and unique, and password rotation is activated")

Metadata

Release files for security-scanner 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for security-scanner 0.1.4
File Size Uploaded Provenance
security_scanner-0.1.4.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for security-scanner 0.1.4
File Interpreter ABI Platform
security_scanner-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / security_scanner-0.1.4.tar.gz

Download URL security_scanner-0.1.4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8563515433b6e09a36b1f6f15410f7e43b10757da365334df6b8c51c748475d
BLAKE2b-256 checksum
How to use checksums
2d26699846857ca66dca8d09c02cec3483a0ee52ddfe78075ed2c3d52a64c2aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / security_scanner-0.1.4-py3-none-any.whl

Download URL security_scanner-0.1.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e673d49f8e449682bee168d319e6e6a56fdffd8d2ab8163429c725d49d518301
BLAKE2b-256 checksum
How to use checksums
e3ffb614ec374af2ea62e3efa534b3d98cd15620c044c77621837fb12bb24763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for security-scanner 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page