Skip to main content

Check if your accounts/passwords are on a data breach

Project description

Pawned

Check if your accounts/passwords are on a data breach.

Installation

pip3 install pawned

Usage

Passwords

Checking passwords

import pawned
passwords = Passwords()
print(pawned.passwords.check_password("test"))

Breaches

Get all breaches for an account

import pawned
breaches = Breaches()
print(pawned.breaches.get_all_breaches_account(email="test@test.com"))

Get all breaches for an account across a specific domain.

import pawned
breaches = Breaches()
print(pawned.breaches.get_all_breaches_account(email="test@test.com", domain="adobe.com"))

Get all breached sites

import pawned
breaches = Breaches()
print(pawned.breaches.get_all_breached_sites())

Get all the details of each breach associated with a site

import pawned
breaches = Breaches()
print(pawned.breaches.get_all_breached_sites(domain="adobe.com"))

Get all the details of a breached site

import pawned
breaches = Breaches()
print(pawned.breaches.get_single_breach_site(site="adobe"))

Get all the data classes

import pawned
breaches = Breaches()
print(pawned.breaches.get_all_data_classes())

Pastes

Get all Pastes for an account

import pawned
pastes = Pastes()
print(pawned.pastes.get_all_pastes_account(email="test@test.com"))

Built With

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of Contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Release history Release notifications

Download files

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

Files for pawned, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pawned-1.0.0-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pawned-1.0.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page