Pycarol

Latest version: v2.55.4

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

Scan your dependencies

Page 3 of 22

2.54.12

What's new:

- using black in __init__.py
- Adding message for bigquery when pandas is not installed
- fixing code smells __init__.py
- removing code smells __init__.py
- fixing import order and formatting logger
- adding bqstorage to readme
- adding bq to index
- adding test instructions to DEV.md
- Adding BQ Storage API. Refactoring.
- Adding unit tests for BQ and BQ Storage.

In case one needs a service account with access to BigQuery, the following code can be
used:

python

from pycarol import Carol
from pycarol.bigquery import TokenManager

tm = TokenManager(Carol())
service_account = tm.get_token().service_account


PyCarol provides access to BigQuery Storage API also. It allows for much faster reading
times, but with limited querying capabilities. For instance, only tables are readable,
so 'ingestion_stg_model_deep_audit' is ok, but 'stg_model_deep_audit' is not (it is a
view).

python

from pycarol import BQStorage, Carol

bq = BQStorage(Carol())
table_name = "ingestion_stg_model_deep_audit"
col_names = ["request_id", "version"]
df = bq.query(table_name, col_names, return_dataframe=True)ken().service_account

2.54.11

what's new:
- adding retry and raising error on no scrollid

This fix aims at raising an error when Carol query API "forgets" to return the scrollId.

2.54.10

2.54.9

What's Changed
Marking data model views and mappings as deprecated.


**Full Changelog**: https://github.com/totvslabs/pyCarol/compare/2.54.5...2.54.9

2.54.8

What's Changed
* removing code smells from apps.py
* improving docstrings
* adding type hints
* adding unit tests


**Full Changelog**: https://github.com/totvslabs/pyCarol/compare/2.54.5...2.54.8

2.54.7

What's Changed
* Bump version: 2.54.5 → 2.54.6

* planned removal of deprecated pycarol.sql

* removing deprecation test of pycarol.sql

* removing old deprecated functions/methods.

* SQL functions not marked as deprecated, but deprecated as side-effect

* Dasc 1042 by darolt in https://github.com/totvslabs/pyCarol/pull/590
* Dasc 1043 by darolt in https://github.com/totvslabs/pyCarol/pull/591


**Full Changelog**: https://github.com/totvslabs/pyCarol/compare/2.54.5...2.54.7

Page 3 of 22

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.