Login History Too
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.1 (2025-04-15)
- Added missing static files to package.
0.1.0 (2025-02-19)
- First release
Metadata
Release files for login-history-too 0.1.1
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 |
|---|---|---|---|---|
| login_history_too-0.1.1.tar.gz | 2.5 MB | Without provenance | Details for login_history_too-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| login_history_too-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for login_history_too-0.1.1-py3-none-any.whl |
Total release size: 5.4 MB
Release files / login_history_too-0.1.1.tar.gz
| Download URL | login_history_too-0.1.1.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
835ff06a30d24edf8985d36b95c6243c9ffaef45021099a83b5bc4e2d4acf02a
|
|
BLAKE2b-256 checksum How to use checksums |
a760bc0afdc414b98a9bc9c14f24173dc6c733d4e61aec868651f16f7c1916a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / login_history_too-0.1.1-py3-none-any.whl
| Download URL | login_history_too-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98fa1a309e6175e307a42d3f0f212ecf55991fe81a18f406b76598f35d81243f
|
|
BLAKE2b-256 checksum How to use checksums |
5543f0136deae2d5834354bf20bb7059ffa66436b89180c83065730ed6d35584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for login-history-too 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.