Skip to content

Commit 7ed2810

Browse files
committed
update python versions & examples
1 parent 10bbd86 commit 7ed2810

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Injective Python SDK
22

3-
Note: Apple `M1` processor is not supported
4-
53
### Dependences
64

75
**Ubuntu**
@@ -24,7 +22,7 @@ import injective.exchange_api
2422
### Usage
2523
Requires Python 3.7+
2624

27-
[examples](https://github.com/InjectiveLabs/sdk-python/tree/master/examples): https://github.com/InjectiveLabs/sdk-python/tree/master/examples
25+
[Examples](https://github.com/InjectiveLabs/sdk-python/tree/master/examples)
2826
```bash
2927
$ pipenv shell
3028
$ pipenv install
@@ -35,7 +33,7 @@ $ python examples/exchange_api_example/examples/spot_exchange_rpc/8_StreamOrders
3533

3634
# sending a msg with bank transfer
3735
# signs and posts a Tx to the Injective Chain
38-
$ python examples/chain_client_example/examples/example.py
36+
$ python examples/exchange_api_examples/spot_exchange_rpc/8_StreamOrdersRequest.py
3937
```
4038
Upgrade `pip` to the latest version, if you see these warnings:
4139
```

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
AUTHOR = "Injective Labs"
1919
REQUIRES_PYTHON = ">=3.7.0"
20-
VERSION = "0.3.2"
20+
VERSION = "0.4.1"
2121

2222
REQUIRED = [
2323
"grpcio",
@@ -27,7 +27,8 @@
2727
"bech32",
2828
"mnemonic",
2929
"hdwallets",
30-
"pysha3",
30+
"pysha3"
31+
"protobuf",
3132
]
3233

3334
# The rest you shouldn't have to touch too much :)
@@ -114,7 +115,7 @@ def run(self):
114115
"License :: OSI Approved :: Apache Software License",
115116
"Programming Language :: Python",
116117
"Programming Language :: Python :: 3",
117-
"Programming Language :: Python :: 3.9",
118+
"Programming Language :: Python :: 3.7",
118119
"Programming Language :: Python :: Implementation :: CPython",
119120
"Programming Language :: Python :: Implementation :: PyPy",
120121
],

0 commit comments

Comments
 (0)