rtbnext 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rtbnext-1.0.1 → rtbnext-1.0.2}/PKG-INFO +2 -2
- {rtbnext-1.0.1 → rtbnext-1.0.2}/pyproject.toml +1 -1
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/_version.py +1 -1
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/defaults.py +1 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/list.py +17 -7
- {rtbnext-1.0.1 → rtbnext-1.0.2}/.gitignore +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/LICENSE +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/README.md +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/__init__.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/cache.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/http_client.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/loader.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/parser.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/rate_limiter.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/__init__.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/base.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/filter.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/list.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/mover.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/profile.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/stats.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/system.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/py.typed +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/base.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/collectable.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/collection.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/dateable.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/indexable.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/series.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/rtbnext.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/__init__.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/assets.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/filter.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/generic.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/mover.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/profile.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/stats.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/system.py +0 -0
- {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/utils.py +0 -0
|
@@ -7,14 +7,16 @@ Declares types for ranking lists and snapshots.
|
|
|
7
7
|
from typing import NotRequired, TypedDict
|
|
8
8
|
|
|
9
9
|
from rtbnext.schema.assets import ChangeItem
|
|
10
|
-
from rtbnext.schema.generic import
|
|
10
|
+
from rtbnext.schema.generic import (
|
|
11
|
+
ChangeFlag, Gender, Industry, Location, MetaData, Organization, SelfMadeRank
|
|
12
|
+
)
|
|
11
13
|
|
|
12
14
|
ListIndexItem = TypedDict( "ListIndexItem", {
|
|
13
15
|
"uri": str,
|
|
14
16
|
"name": str,
|
|
15
17
|
"text": str,
|
|
16
|
-
"shortName": str,
|
|
17
|
-
"desc": str,
|
|
18
|
+
"shortName": NotRequired[ str ],
|
|
19
|
+
"desc": NotRequired[ str ],
|
|
18
20
|
"columns": list[ str ],
|
|
19
21
|
"filters": list[ str ]
|
|
20
22
|
} )
|
|
@@ -25,23 +27,31 @@ ListIndex = TypedDict( "ListIndex", {
|
|
|
25
27
|
"items": list[ ListIndexItem ]
|
|
26
28
|
} )
|
|
27
29
|
|
|
30
|
+
ListItemFlags = TypedDict( "ListItemFlags", {
|
|
31
|
+
"family": NotRequired[ bool ],
|
|
32
|
+
"embargo": NotRequired[ bool ]
|
|
33
|
+
} )
|
|
34
|
+
|
|
28
35
|
ListItem = TypedDict( "ListItem", {
|
|
29
36
|
"uri": str,
|
|
30
37
|
"sourceUri": str,
|
|
31
38
|
"name": str,
|
|
32
|
-
"rank": int,
|
|
39
|
+
"rank": NotRequired[ int ],
|
|
33
40
|
"networth": NotRequired[ float ],
|
|
34
41
|
"industry": NotRequired[ Industry ],
|
|
35
42
|
"source": NotRequired[ list[ str ] ],
|
|
36
43
|
"gender": NotRequired[ Gender ],
|
|
37
44
|
"age": NotRequired[ int ],
|
|
38
45
|
"citizenship": NotRequired[ str ],
|
|
39
|
-
"
|
|
40
|
-
"
|
|
46
|
+
"place": NotRequired[ Location ],
|
|
47
|
+
"organization": NotRequired[ Organization ],
|
|
41
48
|
"selfMadeRank": NotRequired[ SelfMadeRank ],
|
|
42
49
|
"philanthropyScore": NotRequired[ int ],
|
|
50
|
+
"flags": NotRequired[ ListItemFlags ],
|
|
43
51
|
"today": NotRequired[ ChangeItem ],
|
|
44
|
-
"ytd": NotRequired[ ChangeItem ]
|
|
52
|
+
"ytd": NotRequired[ ChangeItem ],
|
|
53
|
+
"flag": NotRequired[ ChangeFlag ],
|
|
54
|
+
"rankDiff": NotRequired[ int ]
|
|
45
55
|
} )
|
|
46
56
|
|
|
47
57
|
ListStats = TypedDict( "ListStats", {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|