Meet the New Objective SDKs in Python & Typescript
It’s pumpkin season here at Objective HQ, and to celebrate we’re launching brand new versions of the Objective Python & Typescript SDKs today. We’ve rebuilt both SDKs from the ground up with Stainless, the tooling behind some of our favorite third party SDKs. The new family of SDKs introduce some improvements to ergonomics, as well as some new functionality that wasn’t available in previous versions.
Check out the details on PyPi and NPM, or keep on reading for grab-and-go install & usage instructions. And you can always find them in the SDKs section of Docs.
Installing the new SDKs
Nothing has changed about how you install the new SDKs - if you’re building in Python, it’s as simple as installing from PyPi:
And if you’re building in Node, it’s as simple as installing from NPM:
Full API feature coverage
The new SDK versions cover all of the Object & Index functionality available in the Objective API, in idiomatic form-factors form both languages.
For Objects, the SDKs enables you to:
- Create & update Objects
- List Objects
- Delete an Object (or a batch of Objects!)
- Get properties and status of an Object
And for Indexes, the SDKs enables you to:
- Create a new Index (including support for V3 Ensembles and neural-only Indexes!)
- List all available Indexes
- Delete an Index
- Search an index
- Get properties and status of an Index
- Finetune an Index (new to the SDKs! We’re particularly excited about this one)
And SDK code snippets right in your Console
With the new SDK versions we’ve also introduced helpers throughout the Console for the relevant code to perform actions related to that page in the API. Any time you see the <> API
button, you can click it to reveal the code pane with snippets for actions you might need, formatted for the SDK of your choice.