Metadata-Version: 2.1
Name: dx-eurocode
Version: 1.0.0
Summary: Base package for structural design with Eurocodes
Home-page: https://gitlab.com/d-e/dx-eurocode
Author: Konstantinos Demartinos
Author-email: kostas@d-e.gr
Maintainer: demetriou engineering ltd.
Maintainer-email: kostas@d-e.gr
License: AGPLv3+
Keywords: structural-design,eurocode
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Description-Content-Type: text/markdown
Requires-Dist: dx-base (<2.0.0,>=1.0.0)


# `dx-eurocode`

A base package for structural design with [EN Eurocodes][EC].

## Features

* Eurocode, Part 0 ([EC0][])

  * Safety factors

* Eurocode, Part 2 ([EC2][])

  * Materials
  * Recurrent formulas
  * Safety factors

### Sample usage

```
>>> from dx_eurocode.EC2.materials import RC
>>> C16_20 = RC[16] # RC['16'] works as well!
>>> C16_20.fck
16000000.0
>>> C16_20.fcm
24000000.0
>>> C16_20.Ecm
28607904894.961403
>>> C16_20.gamma
{'accidental': {'ultimate': 1.2},
 'persistent': {'ultimate': 1.5},
 'transient': {'ultimate': 1.5}}
>>> C16_20.fcd(design_situation='persistent', limit_state='ultimate')
10666666.666666666
```

## Contribute

Source code lives in https://gitlab.com/d-e/dx-eurocode.

## Public API

See the [documentation pages](https://d-e.gitlab.io/dx-eurocode/).

[EC]: https://eurocodes.jrc.ec.europa.eu/
[EC0]: https://eurocodes.jrc.ec.europa.eu/showpage.php?id=130
[EC2]: https://eurocodes.jrc.ec.europa.eu/showpage.php?id=132


