hippius 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.
- {hippius-0.2.2.dist-info → hippius-0.2.3.dist-info}/METADATA +8 -7
- hippius-0.2.3.dist-info/RECORD +16 -0
- hippius_sdk/__init__.py +1 -1
- hippius_sdk/cli.py +277 -2628
- hippius_sdk/cli_assets.py +8 -0
- hippius_sdk/cli_handlers.py +2370 -0
- hippius_sdk/cli_parser.py +602 -0
- hippius_sdk/cli_rich.py +253 -0
- hippius_sdk/client.py +56 -8
- hippius_sdk/config.py +1 -1
- hippius_sdk/ipfs.py +372 -16
- hippius_sdk/ipfs_core.py +22 -1
- hippius_sdk/substrate.py +215 -525
- hippius_sdk/utils.py +84 -2
- hippius-0.2.2.dist-info/RECORD +0 -12
- {hippius-0.2.2.dist-info → hippius-0.2.3.dist-info}/WHEEL +0 -0
- {hippius-0.2.2.dist-info → hippius-0.2.3.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hippius
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.3
|
4
4
|
Summary: Python SDK and CLI for Hippius blockchain storage
|
5
5
|
Home-page: https://github.com/thenervelab/hippius-sdk
|
6
6
|
Author: Dubs
|
@@ -24,6 +24,7 @@ Requires-Dist: pynacl (>=1.5.0,<2.0.0)
|
|
24
24
|
Requires-Dist: pyperclip (>=1.8.2,<2.0.0) ; extra == "clipboard"
|
25
25
|
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
26
26
|
Requires-Dist: requests (>=2.28.1,<3.0.0)
|
27
|
+
Requires-Dist: rich (>=14.0.0,<15.0.0)
|
27
28
|
Requires-Dist: substrate-interface (>=1.4.2,<2.0.0)
|
28
29
|
Requires-Dist: zfec (>=1.5.3,<2.0.0)
|
29
30
|
Project-URL: Documentation, https://github.com/thenervelab/hippius-sdk/docs
|
@@ -67,7 +68,7 @@ client = HippiusClient()
|
|
67
68
|
|
68
69
|
# Or specify custom endpoints
|
69
70
|
client = HippiusClient(
|
70
|
-
ipfs_gateway="https://
|
71
|
+
ipfs_gateway="https://get.hippius.network", # For downloads (default)
|
71
72
|
ipfs_api_url="https://store.hippius.network", # For uploads (default)
|
72
73
|
)
|
73
74
|
|
@@ -428,7 +429,7 @@ The Hippius SDK includes a powerful command-line interface (CLI) that provides a
|
|
428
429
|
hippius --help
|
429
430
|
|
430
431
|
# Set global options
|
431
|
-
hippius --gateway https://
|
432
|
+
hippius --gateway https://get.hippius.network --api-url https://store.hippius.network --verbose
|
432
433
|
```
|
433
434
|
|
434
435
|
### IPFS Operations
|
@@ -520,7 +521,7 @@ The `ec-files` command has been optimized for performance and can now handle lar
|
|
520
521
|
The CLI automatically reads from your `.env` file for common settings:
|
521
522
|
|
522
523
|
```
|
523
|
-
IPFS_GATEWAY=https://
|
524
|
+
IPFS_GATEWAY=https://get.hippius.network
|
524
525
|
IPFS_API_URL=https://store.hippius.network
|
525
526
|
SUBSTRATE_URL=wss://rpc.hippius.network
|
526
527
|
SUBSTRATE_SEED_PHRASE="your twelve word seed phrase..."
|
@@ -541,7 +542,7 @@ ipfs_client = IPFSClient()
|
|
541
542
|
|
542
543
|
# Or specify custom endpoints
|
543
544
|
ipfs_client = IPFSClient(
|
544
|
-
gateway="https://
|
545
|
+
gateway="https://get.hippius.network", # For downloads
|
545
546
|
api_url="http://relay-fr.hippius.network:5001" # For uploads
|
546
547
|
)
|
547
548
|
|
@@ -611,7 +612,7 @@ hippius config list
|
|
611
612
|
hippius config get ipfs gateway
|
612
613
|
|
613
614
|
# Set a configuration value
|
614
|
-
hippius config set ipfs gateway https://
|
615
|
+
hippius config set ipfs gateway https://get.hippius.network
|
615
616
|
|
616
617
|
# Import settings from your .env file
|
617
618
|
hippius config import-env
|
@@ -627,7 +628,7 @@ The configuration is organized in the following sections:
|
|
627
628
|
```json
|
628
629
|
{
|
629
630
|
"ipfs": {
|
630
|
-
"gateway": "https://
|
631
|
+
"gateway": "https://get.hippius.network",
|
631
632
|
"api_url": "https://store.hippius.network",
|
632
633
|
"local_ipfs": false
|
633
634
|
},
|
@@ -0,0 +1,16 @@
|
|
1
|
+
hippius_sdk/__init__.py,sha256=usXyUpz3sVTOfYuhYSbxsVL0TjbwtffjLDELEKDpEo4,1391
|
2
|
+
hippius_sdk/cli.py,sha256=Auy9eIlQYMpmIOIRfMBILiT5edoaW4NK6R5ETABCQ5k,16987
|
3
|
+
hippius_sdk/cli_assets.py,sha256=XUQyiyswa2-9t5MsW_oGrWytG0Mz8geXGLnA3w0jyv8,781
|
4
|
+
hippius_sdk/cli_handlers.py,sha256=BGpAAYph83kPsEDzf5t-0B-z6zV75_AtYjwDOk7z7dU,87803
|
5
|
+
hippius_sdk/cli_parser.py,sha256=vZUGpi-NoYm4Bv9NrkjrnEVZJ3NMwhHVyV-7cEYZ7Gg,18737
|
6
|
+
hippius_sdk/cli_rich.py,sha256=_jTBYMdHi2--fIVwoeNi-EtkdOb6Zy_O2TUiGvU3O7s,7324
|
7
|
+
hippius_sdk/client.py,sha256=a-jr3_RAin_laT2qGvMm8taUb_5yYlNMwi7JVQSFj0w,16689
|
8
|
+
hippius_sdk/config.py,sha256=JDI0Vb4s-FfJsOJ25wEA6rTiCS0tzfDmzlGGOy77Zko,22962
|
9
|
+
hippius_sdk/ipfs.py,sha256=fld4YUZFrBnsq69gQNpEMCsvowE1QwOFhhSxF7Aed-k,72700
|
10
|
+
hippius_sdk/ipfs_core.py,sha256=AS5jjpJ9lbC5wbDP_asB3-pZBEpHsE9VjL8aQA5VUxM,7291
|
11
|
+
hippius_sdk/substrate.py,sha256=RIm2acNAxMJCxywXQJ-9V_usqs01g5CcaEfdSFwhVfo,44734
|
12
|
+
hippius_sdk/utils.py,sha256=Ur7P_7iVnXXYvbg7a0aVrdN_8NkVxjhdngn8NzR_zpc,7066
|
13
|
+
hippius-0.2.3.dist-info/METADATA,sha256=zrxR5YdTOb0bt_9aX0Waby76v8Pg8MyjA1_kI7NO_78,28143
|
14
|
+
hippius-0.2.3.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
15
|
+
hippius-0.2.3.dist-info/entry_points.txt,sha256=b1lo60zRXmv1ud-c5BC-cJcAfGE5FD4qM_nia6XeQtM,98
|
16
|
+
hippius-0.2.3.dist-info/RECORD,,
|
hippius_sdk/__init__.py
CHANGED