Benign python Download

steelbeam 0.2.0

Standard Python package source code

“Lightweight Python library for structural steel beam design”

Python json.load call__getattribute__ with computed attribute name

Evidence

Python json.load call steelbeam.py · lines 32–34
32# Import the database of steel profiles
33dirname = os.path.dirname(__file__)
34database = json.load(open(os.path.join(dirname, 'profilesdb_EU.json'), 'r'))
__getattribute__ with computed attribute name steelbeam.py · lines 450–454
450 if name in self.ATTR_TO_QUANTITY_TYPE:
451 private_attr = f'_{name}'
452 value = object.__getattribute__(self, private_attr)
453
454 if value is None:
Python json.load call steelbeam-checkpoint.py · lines 32–34
32# Import the database of steel profiles
33dirname = os.path.dirname(__file__)
34database = json.load(open(os.path.join(dirname, 'profilesdb_EU.json'), 'r'))
__getattribute__ with computed attribute name steelbeam-checkpoint.py · lines 425–429
425 if name in self.ATTR_TO_QUANTITY_TYPE:
426 private_attr = f'_{name}'
427 value = object.__getattribute__(self, private_attr)
428
429 if value is None:
Script overall entropy stays low __init__.py · lines 1–4
1"""
2steelbeam - Eng. Rocco Raimo
3---
4A python package for calculation of resistance and stability of steel beams, based on multiple national codes.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.