unitlab 2.4.0__tar.gz → 2.4.1__tar.gz

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.
@@ -32,7 +32,11 @@
32
32
  "Bash(git reset:*)",
33
33
  "Bash(git rm:*)",
34
34
  "Bash(git status:*)",
35
- "Bash(git push:*)"
35
+ "Bash(git push:*)",
36
+ "Bash(git update-ref:*)",
37
+ "Bash(gh api:*)",
38
+ "Bash(for user in Shahrullo shohmax mrakhror maxunitlab)",
39
+ "Bash(do echo \"Removing $user...\")"
36
40
  ]
37
41
  }
38
42
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitlab
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: Python SDK for the Unitlab.ai data annotation platform
5
5
  Project-URL: Homepage, https://unitlab.ai
6
6
  Project-URL: Documentation, https://docs.unitlab.ai
@@ -37,7 +37,7 @@ Description-Content-Type: text/markdown
37
37
 
38
38
  <p align="center">
39
39
  <br>
40
- <img src="assets/logo.png" width="400"/>
40
+ <img src="https://unitlab-storage.s3.us-east-2.amazonaws.com/Logo.png" width="400"/>
41
41
  <br>
42
42
  <p>
43
43
 
@@ -58,7 +58,7 @@ Description-Content-Type: text/markdown
58
58
 
59
59
  [Unitlab.ai](https://unitlab.ai/) is an AI-driven data annotation platform that automates the collection of raw data, facilitating collaboration with human annotators to produce highly accurate labels for your machine learning models. With our service, you can optimize work efficiency, improve data quality, and reduce costs.
60
60
 
61
- ![](assets/unitlabDoc.png)
61
+ ![](https://unitlab-storage.s3.us-east-2.amazonaws.com/unitlab.png)
62
62
 
63
63
  # Unitlab Python SDK
64
64
 
@@ -1,6 +1,6 @@
1
1
  <p align="center">
2
2
  <br>
3
- <img src="assets/logo.png" width="400"/>
3
+ <img src="https://unitlab-storage.s3.us-east-2.amazonaws.com/Logo.png" width="400"/>
4
4
  <br>
5
5
  <p>
6
6
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  [Unitlab.ai](https://unitlab.ai/) is an AI-driven data annotation platform that automates the collection of raw data, facilitating collaboration with human annotators to produce highly accurate labels for your machine learning models. With our service, you can optimize work efficiency, improve data quality, and reduce costs.
23
23
 
24
- ![](assets/unitlabDoc.png)
24
+ ![](https://unitlab-storage.s3.us-east-2.amazonaws.com/unitlab.png)
25
25
 
26
26
  # Unitlab Python SDK
27
27
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "unitlab"
7
- version = "2.4.0"
7
+ version = "2.4.1"
8
8
  description = "Python SDK for the Unitlab.ai data annotation platform"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,24 +0,0 @@
1
- First install the Unitlab.ai Python SDK using pip:
2
- pip install --upgrade unitlab
3
-
4
- Import the necessary packages, and initialize the Unitlab client using your API key:
5
- from unitlab import UnitlabClient
6
-
7
- #An API key can be created https://app.unitlab.ai/UnitlabAI/api-keys.
8
- api_key = "YOUR API KEY"
9
- client = UnitlabClient(api_key)
10
-
11
-
12
- Let's get a list of your projects programmatically using client.projects().
13
- Note that this list will be retrieved under the user account corresponding to the API key.
14
- #Result:
15
- [{'pk': '0ed69772-fd28-471b-b91c-2a57368c0dfb', 'name': '', 'parent_name': None, 'invoice': {'price': '0.00', 'images': 0}, 'annotator_progress': 0.0, 'reviewer_progress': 0.0, 'creator': 'user@gmail.com', 'created': '2023-04-11T11:00:23.737326+05:00'}, {'pk': '34738aec-b69b-4d30-9763-653017a68c02', 'name': 'human', 'parent_name': 'Red Blood Cell', 'invoice': {'price': '100.00', 'images': 1}, 'annotator_progress': 0.0, 'reviewer_progress': 0.0, 'creator': 'user@gmail.com', 'created': '2023-04-11T16:57:01.767677+05:00'},]
16
-
17
- Add images to the project.
18
- Now let's add images to the project which has not been created yet completely using client.project_upload_data():
19
- #Code
20
- project_id = 'project_id' # a project id.
21
- folder = '/home/user/DirOfPics/' # you can upload pictures(.jpg, .png) locally.
22
- sample = client.project_upload_data(project_id, folder)
23
-
24
- We can verify them using client.project('project_id') when project is fully created and images will be added to your images to do the project.
Binary file
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes