Pipeline-csv

Latest version: v1.10

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

Scan your dependencies

Page 1 of 3

31.05.2023

------------------

+ Added properties `Tube.seam1` and `Tube.seam2`. Returns orientation in minutes for longditual and spiral pipe seams. Returns `None` if no data.

+ `Tube.is_thick_change` property return previous wall thickness if wall thickness was changed at the pipe. Returns `None` alterwise.

29.03.2023

------------------

+ Add Row.orient1 and Row.orient2 properties.

+ Add Row.dist property.

+ Add helper Row class properties: `is_metal_loss`, `is_dent`, `is_at_weld`, `is_at_seam`, `is_valve`.

+ Add helper Orientation class method `from_csv` and property `as_minutes`.

- Fix fail on empty string in defect depth field.

+ String representation for class `Tube`.

+ Add helper function `orientation.add180`

24.10.2023

------------------

+ Added pipeline diameter argument on File object creation.

- Fix error in `Defect.mp_seam` and `Defect.to_seam` properties.

23.10.2023

------------------

- Fix error in `Orientation.from_minutes` method.

+ Added `Orientation` methods:

- `is_inside`: Return True if orientation located inside given arc.
- `dist_to`: Return distance in angle minutes to given orientation object.
- `add_minutes`: Increases the orientation angle by a specified number of minutes. Returns the new minutes value.

+ Added `Tube.diam` field (diameter in mm).

* Properties `Tube.seam1` and `Tube.seam2` returns orientation object for longditual and spiral pipe seams. Returns `None` if no data.

* `Tube.defects` list contain objects of new class `Defect`.

* `Row` class properties `is_metal_loss`, `is_dent`, `is_at_weld`, `is_at_seam` was moved to class `Defect`.

+ Added `Defect` properties :

- mp_left_weld: distance (mm) from maximum depth point to upstream weld
- mp_right_weld: distance (mm) from maximum depth point to downstream weld
- to_left_weld: distance (mm) from left defect border to upstream weld
- to_right_weld: distance (mm) from right defect border to downstream weld
- mp_seam: distance (mm) from maximum depth point to nearest seam or None if pipe does not have seams.
- to_seam: distance (mm) from defect borders to nearest seam or None if pipe does not have seams.
- mp_seam_weld: distance (mm) from maximum depth point to nearest seam/weld. If the defect does not have maximum depth point, return None.
- to_seam_weld: distance (mm) from defect borders to nearest seam/weld. None if pipe does not have seams.
- orientation_point: orientation for defect as point.

If the defect does not have maximum depth point, or the defect is located on a seam/weld, `mp_left_weld` and `mp_right_weld` properties return None.

`orientation_point` property return:

- maximum depth point orientation if mp is present
- appropriate orientation if only one from orient1/orient2 is present
- middle point orientation if both orient1 and orient2 is present
- None if no maximum depth point and both orient1 and orient2 is None

20.11.2023

------------------

- Fix error in Defect mp_left_weld and mp_right_weld properties.

18.11.2023

------------------

+ Added `Defect` properties :

- orient_mp: orientation for defect maximum depth point
- length: defect length in mm as integer
- number_at_pipe: defect number at pipe as integer

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.