Skip to main content

Github Actions status: pytest Documentation Deploy

Coverage status:

codecov Codecov Status

Methods for analysis and design of composites

High-performance module to calculate properties of laminated composite materials. Usually, this module is used to calculate:

  • A, B, D, E, F, H plane-stress stiffness matrices

    • A, B, D, for classical plate theory (CLT, or CLPT)
    • A44, A45, A55 for first-order shear deformation theory (FSDT), with the shear correction already applied, by default with the equilibrium approach of Rohwer (1988); also available: Vlachoutsis (1992), Whitney (1973), Chow (1971), Birman and Bert (2002), the thickness-shear frequency of Yang, Norris and Stavsky (1966), and a constant 5/6
    • E, F, H for third-order shear deformation theory (TSDT)
  • Transverse shear stresses through the thickness, from the shear forces or recovered a posteriori from the strain gradients of an FSDT solution (Noor and Peters, 1989), with the corresponding transverse shear strain energies

  • Material invariants, trace-normalized or not

  • Lamination parameters based on material invariants

  • Stiffness matrices (ABD) based on lamination parameters

  • Saving and loading of laminates, plies, materials and lamination parameters in JSON

Documentation

The documentation is available on: https://saullocastro.github.io/composites.

Running in the browser with Pyodide

A WebAssembly wheel is published on PyPI for Pyodide 314 (CPython 3.14), such that composites runs in the browser, e.g. in JupyterLite or in a web page with Pyodide::

import micropip
await micropip.install('composites')

from composites import laminated_plate, to_json
lam = laminated_plate([0, 45, -45, 90], plyt=0.125e-3,
                      laminaprop=(142e9, 8.7e9, 0.28, 5.1e9, 5.1e9, 3.2e9))
print(lam.ABD)
s = to_json(lam)  # strict JSON, readable with JSON.parse in JavaScript

Citing this repository

Castro, SGP. Methods for analysis and design of composites (Version 0.10.4) [Computer software]. 2026. https://doi.org/10.5281/zenodo.2871782

Bibtex :

@misc{composites2026,
    author = {Castro, Saullo G. P.},
    doi = {10.5281/zenodo.2871782},
    title = {{Methods for analysis and design of composites (Version 0.10.4)}},
    year = 2026
    }

History

  • version 0.1.0, from sub-module of compmech 0.7.2
  • version 0.2.2, from sub-module of meshless 0.1.19
  • version 0.2.3 onwards: independent of previous packages
  • version 0.3.0 onwards: with fast Cython version, not compatible with previous versions
  • version 0.4.0 onwards: fast Cython and cimportable by other packages, full compatibility with finite element mass matrices of plates and shells, supporting laminated plates with materials of different densities
  • version 0.5.4 onwards: verified lamination parameters, analytical gradients of Aij, Bij, Dij with respect to lamination parameters, supportting MAC-OS
  • version 0.5.17 onwards: installing with pip
  • version 0.6.0 onwards: cibuildwheel to distribute for Linux
  • version 0.7.0 onwards: added Kassapoglou's module
  • version 0.8.0 onwards: support for Third-order Shear Deformation Theory (TSDT)
  • version 0.9.1 onwards: A44, A45, A55 with the shear correction already applied (Rohwer, 1988), transverse shear stress recovery, picklable Laminate and GradABD, improved Cython and compiler flags (0.9.2), see CHANGELOG.md
  • version 0.9.12 onwards: shear correction methods of Whitney (1973), Chow (1971), Birman and Bert (2002) and Yang, Norris and Stavsky (1966), a posteriori transverse shear stresses and energies (Noor and Peters, 1989), Atrans, Dtrans and Ftrans deprecated in favour of Ats, Dts and Fts, see CHANGELOG.md
  • version 0.9.21 onwards: saving and loading in JSON, support for Pyodide (WebAssembly) with wheels on PyPI, see CHANGELOG.md
  • version 0.10.4 onwards: density moments intrhoz3, intrhoz4 and intrhoz6 for the mass matrices of the TSDT, JSON format version 2 (files of format 1 must be created again), fixed MatLamina c11 and q31 and the A66, B66, D66 rows of GradABD.calc_LP_grad, Laminate.make_symmetric no longer sets F16, F26, H16, H26, D45, F45 to zero, Laminate.make_orthotropic also sets E16, E26, F16, F26, H16, H26 and the 45 transverse shear terms to zero, Nxy of kassapoglou.calc_Nxx_crit_combined_shear_full positive in tension (breaking), grad_x and grad_y of Laminate.calc_equilibrium_transverse_shear and calc_aposteriori_energy deprecated in favour of eps_x and eps_y, MatLamina invariants of plane stress also for a laminaprop with nine constants (breaking for e3 != 0, option rebuild(plane_stress=False)), lamination parameters with an offset (new argument offset of laminate_from_LaminationParameters and GradABD.calc_LP_grad), zero Young moduli for antiplane cores, material constants that are not positive definite and singular or ill-conditioned ABD matrices rejected, see CHANGELOG.md

License

Distrubuted under the 3-Clause BSD license (https://raw.github.com/saullocastro/composites/master/LICENSE).

Contact: S.G.P.Castro@tudelft.nl.

Metadata

Release files for composites 0.10.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for composites 0.10.4
File Size Uploaded Provenance Actions
composites-0.10.4.tar.gz 615.3 kB Without provenance Details for composites-0.10.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for composites 0.10.4
File Actions
composites-0.10.4-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for composites-0.10.4-cp314-cp314-win_amd64.whl
composites-0.10.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details for composites-0.10.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl
composites-0.10.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for composites-0.10.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.4-cp314-cp314-macosx_10_15_universal2.whl CPython 3.14 CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) Details for composites-0.10.4-cp314-cp314-macosx_10_15_universal2.whl
composites-0.10.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for composites-0.10.4-cp313-cp313-win_amd64.whl
composites-0.10.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for composites-0.10.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.4-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details for composites-0.10.4-cp313-cp313-macosx_10_13_universal2.whl
composites-0.10.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for composites-0.10.4-cp312-cp312-win_amd64.whl
composites-0.10.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for composites-0.10.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.4-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details for composites-0.10.4-cp312-cp312-macosx_10_13_universal2.whl
composites-0.10.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for composites-0.10.4-cp311-cp311-win_amd64.whl
composites-0.10.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for composites-0.10.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.4-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for composites-0.10.4-cp311-cp311-macosx_10_9_universal2.whl
composites-0.10.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for composites-0.10.4-cp310-cp310-win_amd64.whl
composites-0.10.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for composites-0.10.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.4-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for composites-0.10.4-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 18.3 MB

Release files / composites-0.10.4.tar.gz

Download URL composites-0.10.4.tar.gz
Size 615.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0439683087a1ffe7547bfe4a1c2b0ca5110aea978758022028b94683088c3ebc
BLAKE2b-256 checksum
How to use checksums
49411d26f309e256dfb23bd0f718b90db0d05eaefb28ebcb830f82d86d6a2946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / composites-0.10.4-cp314-cp314-win_amd64.whl

Download URL composites-0.10.4-cp314-cp314-win_amd64.whl
Size 364.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
63b8a084e37f3b4466c4fe2fb98d181d81624b84926baefc45f9243f3b9181a8
BLAKE2b-256 checksum
How to use checksums
43bab4f3dc2a6daff4a421dedffbb231b1b4070ecadd88f934316dbe939872bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / composites-0.10.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL composites-0.10.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 228.8 kB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
52d6b021d6f284a0f7c81821d9e12acb1c2e5f57f51ac900a78b72f64565c6a6
BLAKE2b-256 checksum
How to use checksums
18a1a5a1b827d31abb5b70563b9e476725e5911ecbce14eab6be1906fc93f11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / composites-0.10.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b63ff09296e52462b19d5822d7309fef773796eea6b18886830b1e48d0696cb2
BLAKE2b-256 checksum
How to use checksums
e5a4f246cefa6a6d9d2d14c6b61f2906173be96e3234f142a8425ea9d0e4fa0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / composites-0.10.4-cp314-cp314-macosx_10_15_universal2.whl

Download URL composites-0.10.4-cp314-cp314-macosx_10_15_universal2.whl
Size 768.8 kB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8dabbf5adb51c43ec912399db891d9d83fc95229f63e0f2a6f1897342a0d1eaf
BLAKE2b-256 checksum
How to use checksums
5430147419b9ce7328e92c96e4a18524797ca3865705c7100cf4b1fff9ccb169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / composites-0.10.4-cp313-cp313-win_amd64.whl

Download URL composites-0.10.4-cp313-cp313-win_amd64.whl
Size 357.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
21e839a5597d924f12438768521ba99b38d253c226fb8b4088b779fbeaf29e02
BLAKE2b-256 checksum
How to use checksums
8b9f7aca95bd208d6e32380c99b5a6203909f71c4da6a084a909562af82e4586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Release files / composites-0.10.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a6b6f1e07f9d648badb1f74c1d16899d80288ce8469fda225f38e3aa721ea012
BLAKE2b-256 checksum
How to use checksums
6d2fac1e7660f00554b61a1836938bfee910aa650eb44b0cd88236a859d9717b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / composites-0.10.4-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.4-cp313-cp313-macosx_10_13_universal2.whl
Size 764.7 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4b68025e5b5d3f3a00447c177f47e8e0891768280fc4ea9fc349d7692f02a81c
BLAKE2b-256 checksum
How to use checksums
758e236cb6afd0726a453cc7675e25fb7c0c7b77cd67989c1d21d9c121b16be9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Release files / composites-0.10.4-cp312-cp312-win_amd64.whl

Download URL composites-0.10.4-cp312-cp312-win_amd64.whl
Size 357.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
51f187b972de12f27c8a192d646c6ecf130ffa5e1f9b751c0757e06b82fccc48
BLAKE2b-256 checksum
How to use checksums
fd33d8feedbb21f61561e921e47b0d2fc91c40f853a1983e397f7c65db1c42c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / composites-0.10.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
63c586af36a46369b057c333f6ec1b02cc612ca72d57dc4e51c823b9e39dff2d
BLAKE2b-256 checksum
How to use checksums
a18ae803759836dd4b0ff07a841e46765bcf5eb026ba586c29ee165acc999ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / composites-0.10.4-cp312-cp312-macosx_10_13_universal2.whl

Download URL composites-0.10.4-cp312-cp312-macosx_10_13_universal2.whl
Size 764.3 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
52a7f2f60a7789d4c5dded2b0349b5fe91a70132dcadafeda99ea3ac9954fe13
BLAKE2b-256 checksum
How to use checksums
015bbfc08a069ff77379bf9324ce9092002821a0f7a2ed217d77bad5bd325e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / composites-0.10.4-cp311-cp311-win_amd64.whl

Download URL composites-0.10.4-cp311-cp311-win_amd64.whl
Size 371.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5c22e51b326d8f10226dd4e1a534cf2e956d38fc330dbd8ca913f153da8daab5
BLAKE2b-256 checksum
How to use checksums
342209a2e9e9a004f89039d50eae3bccd0d75d332d1808d416d1864a7d5238a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / composites-0.10.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
df888ceef72c78564f5951990d6d8e9f30557cd7ab2d8d9a2e9ff4ce8d94a56e
BLAKE2b-256 checksum
How to use checksums
34a001dba41fa0d2a721ea2d3283030b0e9c45eef1126998a839f0360dc60fc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / composites-0.10.4-cp311-cp311-macosx_10_9_universal2.whl

Download URL composites-0.10.4-cp311-cp311-macosx_10_9_universal2.whl
Size 769.6 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
42c30f942487cc3b70d5b023e92722e5566de2414d1af62dd3a575d2c93bbbd4
BLAKE2b-256 checksum
How to use checksums
84b8524019c21c5b52c0c0a29af32d7f03ddb5ab04787d4ae8db49e03a4896ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / composites-0.10.4-cp310-cp310-win_amd64.whl

Download URL composites-0.10.4-cp310-cp310-win_amd64.whl
Size 372.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
2eb04040105afe0ba01bb2187f4cd93ce6bc7cc210a85d372e8756dac44ddc48
BLAKE2b-256 checksum
How to use checksums
e1191ac15fab37eeb3888713af4945f5af4a833eb1ba76991031970e5f78a64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / composites-0.10.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a2b2b7a1e57484096570eebc9f4a1ff9c3ef063320acb597d5deee0d10927e6a
BLAKE2b-256 checksum
How to use checksums
f3b2dcc75283c0a3b9e27d943bdcd0de53f20ddda7d78f64893bc4fefb9b4b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / composites-0.10.4-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.4-cp310-cp310-macosx_10_9_universal2.whl
Size 775.4 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ab0ad50034006d2794f4ff05515323d9f8592abd5f49b58847cfde0959508aee
BLAKE2b-256 checksum
How to use checksums
ecfcce455b6b44e1f6f2c8978adeeb7082e35cf5a4085374c478ac1709fc1b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for composites 0.10.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.4 This release

17 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page