Nettlesome

Latest version: v0.6.1

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

Scan your dependencies

Page 1 of 2

0.6.1

------------------
- add MANIFEST.in (to display readme on PyPI)

0.6.0

------------------
- replace NumberRange with IntRange and FloatRange
- replace Marshmallow serializers with Pydantic
- Entity and Predicate models don't allow extra fields
- add equal sign as default value for QuantityRange sign
- fix bug: bool(Term) returned False if the Term's "length" was 0
- remove custom reprs that can be replaced by Pydantic BaseModel repr

0.5.1

------------------
- internally_consistent raises ValueError identifying contradiction

0.5.0

------------------
- change Doctrine class name to Assertion
- change Predicate param name from template to content
- add Marshmallow schemas
- add APISpec for documenting Marshmallow schemas

0.4.0

------------------
- Fact constructor accepts truth param
- allow alternate methods to specify context for .implies()
- add string expansion to ContextRegister.from_lists
- all Explanation.from_context calls expand strings
- disallow repeated Terms in TermSequence
- fix bug: _context_registers method yielded same ContextRegister repeatedly
- add DuplicateTermError
- fix bug: FactorGroup.union used duplicative TermSequence
- ContextRegister.from_lists works with unequal length lists
- add contradicts_same_context method
- add repr method for subclasses of Comparable to inherit

0.3.0

------------------
- add FactorMatch NamedTuples to be listed in Explanation
- remove FactorGroup.comparison method. Instead use implies, contradicts, etc.
- Factor "explanations" methods yield Explanation, not ContextRegister
- add FactorGroup.explanations_implied_by method
- fix bug: shares_all_factors passed without checking all factors
- fix bug: two empty FactorGroups should have same meaning

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.