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.7) [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.7)}},
    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.7 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.7

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.7
File Size Uploaded Provenance Actions
composites-0.10.7.tar.gz 614.7 kB Without provenance Details for composites-0.10.7.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for composites 0.10.7
File Actions
composites-0.10.7-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for composites-0.10.7-cp314-cp314-win_amd64.whl
composites-0.10.7-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details for composites-0.10.7-cp314-cp314-pyemscripten_2026_0_wasm32.whl
composites-0.10.7-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.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.7-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.7-cp314-cp314-macosx_10_15_universal2.whl
composites-0.10.7-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for composites-0.10.7-cp313-cp313-win_amd64.whl
composites-0.10.7-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for composites-0.10.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.7-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.7-cp313-cp313-macosx_10_13_universal2.whl
composites-0.10.7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for composites-0.10.7-cp312-cp312-win_amd64.whl
composites-0.10.7-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.17+ x86-64, Linux glibc 2.28+ x86-64 Details for composites-0.10.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.7-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.7-cp312-cp312-macosx_10_13_universal2.whl
composites-0.10.7-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for composites-0.10.7-cp311-cp311-win_amd64.whl
composites-0.10.7-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for composites-0.10.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.7-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.7-cp311-cp311-macosx_10_9_universal2.whl
composites-0.10.7-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for composites-0.10.7-cp310-cp310-win_amd64.whl
composites-0.10.7-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.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
composites-0.10.7-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.7-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 18.3 MB

Release files / composites-0.10.7.tar.gz

Download URL composites-0.10.7.tar.gz
Size 614.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f0ffc97eeff2e3936e9f3c97c553eba752bd146663385788ec0579413c434332
BLAKE2b-256 checksum
How to use checksums
68c6abb0925c16b5ff3e4b956b59940d929398883e419bb2308ada97717a4965
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.7-cp314-cp314-win_amd64.whl

Download URL composites-0.10.7-cp314-cp314-win_amd64.whl
Size 359.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
c3ff4abd1951657886f7b1b836325c47e669dc01cd3b6cfa479c70200b73198d
BLAKE2b-256 checksum
How to use checksums
436303a71e59757292cb654c2edf4e267f430f15f6730c55280dfccead1a88d7
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.7-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL composites-0.10.7-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 228.0 kB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
08457fdb8cdd4d14205578b6f544a201ce7974c760baf2311769d06814c70b94
BLAKE2b-256 checksum
How to use checksums
49cca2c11901b7fb0ee114285866b9c1c514fe179e4121ccb8c6b70c55f8a748
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.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.7-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
19dc81b5cf84172654fe4f2a22267c157dede730e4dbc33856b28fde101f45ab
BLAKE2b-256 checksum
How to use checksums
cc1e3cc98997ff497a6dac22fb0291a4db013eeb77bc9f8e1c44594c7a8ad5db
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.7-cp314-cp314-macosx_10_15_universal2.whl

Download URL composites-0.10.7-cp314-cp314-macosx_10_15_universal2.whl
Size 767.2 kB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
dd2ec918c3c86c77db4e1c28fa7fd4408e13cadc76da6f5b28c70dbada8b51d8
BLAKE2b-256 checksum
How to use checksums
a9729c2a2f99fbc1c15ea07953d423e7839ffe6b98c3fcb0f68f566b7fa02f98
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.7-cp313-cp313-win_amd64.whl

Download URL composites-0.10.7-cp313-cp313-win_amd64.whl
Size 351.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
17cb18805f58ed0cc2c8540c8f50d19f5ecff3399bed3f3a3bb9db4a541d67fc
BLAKE2b-256 checksum
How to use checksums
37f2eed4b0c2a5cca07c14bfe9f8540677b83daaf02e48e8b9bd0fadcaa1e7b0
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.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.7-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
b10b3aa286e59981c827ba86cfaab5aa2fae7465ae12cee85a5db57d184283e3
BLAKE2b-256 checksum
How to use checksums
d99fa802ac6f6e1ede531a9bc4822a32c794aa06520c26cf2c6085963142535a
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.7-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.7-cp313-cp313-macosx_10_13_universal2.whl
Size 763.7 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
58a73181e57fc4e46367851f913420347bc9e9401ecea3f6c6f59287c9b37ec6
BLAKE2b-256 checksum
How to use checksums
5f69c174458b9b8a3081f0f436108c61931e6d3faa3fcae44247529db5cfa00d
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.7-cp312-cp312-win_amd64.whl

Download URL composites-0.10.7-cp312-cp312-win_amd64.whl
Size 351.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
673866ae7b29d0ed4d16224c8f34e812063f676dcc25aea525f39dcd805173f5
BLAKE2b-256 checksum
How to use checksums
008948c2398ffc5f78e30314055196efe518eeb11e501322b5ca58f5d866e66a
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.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.7-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
f15fee6ba631cf465879fdee54bb033b3d879207ac487513ee1435073525292f
BLAKE2b-256 checksum
How to use checksums
cd1f305530262a0a15bfb0b60be5834ac196ad78a89589c881db9023c431e5e0
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.7-cp312-cp312-macosx_10_13_universal2.whl

Download URL composites-0.10.7-cp312-cp312-macosx_10_13_universal2.whl
Size 763.3 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
82ebdb7c4cf8c88bd41e3c317f6e72032665e7ec74fd9dcc36794a6ec203d76e
BLAKE2b-256 checksum
How to use checksums
486b6959189d0a687c7a0c536139c781e2d7eba503cb61a7123ef530c6aa36e0
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.7-cp311-cp311-win_amd64.whl

Download URL composites-0.10.7-cp311-cp311-win_amd64.whl
Size 366.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f490322bd337b0546b1c186332d5a60b5228002b9250f818ec7d23022afb471a
BLAKE2b-256 checksum
How to use checksums
d622a29f25e6da4052ed9b5bff53bdf46a60d0ed0d11169338055189fcca5180
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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.7-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
3c577f8df37f07a456548d105ef122aaae75f0fa40394ca5835ddb2311fa9c91
BLAKE2b-256 checksum
How to use checksums
73ce103fe40b713e65587f84f0498e39aec5ced5915274cb47b72b0e3ced66c8
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.7-cp311-cp311-macosx_10_9_universal2.whl

Download URL composites-0.10.7-cp311-cp311-macosx_10_9_universal2.whl
Size 768.2 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
45e141e7ca50cd8d41534e40b50337189de6cf0d1f285db4faa56050900b9e3a
BLAKE2b-256 checksum
How to use checksums
aef67cd7fc17a352495a2e83ee5af8e956871ee83d900940a2ac23bfd874aac4
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.7-cp310-cp310-win_amd64.whl

Download URL composites-0.10.7-cp310-cp310-win_amd64.whl
Size 366.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e881a37c2a4b8b82b626984f3938113e511405e7a1b81b95a111f7ead6bb0f86
BLAKE2b-256 checksum
How to use checksums
c22a592ee9821013bb9fd91983feb4f18ec04c424a0e73501dda6d2821282ed2
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.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.7-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
4f07c6132461c686a22715cab87a498968249e4689440b1a2b10b8e379e80dc0
BLAKE2b-256 checksum
How to use checksums
5e594780e6a2451e101b6692961e433bfa5a3f4d97ee4586c889207986b9c121
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.7-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.7-cp310-cp310-macosx_10_9_universal2.whl
Size 774.2 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3f8c804e50fb2a82b86151bfee694ce90e6773a4c2973ec809fe9f5b031feb62
BLAKE2b-256 checksum
How to use checksums
3b7a6e317af8246baad31d2910d9bd816a18995cdddc3c62bee6295ba7bea060
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.7

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.7 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