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!
Metadata
Release files for mypassmaker 1.4
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 |
|---|---|---|---|---|
| mypassmaker-1.4.tar.gz | 3.7 kB | With provenance | Details for mypassmaker-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mypassmaker-1.4-py3-none-any.whl | Python 3 | none | any | Details for mypassmaker-1.4-py3-none-any.whl |
Total release size: 7.8 kB
Release files / mypassmaker-1.4.tar.gz
| Download URL | mypassmaker-1.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed08e412954cb81d4161ddecd299e48956a51e6721b18f846eaf8f261d127610
|
|
BLAKE2b-256 checksum How to use checksums |
6ee58063c12414c8840512041c42c12c06cedc1812bf58e60769a35eca61a3f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 9, 2025.
Transparency logRelease files / mypassmaker-1.4-py3-none-any.whl
| Download URL | mypassmaker-1.4-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aff59a8ce0a88108d1cb93202c18bf12684756afc511d856f24b84e9e53b7ab
|
|
BLAKE2b-256 checksum How to use checksums |
a06db942636860ea9323e33a671d93448a4df667b27836cb97b751bbed24bf26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 9, 2025.
Transparency logSecurity for mypassmaker 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mypassmaker-1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 9, 2025.
Transparency logA 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.