Sdutils

Latest version: v2.6.4

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

Scan your dependencies

Page 3 of 4

2.0.0

Changed
- Updates `pyarrow` requirement to `0.11`
- Changes `nthreads` in `read_df_parquet` to `use_threads` to match https://arrow.apache.org/docs/python/generated/pyarrow.parquet.ParquetFile.html#pyarrow.parquet.ParquetFile.read

1.4.1

Changed
- `SDLog` logs traceback up to 10 levels deep as text to Slack.

1.4.0

Changed
- `SDLog` will now also log error traceback to Slack (before it was only the type and the value).

1.3.1

Changed
- Updated `pandas`, `dask`, and `numpy` versions.

1.3.0

Added
- `SDLog` now uses a class `log_message` method to log -- this now
supports a custom logging interface by inheriting from `SDLog` or
replacing `log_message` in an application.
python
class MyTestLogger(SDLog):
classmethod
def log_message(cls, message: str, **kwargs):
print('SPECIAL LOGGER', message)

This class will print 'SPECIAL LOGGER' before all messages, but otherwise
act the same as the normal `SDLog`. As another example, the `log_message`
method could connect to and log to a database for non-console-based
logging.

1.2.1

Changes
Update context special character from bullet to dash

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.