Registry / web-framework / aa-inactivity

aa-inactivity

JSON →
library2.0.1pypypiunverified

Activity monitoring app for Alliance Auth, tracking user inactivity. Current version 2.0.1, released with compatibility for Django 3.2+ and Python 3.8+. Maintenance updates as needed.

pip install aa-inactivity
INSTALL
IMPORT
SIG · AA-INACTIVITY
A
aa-inactivity
web-frameworkpythonv2.0.1
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Inactivity
from aa_inactivity.models import Inactivity
from aa_inactivity.models import InactivityRecord
Model class is Inactivity, not InactivityRecord (deprecated).
MonitoredCorporation
from aa_inactivity.models import MonitoredCorporation
Used to manage corporations under inactivity monitoring.

Set up monitoring for a corporation and check user inactivity.

from aa_inactivity.models import Inactivity, MonitoredCorporation from django.contrib.auth.models import User # Example: create a monitored corporation corp = MonitoredCorporation.objects.create( corporation_id=123456, corporation_name='Test Corp', enable_monitoring=True ) print('Monitored corporation created:', corp) # Check user inactivity status user = User.objects.get(pk=1) inactivity, created = Inactivity.objects.get_or_create(user=user) print('Inactivity record:', inactivity.is_inactive)
Debug
Known issues
gotchaIn v2.0.0+, the model `InactivityRecord` was renamed to `Inactivity`. If you have old references or migrations referencing `InactivityRecord`, they will raise ImportError.
fix
Update imports to `from aa_inactivity.models import Inactivity` and regenerate migrations.
affects: >=2.0.0
gotchaThe app requires Alliance Auth >=2.9.0. Installing with an older AA version causes import or API mismatches.
fix
Upgrade AA to 2.9.0+ before installing aa-inactivity.
affects: >=2.0.0
deprecatedThe setting `AA_INACTIVITY_ENABLED_CORPORATIONS` (list of corp IDs) is deprecated in v1.x but still supported via fallback. Use `MonitoredCorporation` model instead.
fix
Migrate each corporation to a `MonitoredCorporation` object.
affects: >=1.0.0,<2.0.0
Upgrade
Version history
2.0.1latest on PyPI · released Nov 18, 2025
Audit
Dependencies
allianceauthrequiredCore dependency; plugin operates within AA framework.
Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
1
Resources
aa-inactivity — pip install aa-inactivity · libregistry