graphsense-python 2.19.0__py3-none-any.whl → 2.20.0__py3-none-any.whl

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.
graphsense/__init__.py CHANGED
@@ -12,7 +12,7 @@
12
12
  """
13
13
 
14
14
 
15
- __version__ = "2.19.0"
15
+ __version__ = "2.20.0"
16
16
 
17
17
  # Define package exports
18
18
  __all__ = [
graphsense/api_client.py CHANGED
@@ -95,7 +95,7 @@ class ApiClient:
95
95
  self.default_headers[header_name] = header_value
96
96
  self.cookie = cookie
97
97
  # Set default User-Agent.
98
- self.user_agent = 'graphsense-python/2.19.0'
98
+ self.user_agent = 'graphsense-python/2.20.0'
99
99
  self.client_side_validation = configuration.client_side_validation
100
100
 
101
101
  def __enter__(self):
@@ -533,8 +533,8 @@ conf = graphsense.Configuration(
533
533
  return "Python SDK Debug Report:\n"\
534
534
  "OS: {env}\n"\
535
535
  "Python Version: {pyversion}\n"\
536
- "Version of the API: 2.19.0\n"\
537
- "SDK Package Version: 2.19.0".\
536
+ "Version of the API: 2.20.0\n"\
537
+ "SDK Package Version: 2.20.0".\
538
538
  format(env=sys.platform, pyversion=sys.version)
539
539
 
540
540
  def get_host_settings(self) -> List[HostSetting]:
@@ -77,5 +77,5 @@ def install(
77
77
  # Replace the bound method. Type checkers (ty, mypy) flag the structural
78
78
  # mismatch between our *args/**kwargs wrapper and the generated
79
79
  # ApiClient.call_api's fixed signature; the substitution is intentional.
80
- api_client.call_api = wrapped # type: ignore[method-assign,assignment] # ty: ignore[invalid-assignment]
80
+ api_client.call_api = wrapped # type: ignore[method-assign,assignment]
81
81
  setattr(api_client, _SENTINEL_ATTR, True)
graphsense/ext/output.py CHANGED
@@ -44,8 +44,8 @@ def colorize_json(text: str) -> str:
44
44
 
45
45
  # pygments loads lexers/formatters dynamically; static analyzers
46
46
  # like ty can't see these members without runtime introspection.
47
- from pygments.formatters import TerminalFormatter # ty: ignore[unresolved-import]
48
- from pygments.lexers import JsonLexer # ty: ignore[unresolved-import]
47
+ from pygments.formatters import TerminalFormatter # ty: ignore[import-not-found]
48
+ from pygments.lexers import JsonLexer # ty: ignore[import-not-found]
49
49
  except ImportError: # pragma: no cover - only without [cli] extra
50
50
  return text
51
51
  # highlight() appends a trailing newline; strip so we control spacing.
@@ -15,7 +15,7 @@ import pprint
15
15
  import re # noqa: F401
16
16
  import json
17
17
 
18
- from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr
18
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Union
20
20
  from typing import Optional, Set
21
21
  from typing_extensions import Self
@@ -33,7 +33,9 @@ class LabelSummary(BaseModel):
33
33
  concepts: List[StrictStr]
34
34
  lastmod: StrictInt
35
35
  inherited_from: Optional[StrictStr] = None
36
- __properties: ClassVar[List[str]] = ["label", "count", "confidence", "relevance", "creators", "sources", "concepts", "lastmod", "inherited_from"]
36
+ actors: Optional[List[StrictStr]] = Field(default=None, description="Distinct actors of the tags merged into this label, sorted, including those of cluster-inherited tags. A label with actors is an actor label.")
37
+ tag_types: Optional[List[StrictStr]] = Field(default=None, description="Distinct tag types (actor, attribute, mention, ...) of the tags merged into this label, sorted.")
38
+ __properties: ClassVar[List[str]] = ["label", "count", "confidence", "relevance", "creators", "sources", "concepts", "lastmod", "inherited_from", "actors", "tag_types"]
37
39
 
38
40
  model_config = ConfigDict(
39
41
  populate_by_name=True,
@@ -95,7 +97,9 @@ class LabelSummary(BaseModel):
95
97
  "sources": obj.get("sources"),
96
98
  "concepts": obj.get("concepts"),
97
99
  "lastmod": obj.get("lastmod"),
98
- "inherited_from": obj.get("inherited_from")
100
+ "inherited_from": obj.get("inherited_from"),
101
+ "actors": obj.get("actors"),
102
+ "tag_types": obj.get("tag_types")
99
103
  })
100
104
  return _obj
101
105
 
@@ -15,7 +15,7 @@ import pprint
15
15
  import re # noqa: F401
16
16
  import json
17
17
 
18
- from pydantic import BaseModel, ConfigDict, StrictStr
18
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
19
19
  from typing import Any, ClassVar, Dict, List, Optional
20
20
  from typing import Optional, Set
21
21
  from typing_extensions import Self
@@ -29,7 +29,8 @@ class UserReportedTag(BaseModel):
29
29
  actor: Optional[StrictStr] = None
30
30
  label: StrictStr
31
31
  description: Optional[StrictStr] = None
32
- __properties: ClassVar[List[str]] = ["address", "network", "actor", "label", "description"]
32
+ concepts: Optional[List[StrictStr]] = Field(default=None, description="Additional concept ids for the address, from the concept taxonomy (GET /tags/taxonomies/concept/concepts), e.g. hot_wallet, cold_wallet, deposit_wallet. Added to the concepts of the actor, if one is given. Unknown ids are rejected with 400.")
33
+ __properties: ClassVar[List[str]] = ["address", "network", "actor", "label", "description", "concepts"]
33
34
 
34
35
  model_config = ConfigDict(
35
36
  populate_by_name=True,
@@ -87,7 +88,8 @@ class UserReportedTag(BaseModel):
87
88
  "network": obj.get("network"),
88
89
  "actor": obj.get("actor"),
89
90
  "label": obj.get("label"),
90
- "description": obj.get("description")
91
+ "description": obj.get("description"),
92
+ "concepts": obj.get("concepts")
91
93
  })
92
94
  return _obj
93
95
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphsense-python
3
- Version: 2.19.0
3
+ Version: 2.20.0
4
4
  Summary: GraphSense API
5
5
  Author-email: Iknaio Cryptoasset Analytics GmbH <contact@iknaio.com>
6
6
  License-Expression: MIT
@@ -63,8 +63,8 @@ connector or tool source; the assistant then handles the rest.
63
63
 
64
64
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
65
65
 
66
- - API version: 2.19.0
67
- - Package version: 2.19.0
66
+ - API version: 2.20.0
67
+ - Package version: 2.20.0
68
68
  - Generator version: 7.19.0
69
69
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
70
70
  For more information, please visit [https://www.iknaio.com/](https://www.iknaio.com/)
@@ -1,8 +1,8 @@
1
- graphsense/__init__.py,sha256=UEylVAElZ-bgcLgxDiT_gVEw5gu0LrQL0DOo8hfdt3w,13397
2
- graphsense/api_client.py,sha256=Ixqe5G-LaRZSHoEgs76AzF0e8lR34Puse5QsDUe91cs,30138
1
+ graphsense/__init__.py,sha256=ychroj0arnMAOkuPLD80fimZiH4pDI5QXex1s9VGwPk,13397
2
+ graphsense/api_client.py,sha256=AW5sQZDxuAKZylGTzGAaHt9rQw8zWki3fTjHufKg2kU,30138
3
3
  graphsense/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
4
  graphsense/compat.py,sha256=eYxsl2pMufiZZ7seh3bQGdKybSwBLWVhiJQ83rVG4gM,7745
5
- graphsense/configuration.py,sha256=F-_XnQn46_3YQyYfCtBAEtUy2C-EhaAp7Hyk2QXwMeo,20859
5
+ graphsense/configuration.py,sha256=R_vtIGULPRZoTYy4rGtbGjDtooQY7tNPE8IHw93etjU,20859
6
6
  graphsense/exceptions.py,sha256=_HpAulbSZl7TvZBjGarJvBqHJZxFV21yWs4Qx99d2Zg,8271
7
7
  graphsense/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  graphsense/removed.py,sha256=kY1w-Uj_C52wnhx6v6N7lgBO--OMz3U3yIHo-7aI-Vs,5231
@@ -36,9 +36,9 @@ graphsense/cli/scan.py,sha256=4tKbY2JGDGG6lIDGHBD6ilLF00NrOtkCe9VSrGY9a0U,3482
36
36
  graphsense/ext/__init__.py,sha256=aiAESazZMyqoHtTVQyLmLPVjnXm0QsKX0kIMJjHvyzI,249
37
37
  graphsense/ext/bulk.py,sha256=ho6TjuCfishT3BWUEZ7Kl3_22R-oDxdCvanxuhmsma8,3535
38
38
  graphsense/ext/client.py,sha256=6KSyqiKJGrXatFf-kZMZY2Ka5EnDWKmzefccTtZqMcc,19845
39
- graphsense/ext/deprecation.py,sha256=_-FOj_-9sm4sq1Wp8a4E_wpFOogv2kgek8NveFga6uA,2852
39
+ graphsense/ext/deprecation.py,sha256=BpeDWCvrqYl0J3r4SpxmQ4E_LmIGVmzNy2qYE2jaBSI,2818
40
40
  graphsense/ext/io.py,sha256=K_-wlvLGEWkVD4qv2oqGHXk0UiCyd4fwXw3tTFnOQ_s,7711
41
- graphsense/ext/output.py,sha256=lXnfzRwFkazskqZJTSnhtAfanrs1kyBpazuAuz8-fZc,8222
41
+ graphsense/ext/output.py,sha256=3zRV_tc4zPLqFosltkLCLQfDuAdZU3Fjw0fOnm2bgzo,8220
42
42
  graphsense/ext/selectors.py,sha256=2YvMMGyfk96lJppt94W9pWPGuhhtInTiq5fqFCpCxFo,1035
43
43
  graphsense/gs_files/__init__.py,sha256=yMuHVOAnPC5gerq2rYdBDKhr6BgqXoSk8mIX7FkVMpc,2508
44
44
  graphsense/gs_files/encoder.py,sha256=ednj7ADDc4YDNzSerTyYzBb88Aesa8ifasFkK8een6Y,37558
@@ -149,7 +149,7 @@ graphsense/models/graph_tx_ref.py,sha256=4AHCCjkl1HW8NtMC8JNbHUUsjMeZ0wHrBAwRonc
149
149
  graphsense/models/graph_tx_summary.py,sha256=Msm4ZTygzq0c2l16NC5Purfkbf_73RYQE0vrJ5vBDgk,5111
150
150
  graphsense/models/http_validation_error.py,sha256=-l0lRwFY3Maw6CgBtJTDjeu1BIIVpCVSZ3CLYzEjHMQ,4733
151
151
  graphsense/models/join_market_heuristic.py,sha256=-1BsAWpQ-H05KFWznNGbmnLA3NeI285dpt6_VNzS5_0,4561
152
- graphsense/models/label_summary.py,sha256=z93yMqvbL7o5QHH89aFFwHZB3gTrYaNRTI9v3CQprHY,4990
152
+ graphsense/models/label_summary.py,sha256=8W1VDyqs4L6d8kV3CAGHtg7fxroKMMEgnA_m6hLLVFg,5499
153
153
  graphsense/models/labeled_item_ref.py,sha256=iT3kpXJIm5ECrt2b-tJzewWGJgh-Pm3GQjaJlgFe46E,4280
154
154
  graphsense/models/lineage_edge.py,sha256=Gr_PUrxVq5toBwWQvgrz0A7Y3d9_H-R0JSTgNF2D4HI,4837
155
155
  graphsense/models/link.py,sha256=B6y0pD4SZfC9CGjyjKkJzOTVPtJIk4zyPr3Li5AMMqc,8963
@@ -195,7 +195,7 @@ graphsense/models/tx_ref.py,sha256=AFUPToR3-5ZZDB6lNd8V5JXX7CbdnjERFWfnsSZc7XI,4
195
195
  graphsense/models/tx_summary.py,sha256=bcoKxk6DXoDGKFTpt0Jmcn1oA-ogXXkQB9wFOavvpiU,4780
196
196
  graphsense/models/tx_utxo.py,sha256=UTSgW5Av0L3-JIDf9qLVF1HQxGDW2O1_hGvsHsgH1rE,8259
197
197
  graphsense/models/tx_value.py,sha256=v34prgoyXLT28sjf4AteY5dTb1gJQ0dInWTZuHiNyeY,4667
198
- graphsense/models/user_reported_tag.py,sha256=vesXWP9O1oheaQVJlMVqIsXwSwIUtHINXzc3MfVIjKA,4582
198
+ graphsense/models/user_reported_tag.py,sha256=or91GD8oqwfQ34GoXg96mLNeDRMXY8dzSG6Abai39OI,4964
199
199
  graphsense/models/user_tag_report_response.py,sha256=tZZVVGgTdzVCE4_qSXFh1yUYJilrMoIy4rhreSKphD4,4244
200
200
  graphsense/models/utxo_heuristics.py,sha256=3JAHMgQOmBtaInSufVIcvoKcMqcOHDt3c058lTWAsCs,5145
201
201
  graphsense/models/validation_error.py,sha256=pmT0GFWrBq97yFFzw_b4AwsnvjM5vY8Ea0C1xMBzKNg,4957
@@ -203,8 +203,8 @@ graphsense/models/values.py,sha256=v8sTxZb3CTeXTKvyXAgXXkR8W1vONLFvgo2muGAp50g,5
203
203
  graphsense/models/wasabi_heuristic.py,sha256=me6viyG_wTkPdKgDuf06WL4vSXV1_G11yh-vCyYzkHg,4907
204
204
  graphsense/models/whirlpool_coin_join_heuristic.py,sha256=RMqSclSx4oOVKmgLvG7GGaS91l92HomaKfhjtsBZueE,4698
205
205
  graphsense/models/whirlpool_tx0_heuristic.py,sha256=fFuua9WRZ4imd5lD8qeBrdw_anD0ZsRHac7_kuudaDQ,4597
206
- graphsense_python-2.19.0.dist-info/METADATA,sha256=t4tlU7wpWBWo8pLAjTr4T_RFSAzOsW3MGyDF9meGIyY,16357
207
- graphsense_python-2.19.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
208
- graphsense_python-2.19.0.dist-info/entry_points.txt,sha256=lpyKbSHxyefsWBnbUdzhdlqCnihJwy_qWOnEOvoslHM,55
209
- graphsense_python-2.19.0.dist-info/top_level.txt,sha256=K6FGxjSRl4niIt3RCWCBQEJmIiIxCM1lFEyZVENIjAs,11
210
- graphsense_python-2.19.0.dist-info/RECORD,,
206
+ graphsense_python-2.20.0.dist-info/METADATA,sha256=qmD2RX0-Wunz-nWaLezapeWL72hpbwT9INK-o8PTXX4,16357
207
+ graphsense_python-2.20.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
208
+ graphsense_python-2.20.0.dist-info/entry_points.txt,sha256=lpyKbSHxyefsWBnbUdzhdlqCnihJwy_qWOnEOvoslHM,55
209
+ graphsense_python-2.20.0.dist-info/top_level.txt,sha256=K6FGxjSRl4niIt3RCWCBQEJmIiIxCM1lFEyZVENIjAs,11
210
+ graphsense_python-2.20.0.dist-info/RECORD,,