Skip to content

Commit 76e9690

Browse files
author
Emil Gelfort
authored
Merge pull request #3 from SquareFactory/AR-100_change_cli_name
Ar 100 change cli name
2 parents 4a61cfa + 4d16727 commit 76e9690

5 files changed

Lines changed: 17 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

77

8+
## [0.4.2] - 2022.07.06
9+
10+
### Improvements
11+
- doc improvement for release
12+
- name change to avoid confusions
13+
814

915
## [0.4.1] - 2022.02.17
1016

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ End-to-end guidelines on the code adaptation required to deploy a model on isqua
3939
To verify if your code will run smoothly on [ISquare](isquare.ai), you can perform a local build & unit test. This will build a container image with all your specific dependencies and perform an inference test. We've included an example of a simple computer vision model which returns the mirrored image it is given, and it can be tested by running:
4040

4141
```bash
42-
i2 build examples/tasks/mirror.py
42+
i2py build examples/tasks/mirror.py
4343
```
4444
When you deploy a model with [ISquare](isquare.ai), you will be provided a url for the model, and requested to create access keys. Using a valid url & access keys (the one displayed are an example), you can perform an inference with an Image model (e.g. the Mirror) and a `.png` image by running:
4545

4646

4747
```bash
48-
i2 infer \
48+
i2py infer \
4949
--url wss://archipel-beta1.isquare.ai/43465956-8d6f-492f-ad45-91da69da44d0 \
5050
--access_uuid 48c1d60a-60fd-4643-90e4-cd0187b4fd9d \
5151
examples/test.png

docs/commands.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# i2
22

3-
`i2`, for isquare, is the name of the general command used for the client:
3+
`i2py`, for isquare python client, is the name of the general command used for the client:
44

55
```bash
6-
Usage: i2 [OPTIONS] COMMAND [ARGS]...
6+
Usage: i2py [OPTIONS] COMMAND [ARGS]...
77

88
Command line interface for isquare.
99

@@ -19,7 +19,7 @@ Commands:
1919
## build
2020

2121
```bash
22-
Usage: i2 build [OPTIONS] SCRIPT
22+
Usage: i2py build [OPTIONS] SCRIPT
2323

2424
Build an docker image ready for isquare.
2525

@@ -46,7 +46,7 @@ If you just want to test an image without rebuilding it completely you can just
4646
following command:
4747

4848
```bash
49-
Usage: i2 test [OPTIONS] TAG
49+
Usage: i2py test [OPTIONS] TAG
5050

5151
Verify that an docker image matches the isquare standard.
5252

@@ -57,10 +57,10 @@ Options:
5757

5858
## infer
5959

60-
The `i2 infer` command is used to send the data to your models running on isquare:
60+
The `i2py infer` command is used to send the data to your models running on isquare:
6161

6262
```bash
63-
Usage: i2 infer [OPTIONS] DATA
63+
Usage: i2py infer [OPTIONS] DATA
6464

6565
Send data for inference.
6666

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The client allows you to build and test your model before uploading it to isquar
2222
you to test this feature, which we are sure will save you alot of time. For instance, try running:
2323

2424
```bash
25-
i2 build examples/tasks/mirror.py --cpu
25+
i2py build examples/tasks/mirror.py --cpu
2626
```
2727
You should see following output:
2828

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@
2727
"numpy>=1.19",
2828
"rich>=10.13",
2929
"websockets>=8.1",
30+
"opencv-python==4.6.0.66",
3031
],
3132
packages=find_packages(),
3233
entry_points="""
3334
[console_scripts]
34-
i2=i2_client:i2_cli
35+
i2py=i2_client:i2_cli
3536
""",
3637
python_requires=">=3.8",
3738
)

0 commit comments

Comments
 (0)