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.
Files changed (39) hide show
  1. {rtbnext-1.0.1 → rtbnext-1.0.2}/PKG-INFO +2 -2
  2. {rtbnext-1.0.1 → rtbnext-1.0.2}/pyproject.toml +1 -1
  3. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/_version.py +1 -1
  4. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/defaults.py +1 -0
  5. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/list.py +17 -7
  6. {rtbnext-1.0.1 → rtbnext-1.0.2}/.gitignore +0 -0
  7. {rtbnext-1.0.1 → rtbnext-1.0.2}/LICENSE +0 -0
  8. {rtbnext-1.0.1 → rtbnext-1.0.2}/README.md +0 -0
  9. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/__init__.py +0 -0
  10. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/cache.py +0 -0
  11. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/http_client.py +0 -0
  12. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/loader.py +0 -0
  13. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/parser.py +0 -0
  14. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/core/rate_limiter.py +0 -0
  15. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/__init__.py +0 -0
  16. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/base.py +0 -0
  17. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/filter.py +0 -0
  18. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/list.py +0 -0
  19. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/mover.py +0 -0
  20. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/profile.py +0 -0
  21. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/stats.py +0 -0
  22. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/endpoint/system.py +0 -0
  23. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/py.typed +0 -0
  24. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/base.py +0 -0
  25. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/collectable.py +0 -0
  26. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/collection.py +0 -0
  27. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/dateable.py +0 -0
  28. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/indexable.py +0 -0
  29. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/resource/series.py +0 -0
  30. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/rtbnext.py +0 -0
  31. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/__init__.py +0 -0
  32. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/assets.py +0 -0
  33. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/filter.py +0 -0
  34. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/generic.py +0 -0
  35. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/mover.py +0 -0
  36. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/profile.py +0 -0
  37. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/stats.py +0 -0
  38. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/schema/system.py +0 -0
  39. {rtbnext-1.0.1 → rtbnext-1.0.2}/src/rtbnext/utils.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: rtbnext
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Official Python SDK for the RTBNext API.
5
5
  Project-URL: Homepage, https://rtbnext.de
6
6
  Project-URL: Documentation, https://sdk.rtbnext.de
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  name = "rtbnext"
9
- version = "1.0.1"
9
+ version = "1.0.2"
10
10
  description = "Official Python SDK for the RTBNext API."
11
11
  readme = "README.md"
12
12
  license = "MIT"
@@ -4,4 +4,4 @@ Version
4
4
  Declares the RTBNext Python SDK version.
5
5
  """
6
6
 
7
- __version__ = "1.0.1"
7
+ __version__ = "1.0.2"
@@ -12,6 +12,7 @@ if TYPE_CHECKING:
12
12
  from rtbnext.core.loader import CacheMode, CacheType
13
13
  from rtbnext.core.rate_limiter import RateLimitMode
14
14
 
15
+
15
16
  DEFAULT_API_URL: str = "https://api.rtbnext.de"
16
17
 
17
18
  DEFAULT_MAX_REQUESTS: int = 60
@@ -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 ChangeFlag, Gender, Industry, MetaData, SelfMadeRank
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
- "flag": NotRequired[ ChangeFlag ],
40
- "rankDiff": NotRequired[ int ],
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