logo

A cleaner, more streamlined Atoti Python API

Do more things, and things more easily with this streamlined Python API

Hetal Kapadia

This latest release of Atoti Python API may look different than previous versions, but this streamlined Python API still delivers the same great features, and more.

Python 3.10 and Java 21:

Our latest Python API version now requires Python 3.10 and Java 21. Python 3.10 brings numerous benefits, such as pattern matching, which enhances the readability and maintainability of your code. Additionally, Java 21 offers improvements in performance and security, ensuring our server operates efficiently and securely.

Merging QuerySession with Session

In our ongoing efforts to simplify and improve the user experience, we are merging QuerySession with Session. This change means that users will no longer need a separate QuerySession to run MDX queries on an existing server. The Python API will soon allow connecting to an existing session to not only query but also add measures and hierarchies.

Where did  start_transactions go?

We are moving Session.start_transaction() to Tables.data_transaction(). This change aims to make transaction management more intuitive and better aligned with the logical structure of our API.

Introducing atoti-client

We have restructured our Python packages to separate runtime add-ons from the core installation. Don’t worry, installing the core package, atoti, will still install everything we need to get started if we’re building a cube (or cubes!) from scratch. But, if we only wish to connect to an existing cube, we can instead install a slimmer package, atoti-client, which will now only include client-side dependencies. 

Curious on how to incorporate these changes to existing projects? Check out our video on upgrading to 0.9.0.

Looking for more?

We hope you enjoyed this quick read. Looking for more content or news about this release or Atoti Python API in general? Then check out our related blogs.

Don’t want to constantly check back for updates? We have you covered! Join the Atoti Community to receive these updates in a monthly digest!

Like this post ? Please share

Latest Articles

View All

Atoti Limits 4.0: An improved user experience

Read More

Atoti Limits 4.0: Simplified project structure and upgrades

Read More

NEWSLETTER

Join our Community for the latest insights and information about Atoti