Skip to content

v2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 30 Apr 00:06
e03c972

Announcing spicepy v2.0! 🎉

The v2.0 release adds full support for Spice OSS and now connects to localhost by default instead of the Spice Cloud service.

Follow the Spice OSS quickstart to install and run the spice runtime locally, and query data using the spicepy SDK:

from spicepy import Client

client = Client()
data = client.query(
    'SELECT trip_distance, total_amount FROM taxi_trips ORDER BY trip_distance DESC LIMIT 10;',
    timeout=5*60
)
pd = data.read_pandas()

Read the docs to learn more.

Breaking Changes

  • Asset Prices is now deprecated and the Prices() method and types were removed. Asset prices data can continue to be fetched using HTTP clients directly from the Spice cloud service.
  • The SDK now connects to localhost by default (API Key is now optional).

What's Changed

  • Remove deprecated Asset Prices API support by @lukekim in #84
  • Make api_key optional, for local spice runtime support by @ewgenius in #86
  • Conditionally run Spice.AI cloud tests only in a single job by @ewgenius in #91
  • Bump certifi from 2023.7.22 to 2024.2.2 by @dependabot in #76
  • Bump version to v2.0.0 and update dependencies by @ewgenius in #90

New Contributors

Full Changelog: v1.0.1...v2.0.0