semvec/pypi-packages huggingface dataset:
pwchkr 0.1.0
Vérification de mot de passe avec score et détection de codes communs, adapté au français.
License: MIT
Requires Python: >=3.10

# pwchkr

pwchkr est un module Python pour vérifier la force d'un mot de passe avec un score sur 10 et détecter les mots de passe trop communs, y compris français. pw -> password. chkr -> checker

Installation : pip install pwchkr

Utilisation :

* score\_motdepasse(mdp) : Évalue la force d’un mot de passe. Retourne "Code commun" si le mot de passe est trop courant, sinon un score sur 10.
* generate\_password(longueur=12) : Génère un mot de passe aléatoire sûr. longueur = taille du mot de passe (défaut 12).



Exemple :
from pwchkr import score\_motdepasse, generate\_password


print(score\_motdepasse("123456"))      # → "Code commun"


print(score\_motdepasse("Ab3$9fGh!"))   # → 8 ou 9


mdp = generate\_password(12)


print(mdp)


print(score\_motdepasse(mdp))           # → ≥ 8



Codes communs détectés : 123456, 123456789, qwerty, password, 1234567, 12345678, 12345, 111111, 123123, abc123, 1234, iloveyou, 1q2w3e4r, 000000, qwertyuiop, 123, monkey, dragon, baseball, letmein, login, football, admin, welcome, solo, 1qaz2wsx, master, sunshine, princess, 654321, 9876543210, azerty, 0000, 00000000, motdepasse, azerty123, bonjour, secret, chocolat



Exemple complet :


from pwchkr import score\_motdepasse, generate\_password


print(score\_motdepasse("motdepasse"))  # → "Code commun"


mdp = generate\_password(14)


print(mdp)


print(score\_motdepasse(mdp))           # → ≥ 8







pour l'installer : pip install pwchkr
django-full-kit 0.3.0
A reusable Django package providing ready-to-use models, admin configurations, and utilities.
License: MIT
Requires Python: <3.13,>=3.10
Keywords: django, django-package, django-reusable-app, backend, full-kit, django-full-kit

# Django Full Kit

A reusable Django package providing ready-to-use models, admin configurations, and utilities for common project needs such as users and articles.Powered by developlab

---

## Features

* **UserProfile**: Optional extension for Django's `AUTH_USER_MODEL`.
* **Article model**: Generic content model for blogs, news, or docs.
* **Admin ready**: Preconfigured admin for users and articles.
* **Utilities**: Helper functions for safer attribute access and common tasks.
* **TimeStampedModel**: Base abstract model with `created_at` and `updated_at`.

---

## Installation

```bash
pip install django-full-kit
```

---

## Usage

Add the app to your `INSTALLED_APPS`:

```python
INSTALLED_APPS = [
    ...
    "full_kit",
]
```

Run migrations for the included models:

```bash
python manage.py makemigrations
python manage.py migrate
```

Import models where needed:

```python
from django_full_kit.models import Article, UserProfile
```

Register in admin (optional if using default registration):

```python
from django.contrib import admin
import django_full_kit.admin
```

---

## Testing

Install test dependencies:

```bash
pip install .[dev]
```

Run tests with pytest:

```bash
pytest
```

---

## License

[MIT](LICENSE)