Skip to content

Commit 54ca182

Browse files
Merge branch '2.11.4-branch' into 'main'
Update to 2.11.4 See merge request integrations/sdk/reversinglabs-sdk-cookbook!15
2 parents 9b17aaa + 46ea630 commit 54ca182

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,11 @@ v2.11.1 (2025-10-08)
101101
### Improvements
102102
- **Scenarios and Workflows** notebooks:
103103
- Added the `TAXII_indicator_enrichment.ipynb` notebook.
104+
105+
106+
v2.11.4 (2025-10-21)
107+
-------------------
108+
109+
### Improvements
110+
- **TitaniumScale** notebooks:
111+
- Added the "Working with large files" section to the `sample_upload.ipynb` notebook.

Spectra Detect/sample_upload.ipynb

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,53 @@
232232
"collapsed": false
233233
},
234234
"id": "68d3439f0eda8352"
235+
},
236+
{
237+
"cell_type": "markdown",
238+
"source": [
239+
"### 7. Working with large files\n",
240+
"ReversingLabs SDK supports uploading large files to Spectra Detect. \n",
241+
"File upload methods of the `TitaniumScale` class offer an optional argument called `large_file` that can be set to `True` if you require uploading \n",
242+
"a file that exceeds the memory capabilities of your computer. \n",
243+
"\n",
244+
"To use this functionality, you first need to install the optional dependencies listed under the `largeFiles` keyword. To do so, install the RLSDK (or just add those dependencies) like this: \n",
245+
"\n",
246+
"`pip install reversinglabs-sdk-py3[largeFiles]` \n",
247+
"\n",
248+
"This will install the `requests-toolbelt` library which is needed for uploading large files. \n",
249+
"After you are done with that, you can call the upload methods with the mentioned `large_file` argument:"
250+
],
251+
"metadata": {
252+
"collapsed": false
253+
},
254+
"id": "721e1482ccf45e43"
255+
},
256+
{
257+
"cell_type": "code",
258+
"execution_count": null,
259+
"outputs": [],
260+
"source": [
261+
"response = tiscale_obj.upload_sample_from_path(\n",
262+
" file_path=\"/path/to/your/file.exe\",\n",
263+
" large_file=True\n",
264+
")"
265+
],
266+
"metadata": {
267+
"collapsed": false
268+
},
269+
"id": "d5ee48dd153be667"
270+
},
271+
{
272+
"cell_type": "markdown",
273+
"source": [
274+
"If you set the `large_file` argument to `True` without installing the optional dependencies, you will receive the following exception:\n",
275+
"\n",
276+
"`To use large file upload, you need to run 'pip install reversinglabs-sdk-py3[largeFiles]' because additional dependencies are required.`"
277+
],
278+
"metadata": {
279+
"collapsed": false
280+
},
281+
"id": "2f2bf701572ce7"
235282
}
236283
],
237284
"metadata": {

user_agent.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"user_agent": "ReversingLabs SDK Cookbook v2.11.1"
2+
"user_agent": "ReversingLabs SDK Cookbook v2.11.4"
33
}

0 commit comments

Comments
 (0)