We’re pleased to announce the 0.12.0 release of the Watson Developer Cloud Python SDK.

The SDK supports all the services, and we will continue to drive improvements and new features into the SDK. But, you can feel comfortable that this SDK version will avoid breaking changes in the future.

All of our SDKs are open source. Visit our GitHub organization for more details or to contribute to the project.

What do the SDKs do?

The SDK takes the complexity out of coding by providing Python objects for all the Watson services including Speech to Text and Language Translation. To learn more, please consult the release notes and documentation page.

How do I get started?

Install the Python SDK using pip: [code language=”bash”] pip install watson-developer-cloud –upgrade [/code] Copy the code below: [code language=”python”] import json from os.path import join, dirname from watson_developer_cloud import AlchemyLanguageV1 url = ‘https://developer.ibm.com/watson/blog/2015/11/03/price-reduction-for-watson-personality-insights/’ # operations to perform extract = [‘page-image’, ‘entity’, ‘keyword’, ‘title’, ‘author’, ‘taxonomy’, ‘concept’, ‘doc-emotion’] alchemy_language = AlchemyLanguageV1(api_key=’YOUR API KEY’) results = alchemy_language.combined(url=url, extract=extract) # print the results print(json.dumps(results, indent=2)) [/code] You can get the api_key from the Bluemix Catalog.
There are examples for all the services, some of also show how to combine services.

What Python versions are supported?

[code language=”bash”] Python >= 2.7 [/code]

Support and feedback

Be sure to visit the Watson Developer Cloud official documentation website for additional information about our Watson Services.

If you find a bug, please submit the issue in GitHub directly, on the python-sdk project page.

If you are having difficulties using the APIs or have a question about the IBM Watson Services, please ask a question on dWAnswers or StackOverflow.

Join The Discussion

Your email address will not be published. Required fields are marked *