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.
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:
- Fork the repository.
- Make your changes or add new features.
- Write tests to ensure your changes work as expected.
- 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:
- Email: edris.qeshm2@gmail.com
- Website: www.edrisranjbar.ir
- LinkedIn: Edris Ranjbar
- GitHub: MyPassMaker Repository
Stay connected and help us make MyPassMaker even better!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed08e412954cb81d4161ddecd299e48956a51e6721b18f846eaf8f261d127610
|
|
| MD5 |
8bf47d22375d245cae17a842cf636a3a
|
|
| BLAKE2b-256 |
6ee58063c12414c8840512041c42c12c06cedc1812bf58e60769a35eca61a3f9
|
Provenance
The following attestation bundles were made for mypassmaker-1.4.tar.gz:
Publisher:
python-publish.yml on edrisranjbar/mypassmaker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mypassmaker-1.4.tar.gz -
Subject digest:
ed08e412954cb81d4161ddecd299e48956a51e6721b18f846eaf8f261d127610 - Sigstore transparency entry: 161197213
- Sigstore integration time:
-
Permalink:
edrisranjbar/mypassmaker@c7fa187c8a3a66a27d33bd072e86691dbb704e6b -
Branch / Tag:
refs/tags/1.4 - Owner: https://github.com/edrisranjbar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c7fa187c8a3a66a27d33bd072e86691dbb704e6b -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aff59a8ce0a88108d1cb93202c18bf12684756afc511d856f24b84e9e53b7ab
|
|
| MD5 |
a67e3aac3500e7e9df780d106f58b857
|
|
| BLAKE2b-256 |
a06db942636860ea9323e33a671d93448a4df667b27836cb97b751bbed24bf26
|
Provenance
The following attestation bundles were made for mypassmaker-1.4-py3-none-any.whl:
Publisher:
python-publish.yml on edrisranjbar/mypassmaker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mypassmaker-1.4-py3-none-any.whl -
Subject digest:
9aff59a8ce0a88108d1cb93202c18bf12684756afc511d856f24b84e9e53b7ab - Sigstore transparency entry: 161197224
- Sigstore integration time:
-
Permalink:
edrisranjbar/mypassmaker@c7fa187c8a3a66a27d33bd072e86691dbb704e6b -
Branch / Tag:
refs/tags/1.4 - Owner: https://github.com/edrisranjbar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c7fa187c8a3a66a27d33bd072e86691dbb704e6b -
Trigger Event:
release
-
Statement type: