Skip to main content

It's easy to use, plug-in django app that once included, stores logins history (with device data, like IP, user-agent, location etc.) of all users.

Project description

Login History Too

Coverage

Overview

Simple login history tracking including IP address (along with its geo data), User Agent data and timestamp.

Quickstart

Install Login History Too:

pip install login-history-too

Settings

To enable login_history_too in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'login_history_too',
    ...
)

If you want to override the GEOLOCATION_METHOD to use another geolocation API:

LOGIN_HISTORY_TOO = {
    "GEOLOCATION_METHOD": "login_history_too.utils.get_ip_info"
}

Development

make env
make pip_install
make migrations
make migrate
make superuser
make serve
  • Visit http://127.0.0.1:8000/ for the default "It worked" page
  • Visit http://127.0.0.1:8000/admin/ for the Django Admin

Testing

make pytest
make coverage
make open_coverage

Deploying

# Publish to PyPI Test before the live PyPi
make release_test
make release

Issues

If you experience any issues, please create an issue on Github.

History

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.1.0 (2025-02-19)

  • First release

Project details


Download files

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

Source Distribution

login_history_too-0.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

login_history_too-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file login_history_too-0.1.0.tar.gz.

File metadata

  • Download URL: login_history_too-0.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for login_history_too-0.1.0.tar.gz
Algorithm Hash digest
SHA256 02dce32adfa0c3a77d60c654c20aab2a0fd00710abe41f3fbb8e488859778ccf
MD5 133835048865d72ff0d12157a5ec286b
BLAKE2b-256 e6643f83eb26136326c7d5768c583eb941f92bde88e148d4787783c57136a1b8

See more details on using hashes here.

File details

Details for the file login_history_too-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for login_history_too-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed2f008c4a77d0e8e4c3e5e221cdeda318bbb56f69688d81b897a6f7e41a5f3
MD5 072f4d52e39b81008923bfce658de13e
BLAKE2b-256 28617fed54b61cb94e81e2e9ed68d1aeb53ee671cbed5acab0e2282da1a3efa9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page