terrakio-admin-api 0.2.1__tar.gz → 0.2.2__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.
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/PKG-INFO +6 -2
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/README.md +5 -1
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/pyproject.toml +1 -1
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/setup.py +1 -1
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/PKG-INFO +6 -2
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/setup.cfg +0 -0
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api/__init__.py +0 -0
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/SOURCES.txt +0 -0
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/dependency_links.txt +0 -0
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/requires.txt +0 -0
- {terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: terrakio-admin-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Admin API client for Terrakio services
|
|
5
5
|
Home-page: https://github.com/HaizeaAnalytics/terrakio-python-api
|
|
6
6
|
Author: Yupeng Chao
|
|
@@ -57,9 +57,13 @@ print(f"✓ Login successful, personal token: {token[:10]}...")
|
|
|
57
57
|
api_key = admin_client.view_api_key()
|
|
58
58
|
print(f"✓ Current API key: {api_key[:10]}...")
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# List number of datasets
|
|
61
61
|
datasets = admin_client.list_datasets()
|
|
62
62
|
print(f"✓ Listed {len(datasets)} datasets")
|
|
63
|
+
|
|
64
|
+
# List number of users
|
|
65
|
+
users = admin_client.list_users()
|
|
66
|
+
print(f"✓ Listed {len(users)} users")
|
|
63
67
|
```
|
|
64
68
|
|
|
65
69
|
For more documentation, see the [main repository](https://github.com/HaizeaAnalytics/terrakio-python-api).
|
|
@@ -33,9 +33,13 @@ print(f"✓ Login successful, personal token: {token[:10]}...")
|
|
|
33
33
|
api_key = admin_client.view_api_key()
|
|
34
34
|
print(f"✓ Current API key: {api_key[:10]}...")
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# List number of datasets
|
|
37
37
|
datasets = admin_client.list_datasets()
|
|
38
38
|
print(f"✓ Listed {len(datasets)} datasets")
|
|
39
|
+
|
|
40
|
+
# List number of users
|
|
41
|
+
users = admin_client.list_users()
|
|
42
|
+
print(f"✓ Listed {len(users)} users")
|
|
39
43
|
```
|
|
40
44
|
|
|
41
45
|
For more documentation, see the [main repository](https://github.com/HaizeaAnalytics/terrakio-python-api).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: terrakio-admin-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Admin API client for Terrakio services
|
|
5
5
|
Home-page: https://github.com/HaizeaAnalytics/terrakio-python-api
|
|
6
6
|
Author: Yupeng Chao
|
|
@@ -57,9 +57,13 @@ print(f"✓ Login successful, personal token: {token[:10]}...")
|
|
|
57
57
|
api_key = admin_client.view_api_key()
|
|
58
58
|
print(f"✓ Current API key: {api_key[:10]}...")
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# List number of datasets
|
|
61
61
|
datasets = admin_client.list_datasets()
|
|
62
62
|
print(f"✓ Listed {len(datasets)} datasets")
|
|
63
|
+
|
|
64
|
+
# List number of users
|
|
65
|
+
users = admin_client.list_users()
|
|
66
|
+
print(f"✓ Listed {len(users)} users")
|
|
63
67
|
```
|
|
64
68
|
|
|
65
69
|
For more documentation, see the [main repository](https://github.com/HaizeaAnalytics/terrakio-python-api).
|
|
File without changes
|
|
File without changes
|
{terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/requires.txt
RENAMED
|
File without changes
|
{terrakio_admin_api-0.2.1 → terrakio_admin_api-0.2.2}/terrakio_admin_api.egg-info/top_level.txt
RENAMED
|
File without changes
|