Sign inSign up

kstar123/passwordometer-api

By kstar123

•Updated about 3 years ago

FastAPI-powered Passwordometer API: Predict strength, and generate passwords programmatically.

Image
0

205

kstar123/passwordometer-api repository overview

⁠Passwordometer API with FastAPI

The Passwordometer project now includes an API powered by FastAPI, enabling programmatic interaction with password-related functionalities. Use this API to assess password strength, predict password metrics, and generate random passwords based on specified parameters.

Docker Image

A Docker image for the Passwordometer API is available on Docker Hub. Pull and run the image with:

docker pull kstar123/passwordometer-api
docker run -d -p 8000:8000 --name passwordometer-api kstar123/passwordometer-api

This launches the FastAPI server in a Docker container, with API endpoints accessible at http://localhost:8000⁠.

API Endpoints:

  • POST /predict: Predict the strength of a password by sending a JSON payload containing the password. The response includes the predicted strength.

  • POST /generate: Generate a random password based on specified parameters such as length.

These endpoints provide programmatic access to password strength prediction and password generation.

Access the API Documentation:

Open your browser and go to http://localhost:8000/docs⁠ to explore the Swagger documentation. Discover available endpoints, view request and response schemas, and interact with the API using the built-in interface.

For more details: https://github.com/KarthikUdyawar/passwordometer⁠

Tag summary

Content type

Image

Digest

sha256:073aac2ec…

Size

240.6 MB

Last updated

about 3 years ago

docker pull kstar123/passwordometer-api:1.2.0