Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Spaces:
testingweb647
/
Arag
Running

App Files Files Community
Fetching metadata from the HF Docker repository...
Arag / app /services /analytics_core
21.2 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
AuthorBot
Fix analytics accuracy, tenant isolation, and event-loop blocking.
ff0847b about 4 hours ago
  • __init__.py
    0 Bytes
    Restructure project for HF Spaces deployment 22 days ago
  • aggregator.py
    5.12 kB
    Fix analytics accuracy, tenant isolation, and event-loop blocking. about 4 hours ago
  • geo.py
    6.09 kB
    fix: geo lookup now works on HF Spaces without MaxMind DB - Add ip-api.com async HTTP fallback when GeoLite2 mmdb is not present - 3-tier resolution: Redis cache (24h) -> MaxMind (offline) -> ip-api.com (free, no key) - Cache key uses SHA-256 hash of IP (raw IP never stored) - Pass redis into get_geo_info from both chat.py and visitor_tracker.py - Fixes country showing as dash on all sessions 14 days ago
  • tracker.py
    6.13 kB
    Fix analytics accuracy, tenant isolation, and event-loop blocking. about 4 hours ago
  • visitor_tracker.py
    3.88 kB
    fix: geo lookup now works on HF Spaces without MaxMind DB - Add ip-api.com async HTTP fallback when GeoLite2 mmdb is not present - 3-tier resolution: Redis cache (24h) -> MaxMind (offline) -> ip-api.com (free, no key) - Cache key uses SHA-256 hash of IP (raw IP never stored) - Pass redis into get_geo_info from both chat.py and visitor_tracker.py - Fixes country showing as dash on all sessions 14 days ago