Analytix

Latest version: v5.3.0

Safety actively analyzes 688007 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 11

3.3.2

Patch release

* Addresses a deprecation in the Google APIs regarding manual code input
* The current solution is a temporary one to get people up and running, but a proper fix will be released in v3.4

3.3.1

Patch release

This release adds the `py.typed` file to the distribution.

3.3.0

Feature release

This release adds and changes a lot of little things.

Additions

* The `Analytics.retrieve` and `AsyncAnalytics.retrieve` methods now accept a `token_path` kwarg to allow users to save their tokens wherever without needing to manually authorise
* The `Report` class now has `dimensions` and `metrics` properties, which return columns that are dimensions and those that are metrics respectively

Changes

* The outdated version warning message was reworded
* The token refresh check is now a little more optimised
* Some imports are a little more optimised

Potential breaking change

* The `Report._nrows` and `Report._ncolumns` private attributes have been merged into `Report._shape`, and thus no longer exist. You should use `Report.shape[0]` and `Report.shape[1]` instead. This will cause problems for those using these attributes, but as they are private, this isn't a major version change.

3.2.0

Feature release

Additions

* Added ability to export report as Apache Arrow Table (28)
* Added ability to export report as Apache Feather file (28)
* Added ability to export report as Apache Parquet file (28)
* Added `analytix[arrow]` install method (28)

3.1.0

Feature release

Additions

* Native Modin support (23)
* `Report.to_excel` -- exports the report to an Excel spreadsheet (24)

Changes

The `Report.to_json` and `Report.to_csv` methods can now be called in sync or async contexts. For example, both of the following calls work:

py
report.to_csv("analytics.csv")
await report.to_csv("analytics.csv")


The `Report.ato_json` and `Report.ato_csv` methods still remain for backwards compatibility, but are deprecated.

Deprecations

* `analytix[df]` install method
* `await Report.ato_json`
* `await Report.ato_csv`

3.0.1

Bugfix release

This release fixes a few issues related to refreshing tokens.

Firstly, it fixes a misunderstanding in the README about how long refresh tokens last before they expire. The README stated that this is 200 days, when actually it's, more often than not, 7. I'd read the wrong part of the Google Documentation, and Google highlighting 200 days really didn't help that, sozza.

I've also fixed a bug where analytix couldn't handle refresh tokens being invalid -- you will now simply be prompted to manually reauthorise when necessary.

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.