Pytooling

Latest version: v8.0.3

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

Scan your dependencies

Page 5 of 12

2.12.1

**Release created on: 11.02.2023 - 12:49:29**

Changes

* Added test cases for abstract classes that are derived multiple times.

Bug Fixes

* Fixed `ExtendedType` when an abstract class is derived multiple times, a former abstract class was still reported as abstract.
* Fixed raised exception in `Vertex.Copy`.

2.12.0

**Release created on: 05.02.2023 - 23:23:02**

New Features

* Added new `ToolingException` base-exception class.
* Added `GraphException`, `InternalError`, `NotInSameGraph`, `DuplicateVertexError`, `DuplicateEdgeError`, `DestinationNotReachable`, `NotATreeError` and `CycleError` for graphs.
* Added `ConvertToTree` method on `Vertex`.
* Added `TreeException`, `InternalError`, `NoSiblingsError`, `AlreadyInTreeError` and `NotInSameTreeError` for trees.
* Implementeded `__len__` on `Node`.
* Added `Render` method to `Node`.

Changes

* Bumped dependencies.
* Documented rendering of trees.
* Added `treelib` as alternative implementation.
* Adjusted test cases due to changed exceptions.

Bug Fixes
* fixed some broken tables in ReST.

2.11.0

**Release created on: 11.01.2023 - 09:52:28**

New Features

* Added `HasLinkToDestination` and `HasLinkFromSource` on `Vertex`.
* Added many doc-strings to classes in `pyTooling.Graph`.

Changes

* Implemented filtering feature also for `Vertex`:
* `IterateOutboundEdges`
* `IterateInboundEdges`
* `IterateSuccessorVertices`
* `IteratePredecessorVertices`

Bug Fixes

*None*

2.10.0

**Release created on: 09.01.2023 - 17:44:04**

New Features

* Added `Copy` method to `Vertex`.
* Added missing doc-strings to existing methods in `Graph`.

Changes

* Improved exception handling for `ast_parse`.
* Updated doc-strings.
* Bumped dependencies.
* Updated copyright year to 2023.

Bug Fixes

* Fixed URTL to GitHub Actions shield.

2.9.0

**Release created on: 04.01.2023 - 23:22:09**

New Features

* Implemented `__del__` for `Vertex`, `Edge`, `Component` and `Graph`.
* Added new properties `EdgeCount`, `InboundEdgeCount` and `OutboundEdgeCount` on `Vertex`.
* Added new properties `VertexCount`, `EdgeCount` and `ComponentCount` on `Graph`.
* Added new method `Reverse` on `Edge`.
* Added new generators `IterateVertices`, `IterateEdges` on `Graph`.
* Added `predicate` parameter to existing methods (`IterateRoots`, `IterateLeafs`, `IterateTopologically`) on `Graph`.
* Added new methods `ReverseEdges` and `RemoveEdges` on `Graph`.
* Added new method `CopyVertices` on `Graph`.

Changes

* ⚠️ changed `__len__` from number of subelements e.g. vertices or outbound edges to the number of key-value-pairs in the local dictionary of `Graph`, `Vertex` and `Edge`.
* Adjusted handling order of vertices or edges without/with ID.
First without ID, then with ID.
* Added `no cover` pragma to Python version checks for Python <3.8 code.
* Added, adjusted and improved test cases for `pyTooling.Graph`.

Bug Fixes

* Adjusted type hint for `Graph.Name` to `Nullable`.

2.8.3

**Release created on: 01.01.2023 - 11:33:50**

New Features

*None*

Changes

*None*

Bug Fixes

* Fixed performance tests.

Page 5 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.