terrakio-admin-api 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

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.

Potentially problematic release.


This version of terrakio-admin-api might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: terrakio-admin-api
3
- Version: 0.2.1
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
- # Create a new dataset
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).
@@ -0,0 +1,5 @@
1
+ terrakio_admin_api/__init__.py,sha256=1fHirGmEFfLi19GEowKqYVF4Sh9oXqQ_1XxGUH5zxA0,1978
2
+ terrakio_admin_api-0.2.2.dist-info/METADATA,sha256=daf5vnVYvX56bCOPB380Y_tP7ecYasa1suO2dbIEUXw,2220
3
+ terrakio_admin_api-0.2.2.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
4
+ terrakio_admin_api-0.2.2.dist-info/top_level.txt,sha256=748j-dWRk6ZzvitoF8KKmeRij-jNohN1ESi8ePDz0os,19
5
+ terrakio_admin_api-0.2.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.6.0)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,5 +0,0 @@
1
- terrakio_admin_api/__init__.py,sha256=1fHirGmEFfLi19GEowKqYVF4Sh9oXqQ_1XxGUH5zxA0,1978
2
- terrakio_admin_api-0.2.1.dist-info/METADATA,sha256=z5RaTeuU-24r21-mUqyD9MNmDRj3valsLoRoNLiaN-o,2119
3
- terrakio_admin_api-0.2.1.dist-info/WHEEL,sha256=QZxptf4Y1BKFRCEDxD4h2V0mBFQOVFLFEpvxHmIs52A,91
4
- terrakio_admin_api-0.2.1.dist-info/top_level.txt,sha256=748j-dWRk6ZzvitoF8KKmeRij-jNohN1ESi8ePDz0os,19
5
- terrakio_admin_api-0.2.1.dist-info/RECORD,,