aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-10-26 17:33:01 -0600
committerstuppie2026-10-26 17:33:01 -0600
commit0f98ed84c06e932e91d3eba166433296e063d16b (patch)
tree455c4a09882b7ffb4eaa66b643e9b163efda3bde
parente65fa1f1f8fdeede078c4af1849ee98306c4a1fb (diff)
downloadgeneralresearch-cd4f70463fe89b133eb1181e02b261611cf176ee.tar.gz
generalresearch-cd4f70463fe89b133eb1181e02b261611cf176ee.zip
maxmind UserType is used in grliq stop deleting itHEADv3.9.3master
-rw-r--r--generalresearch/models/thl/maxmind/__init__.py0
-rw-r--r--generalresearch/models/thl/maxmind/definitions.py22
-rw-r--r--pyproject.toml2
3 files changed, 23 insertions, 1 deletions
diff --git a/generalresearch/models/thl/maxmind/__init__.py b/generalresearch/models/thl/maxmind/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/generalresearch/models/thl/maxmind/__init__.py
diff --git a/generalresearch/models/thl/maxmind/definitions.py b/generalresearch/models/thl/maxmind/definitions.py
new file mode 100644
index 0000000..11effac
--- /dev/null
+++ b/generalresearch/models/thl/maxmind/definitions.py
@@ -0,0 +1,22 @@
+from enum import Enum
+
+from generalresearch.utils.enum import ReprEnumMeta
+
+# THIS IS USED IN GRLIQ DO NOT DELETE IT!!!!!!!!!!1
+class UserType(Enum, metaclass=ReprEnumMeta):
+ # https://support.maxmind.com/hc/en-us/articles/4408430082971-IP-Trait-Risk-Data#h_01FN6V8JMQMWZGWNPPAW77ZPY4
+ BUSINESS = "business"
+ CAFE = "cafe"
+ CELLULAR = "cellular"
+ COLLEGE = "college"
+ CDN = "content_delivery_network"
+ CPN = "consumer_privacy_network"
+ GOVERNMENT = "government"
+ HOSTING = "hosting"
+ LIBRARY = "library"
+ MILITARY = "military"
+ RESIDENTIAL = "residential"
+ ROUTER = "router"
+ SCHOOL = "school"
+ SEARCH_ENGINE = "search_engine_spider"
+ TRAVELER = "traveler" \ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index d867224..de59191 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "generalresearch"
-version = "3.9.2"
+version = "3.9.3"
description = "Python Utilities for General Research"
readme = "README.md"
requires-python = ">=3.14"