mm-balance 0.2.2__py3-none-any.whl → 0.2.3__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.
mm_balance/cli.py CHANGED
@@ -5,7 +5,7 @@ import pkgutil
5
5
  from typing import Annotated
6
6
 
7
7
  import typer
8
- from mm_std import PrintFormat, fatal
8
+ from mm_std import PrintFormat, fatal, pretty_print_toml
9
9
 
10
10
  from mm_balance.config import Config
11
11
  from mm_balance.constants import NETWORKS
@@ -27,7 +27,9 @@ def version_callback(value: bool) -> None:
27
27
  def example_callback(value: bool) -> None:
28
28
  if value:
29
29
  data = pkgutil.get_data(__name__, "config/example.toml")
30
- typer.echo(data)
30
+ if data is None:
31
+ fatal("Example config not found")
32
+ pretty_print_toml(data.decode("utf-8"))
31
33
  raise typer.Exit
32
34
 
33
35
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mm-balance
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Requires-Python: >=3.12
5
5
  Requires-Dist: mm-aptos==0.2.0
6
6
  Requires-Dist: mm-btc==0.3.0
7
- Requires-Dist: mm-eth==0.3.1
8
- Requires-Dist: mm-sol==0.3.1
7
+ Requires-Dist: mm-eth==0.5.2
8
+ Requires-Dist: mm-sol==0.5.1
9
9
  Requires-Dist: typer>=0.15.1
@@ -1,5 +1,5 @@
1
1
  mm_balance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- mm_balance/cli.py,sha256=KYEfz1ztFpXAxOWlQMJ0rWGnAdkGkvTgVS53pm6YxCw,3683
2
+ mm_balance/cli.py,sha256=AHaD6w97H8ru8nnQv2dcqh9v-d9BVirnlsClbLyHf6M,3796
3
3
  mm_balance/config.py,sha256=3qEg9xGCoH6WX91dlmjXVVhkCjJf8KFOmfqE8NgSc64,4603
4
4
  mm_balance/constants.py,sha256=kqG2zuwv0l-PzDHIrMJVQpfQWiXjr2DsqGPcKmqNJLo,2334
5
5
  mm_balance/price.py,sha256=DzvcQngS6wgi_4YWoXxGvOuOkwJvUbN0KI8DeIxbB5A,1494
@@ -18,7 +18,7 @@ mm_balance/rpc/aptos.py,sha256=1JCYCqDim4tk1axXscaAJRXPd4J6vV1ABFbwMbPgrL0,641
18
18
  mm_balance/rpc/btc.py,sha256=iGDoO7HXP6reLI0bWm0UhEl7-UFZTo5xCWNzFngbITw,458
19
19
  mm_balance/rpc/evm.py,sha256=ewlMmRrcXKlky3DPNbnUBTVwnvyw7N9iCZLsCX2V14w,1007
20
20
  mm_balance/rpc/solana.py,sha256=c756415rlhQkHsVsqxHcA7wIaSM64IqyxMohjz8IGhY,1031
21
- mm_balance-0.2.2.dist-info/METADATA,sha256=Ck93hoOiO3Jq7kIHym9IN0XYMolvaYw6dGrhm_8II7I,225
22
- mm_balance-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- mm_balance-0.2.2.dist-info/entry_points.txt,sha256=rSnP0ZW1a3ACNwTWM7T53CmOycKbzhG43m2_wseENng,50
24
- mm_balance-0.2.2.dist-info/RECORD,,
21
+ mm_balance-0.2.3.dist-info/METADATA,sha256=5FAngHypNiHnXLneqRH9E3n1jX45TIdJekZ4uAIKs4M,225
22
+ mm_balance-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ mm_balance-0.2.3.dist-info/entry_points.txt,sha256=rSnP0ZW1a3ACNwTWM7T53CmOycKbzhG43m2_wseENng,50
24
+ mm_balance-0.2.3.dist-info/RECORD,,