Pywise

Latest version: v0.8.1

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

Scan your dependencies

Page 1 of 3

0.8.1

What's Changed
* Update lockfile by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/33
* [0.8.1] Better name: `from core_utils.timing import timer` by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/34


**Full Changelog**: https://github.com/malcolmgreaves/pywise/compare/0.8.0...0.8.1

0.8.0

What's Changed
* [0.8.0] WritableFile protocol in new io_utils module by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/32


**Full Changelog**: https://github.com/malcolmgreaves/pywise/compare/0.7.0...0.8.0

0.7.0

What's Changed
* Update README docs for devtools use by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/31
* [0.7.0] flatten arbitrarily nested iterables by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/7
* Update description and license in Python project metadata.

**Full Changelog**: https://github.com/malcolmgreaves/pywise/compare/0.6.0...0.7.0

0.6.0

Lots of new features!

What's Changed
* Added pre-commit as dev dependency & established existing CI checks as hooks by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/24
* Migrate to use `ruff` + standard `pre-commit-hooks`(Python,JSON,YAML) by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/26
* ruff pre-commit hook uses pyproject.toml config by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/27
* [0.6.0] new features, dev tools overall, testing coverage push by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/29
* Update poetry lockfile by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/30

**Full Changelog**: https://github.com/malcolmgreaves/pywise/compare/0.5.0...0.6.0

0.5.0

What's Changed
* Maintenance: support Python 3.{9,10,11}, drop 3.7 support & update dev. reps. by malcolmgreaves in https://github.com/malcolmgreaves/pywise/pull/20


**Full Changelog**: https://github.com/malcolmgreaves/pywise/compare/0.4.0...0.5.0

0.4.0

Adds support to `deserialize` to handle types that have default values on one or more fields. When a field-value pair is not found during `deserialize`, it will use the type's defined default value for the field as the `value`. Supports arbitrary nesting of default values.

Thus the following will work now as of `0.4.0`:

from dataclasses import dataclass
from core_utils.serialization import *


dataclass(frozen=True)
class Hello:
name: str
value: int = 42


assert deserialize(Hello, {'name': 'world'}) == Hello(name="world", value=42)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.