Skip to content

Commit b4c7a70

Browse files
authored
Merge pull request #41 from hiero-ledger/publish-actions-update
Reverting from python to shell script, renaming src directory and imports
2 parents 544e12e + 5d440e2 commit b4c7a70

File tree

84 files changed

+321
-347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+321
-347
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: pip install build pdm-backend
2424

2525
- name: Generate Protobuf (if needed)
26-
run: uv run generate_proto.py
26+
run: bash ./generate_proto.sh
2727

2828
- name: Build wheel and sdist
2929
run: python -m build
@@ -32,4 +32,4 @@ jobs:
3232
uses: pypa/gh-action-pypi-publish@release/v1
3333
with:
3434
user: __token__
35-
password: ${{ secrets.PYPI_API_TOKEN }}
35+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: uv sync --all-extras --dev
2626

2727
- name: Generate Proto Files
28-
run: uv run generate_proto.py
28+
run: bash ./generate_proto.sh
2929

3030
- name: Prepare Hedera Solo
3131
id: solo

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ myenv/
1717

1818
# Generated protobuf files
1919
.protos
20-
src/hedera_sdk_python/hapi
20+
src/hiero_sdk_python/hapi
2121

2222
# VS Code settings
2323
.vscode/

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The latest release of this SDK is published to PyPI. You can install it with:
4242

4343
```
4444
pip install --upgrade pip
45-
pip install hedera-sdk-python
45+
pip install hiero_sdk_python
4646
```
4747

4848
This will pull down a stable release along with the required dependencies.
@@ -72,8 +72,8 @@ Other installation methods can be found [here](https://docs.astral.sh/uv/getting
7272
2. Clone this repository:
7373

7474
```bash
75-
git clone https://github.com/nadineloepfe/hedera_sdk_python.git
76-
cd hedera_sdk_python
75+
git clone https://github.com/hiero-ledger/hiero_sdk_python.git
76+
cd hiero-sdk-python
7777
```
7878

7979
3. Install dependencies:
@@ -84,7 +84,7 @@ worry about managing multiple versions of python on your machine!
8484

8585
```bash
8686
uv sync
87-
uv run generate_proto.py
87+
sh generate_proto.sh
8888
```
8989

9090
To update to a newer version of the protobuf libraries, edit the `generate_proto.py` file and change the version number
@@ -96,13 +96,13 @@ and then rerun it.
9696
For active development, you can install the repo in editable mode. That way, changes in your local code are immediately reflected when you import:
9797

9898
```
99-
git clone https://github.com/nadineloepfe/hedera_sdk_python.git
100-
cd hedera_sdk_python
99+
git clone https://github.com/hiero-ledger/hiero-sdk-python.git
100+
cd hiero-sdk-python
101101
pip install --upgrade pip
102102
pip install -e .
103103
```
104104

105-
Now you can run example scripts like python `examples/account_create.py`, and it will import from your local hedera_sdk_python code.
105+
Now you can run example scripts like python `examples/account_create.py`, and it will import from your local hiero_sdk_python code.
106106

107107

108108
## Environment Setup

examples/account_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
Network,
88
AccountId,

examples/query_balance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
from dotenv import load_dotenv
55

6-
from hedera_sdk_python import (
6+
from hiero_sdk_python import (
77
Network,
88
Client,
99
AccountId,

examples/query_receipt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Network,
77
Client,
88
AccountId,

examples/query_topic_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from dotenv import load_dotenv
33

4-
from hedera_sdk_python import (
4+
from hiero_sdk_python import (
55
Network,
66
Client,
77
AccountId,

examples/query_topic_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from datetime import datetime
44
from dotenv import load_dotenv
55

6-
from hedera_sdk_python import (
6+
from hiero_sdk_python import (
77
Network,
88
Client,
99
TopicMessageQuery,

examples/token_associate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/token_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/token_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/token_dissociate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
Network,
88
AccountId,

examples/token_mint_fungible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/token_mint_non_fungible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import json
44
from dotenv import load_dotenv
55

6-
from hedera_sdk_python import (
6+
from hiero_sdk_python import (
77
Client,
88
AccountId,
99
PrivateKey,

examples/topic_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/topic_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/topic_message_submit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/topic_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/transfer_hbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

examples/transfer_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
from dotenv import load_dotenv
44

5-
from hedera_sdk_python import (
5+
from hiero_sdk_python import (
66
Client,
77
AccountId,
88
PrivateKey,

generate_proto.py

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)