das-cli 1.0.14__tar.gz → 1.0.15__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.
- {das_cli-1.0.14/das_cli.egg-info → das_cli-1.0.15}/PKG-INFO +31 -1
- {das_cli-1.0.14 → das_cli-1.0.15}/README.md +30 -0
- {das_cli-1.0.14 → das_cli-1.0.15/das_cli.egg-info}/PKG-INFO +31 -1
- {das_cli-1.0.14 → das_cli-1.0.15}/pyproject.toml +1 -1
- {das_cli-1.0.14 → das_cli-1.0.15}/LICENSE +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/MANIFEST.in +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/__init__.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/ai/plugins/dasai.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/ai/plugins/entries/entries_plugin.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/app.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/authentication/auth.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/authentication/secure_input.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/cli.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/common/api.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/common/config.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/common/entry_fields_constants.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/common/enums.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/common/file_utils.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/managers/__init__.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/managers/digital_objects_manager.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/managers/download_manager.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/managers/entries_manager.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/managers/search_manager.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/attributes.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/cache.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/digital_objects.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/downloads.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/entries.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/entry_fields.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/hangfire.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/search.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das/services/users.py +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das_cli.egg-info/SOURCES.txt +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das_cli.egg-info/dependency_links.txt +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das_cli.egg-info/entry_points.txt +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das_cli.egg-info/requires.txt +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/das_cli.egg-info/top_level.txt +0 -0
- {das_cli-1.0.14 → das_cli-1.0.15}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: das-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.15
|
|
4
4
|
Summary: DAS api client.
|
|
5
5
|
Author: Royal Netherlands Institute for Sea Research
|
|
6
6
|
License-Expression: MIT
|
|
@@ -166,6 +166,23 @@ das entry update --attribute <AttributeName> [--code CODE] <file_path>
|
|
|
166
166
|
# das entry update --attribute core --data [{ 'Code': 'ENT001' }, { 'Code': 'ENT002' }]
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
+
#### Link or unlink digital objects
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
# Link digital objects by their codes to an entry
|
|
173
|
+
das entry link-digital-objects --entry-code ENT001 -d DO001 -d DO002
|
|
174
|
+
|
|
175
|
+
# Unlink digital objects from an entry
|
|
176
|
+
das entry link-digital-objects --entry-code ENT001 -d DO003 --unlink
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
#### Change ownership
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
# Transfer ownership of one or more entries to a user
|
|
183
|
+
das entry chown --user alice --code ENT001 --code ENT002
|
|
184
|
+
```
|
|
185
|
+
|
|
169
186
|
### Hangfire
|
|
170
187
|
|
|
171
188
|
```bash
|
|
@@ -216,6 +233,19 @@ das config ssl-status
|
|
|
216
233
|
das config reset --force
|
|
217
234
|
```
|
|
218
235
|
|
|
236
|
+
### AI
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
# Start interactive DAS AI session (prompts for OpenAI API key if needed)
|
|
240
|
+
das ai enable
|
|
241
|
+
|
|
242
|
+
# Clear saved OpenAI key and auth token
|
|
243
|
+
das ai clear [--force]
|
|
244
|
+
|
|
245
|
+
# Alias for `das ai clear`
|
|
246
|
+
das ai logout [--force]
|
|
247
|
+
```
|
|
248
|
+
|
|
219
249
|
## Python API
|
|
220
250
|
|
|
221
251
|
### Basic Usage
|
|
@@ -143,6 +143,23 @@ das entry update --attribute <AttributeName> [--code CODE] <file_path>
|
|
|
143
143
|
# das entry update --attribute core --data [{ 'Code': 'ENT001' }, { 'Code': 'ENT002' }]
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
+
#### Link or unlink digital objects
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
# Link digital objects by their codes to an entry
|
|
150
|
+
das entry link-digital-objects --entry-code ENT001 -d DO001 -d DO002
|
|
151
|
+
|
|
152
|
+
# Unlink digital objects from an entry
|
|
153
|
+
das entry link-digital-objects --entry-code ENT001 -d DO003 --unlink
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
#### Change ownership
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
# Transfer ownership of one or more entries to a user
|
|
160
|
+
das entry chown --user alice --code ENT001 --code ENT002
|
|
161
|
+
```
|
|
162
|
+
|
|
146
163
|
### Hangfire
|
|
147
164
|
|
|
148
165
|
```bash
|
|
@@ -193,6 +210,19 @@ das config ssl-status
|
|
|
193
210
|
das config reset --force
|
|
194
211
|
```
|
|
195
212
|
|
|
213
|
+
### AI
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
# Start interactive DAS AI session (prompts for OpenAI API key if needed)
|
|
217
|
+
das ai enable
|
|
218
|
+
|
|
219
|
+
# Clear saved OpenAI key and auth token
|
|
220
|
+
das ai clear [--force]
|
|
221
|
+
|
|
222
|
+
# Alias for `das ai clear`
|
|
223
|
+
das ai logout [--force]
|
|
224
|
+
```
|
|
225
|
+
|
|
196
226
|
## Python API
|
|
197
227
|
|
|
198
228
|
### Basic Usage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: das-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.15
|
|
4
4
|
Summary: DAS api client.
|
|
5
5
|
Author: Royal Netherlands Institute for Sea Research
|
|
6
6
|
License-Expression: MIT
|
|
@@ -166,6 +166,23 @@ das entry update --attribute <AttributeName> [--code CODE] <file_path>
|
|
|
166
166
|
# das entry update --attribute core --data [{ 'Code': 'ENT001' }, { 'Code': 'ENT002' }]
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
+
#### Link or unlink digital objects
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
# Link digital objects by their codes to an entry
|
|
173
|
+
das entry link-digital-objects --entry-code ENT001 -d DO001 -d DO002
|
|
174
|
+
|
|
175
|
+
# Unlink digital objects from an entry
|
|
176
|
+
das entry link-digital-objects --entry-code ENT001 -d DO003 --unlink
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
#### Change ownership
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
# Transfer ownership of one or more entries to a user
|
|
183
|
+
das entry chown --user alice --code ENT001 --code ENT002
|
|
184
|
+
```
|
|
185
|
+
|
|
169
186
|
### Hangfire
|
|
170
187
|
|
|
171
188
|
```bash
|
|
@@ -216,6 +233,19 @@ das config ssl-status
|
|
|
216
233
|
das config reset --force
|
|
217
234
|
```
|
|
218
235
|
|
|
236
|
+
### AI
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
# Start interactive DAS AI session (prompts for OpenAI API key if needed)
|
|
240
|
+
das ai enable
|
|
241
|
+
|
|
242
|
+
# Clear saved OpenAI key and auth token
|
|
243
|
+
das ai clear [--force]
|
|
244
|
+
|
|
245
|
+
# Alias for `das ai clear`
|
|
246
|
+
das ai logout [--force]
|
|
247
|
+
```
|
|
248
|
+
|
|
219
249
|
## Python API
|
|
220
250
|
|
|
221
251
|
### Basic Usage
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|