Skip to main content

Generate and safty check secure password

Project description

MyPassMaker

MyPassMaker is a Python package designed to help you generate strong passwords and assess their safety.

Downloads
GitHub stars


Features

  • Generate strong, secure passwords.
  • Lightweight and easy to use.
  • Test your password's safety level.

Installation

Install the package via pip:

pip install mypassmaker

How to Use

Generate a secure password of a specified length:

from mypassmaker import Password

# Generate a 10-character password
my_password = Password.generate(length=10)
print(my_password)

Checking Password Safety

The check_safety() method evaluates the safety of a password based on various criteria and returns a score between 0 and 10. The following criteria are checked:

  • Length (>= 8)
  • Not in the passlist (stored in passlist.txt)
  • Contains special characters
  • Contains both uppercase and lowercase letters
  • Contains numbers (and not a number-only password)
from mypassmaker import Password

password = "A1!strongPass"
safety_score = Password.check_safety(password)

print(f"Password Safety Score: {safety_score}/10")

Example Scoring

  • 10: Perfect password with length, complexity, and variety.
  • 5: A password that meets some but not all safety criteria.
  • 0: A weak password that fails several checks.

How to Contribute

We appreciate your interest in contributing to MyPassMaker! Here's how you can help:

  1. Fork the repository.
  2. Make your changes or add new features.
  3. Write tests to ensure your changes work as expected.
  4. Submit a Pull Request (PR) with a description of your changes.

We’ll review your PR and merge it if it aligns with the project goals.

Contact Us

We’d love to hear from you! Whether you have feedback, suggestions, or questions, feel free to reach out:

Stay connected and help us make MyPassMaker even better!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypassmaker-1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypassmaker-1.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mypassmaker-1.4.tar.gz.

File metadata

  • Download URL: mypassmaker-1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mypassmaker-1.4.tar.gz
Algorithm Hash digest
SHA256 ed08e412954cb81d4161ddecd299e48956a51e6721b18f846eaf8f261d127610
MD5 8bf47d22375d245cae17a842cf636a3a
BLAKE2b-256 6ee58063c12414c8840512041c42c12c06cedc1812bf58e60769a35eca61a3f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypassmaker-1.4.tar.gz:

Publisher: python-publish.yml on edrisranjbar/mypassmaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mypassmaker-1.4-py3-none-any.whl.

File metadata

  • Download URL: mypassmaker-1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mypassmaker-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9aff59a8ce0a88108d1cb93202c18bf12684756afc511d856f24b84e9e53b7ab
MD5 a67e3aac3500e7e9df780d106f58b857
BLAKE2b-256 a06db942636860ea9323e33a671d93448a4df667b27836cb97b751bbed24bf26

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypassmaker-1.4-py3-none-any.whl:

Publisher: python-publish.yml on edrisranjbar/mypassmaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page