Pipeline materials file for static integrity calculation
Installation
pip install pipeline-materials-file
Usage
from pipeline_materials_file import Materials
from pipeline_csv.csvfile import File
from pipeline_csv.csvfile.row import Row
deftable = File(1000)
deftable.data = [
Row.as_weld(1000),
Row.as_thick(1010, 105),
Row.as_weld(12000),
Row.as_thick(12010, 110),
Row.as_weld(24000),
Row.as_thick(12010, 110),
Row.as_weld(36000),
]
warnings = []
data = Materials.from_deftable(deftable, warnings)
assert len(data.data) == 2
assert not warnings
data.to_csv('materials.csv')
Development
$ git clone git@github.com:vb64/pipeline.material.git
$ cd pipeline.material
$ make setup PYTHON_BIN=/path/to/python3
$ make tests
Metadata
Release files for pipeline-materials-file 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pipeline_materials_file-1.0.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipeline_materials_file-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / pipeline_materials_file-1.0.tar.gz
| Download URL | pipeline_materials_file-1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecc91fcb1eba0f878633f16ca2b1904e87221c597cfe541a290199b88ef55393
|
|
BLAKE2b-256 checksum How to use checksums |
e3a36776ae196e7e46f1a58bc4f1441326ed962fe9fe76cf6dedc61c72e25ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pipeline_materials_file-1.0-py3-none-any.whl
| Download URL | pipeline_materials_file-1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fe83713b2fcfc965faa00e338fdbb3adea468796f6813e62daf440cf9cb84e6
|
|
BLAKE2b-256 checksum How to use checksums |
bea5c509acc80226dc7e4b3c795e3aa6068e4b3b86d55c56cc73c948d488c0ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|