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

From version 0.9.21, 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.2) [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.2)}},
    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.2 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, 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.2

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

Built distributions (wheels)

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

Total release size: 17.5 MB

Release files / composites-0.10.2.tar.gz

Download URL composites-0.10.2.tar.gz
Size 556.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b9520444879966f23cead3d77585d5f340415e9485cb4bada0add8b0d9c3e6ae
BLAKE2b-256 checksum
How to use checksums
25cdd17d43c73016445d0d5af1a43bd10f0977745926f5bf7da12d990369f727
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.2-cp314-cp314-win_amd64.whl

Download URL composites-0.10.2-cp314-cp314-win_amd64.whl
Size 340.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
61c013471decbcbbdc4135521b11ef45adfb40fcd034f7d03b28de4c16c3f4f5
BLAKE2b-256 checksum
How to use checksums
b710e8921d6cef2e12c06345200089b411ea3a980a7a12ec08c0e18ba1fd44c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL composites-0.10.2-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 209.9 kB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
6a611b6d00a22fd9ad4fec37649d07ee3dc0e32aa229b52f75f3deaec653c916
BLAKE2b-256 checksum
How to use checksums
18d1d5daea2627efc78c963740c0ce51fc4357f30797fa0100b20dc57c94b520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL composites-0.10.2-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
694cafd9d70b30265ce15d68aa35719a9c77a8b4dc49749198f821cea672198f
BLAKE2b-256 checksum
How to use checksums
dd59aa6fbaa0b8460e24eeba1ee34640d2f2f3208888d08efcb30e964942a7d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL composites-0.10.2-cp314-cp314-macosx_10_15_universal2.whl
Size 723.2 kB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f9341f18f2aa92d33bcca3cdbb49b1f5e6d8fabb762e3e6559c6b872c3711ad5
BLAKE2b-256 checksum
How to use checksums
ca2d4e00472d22c3f1e3e5adf1a9c1510c7ea65c8e2ee6c8f2855b8ca4a31356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL composites-0.10.2-cp313-cp313-win_amd64.whl
Size 333.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
aa8ba943844a08e5d74c9a582f8fc217cd3edaf6e011afaeec58fadf6f581137
BLAKE2b-256 checksum
How to use checksums
bb9260ba2e7eb9c297d23f8769a6b3f58949433756409c2372356fc39ed9b3d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL composites-0.10.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ad2c57fa64229ca2e4a9123afd3b63c83142e1117745fa8ca0c8003bd9bf19c1
BLAKE2b-256 checksum
How to use checksums
6eef1c1fe3180926d84b91b4bfcc4d7f25cbc08dfdbac9cbdfc5778a819c5c8d
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.2-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.2-cp313-cp313-macosx_10_13_universal2.whl
Size 720.6 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
63f7b2adf87bdeeda562283f3b70d1069df98a86d9398c454d9b516829ec5176
BLAKE2b-256 checksum
How to use checksums
3f69c5783310724e68ee107fcd72835a5b9cd5a16ac8dcdff0ad581f2dd40e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL composites-0.10.2-cp312-cp312-win_amd64.whl
Size 333.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
edc0f465c6df24d675d492dd94b7fe4e31db12b78d73ddf80670c9c04059648a
BLAKE2b-256 checksum
How to use checksums
fdda730603b41827686c18db39160a2fb134fd9c5fe4c25ca843111707fc5bc3
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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0625152455aa884f0433f5fd5c3b1cdc61a2f32dff2c5ca8669f999373e5d1a5
BLAKE2b-256 checksum
How to use checksums
13f4ea07556ee36351ca22dfbf6113dcd34d6b354832e3bf0a9b36456bd22d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL composites-0.10.2-cp312-cp312-macosx_10_13_universal2.whl
Size 720.4 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3ddb95c17ecbfb089f5a1d953ace3584cc251f3874f1a32ee6b8bbe7dbd6e837
BLAKE2b-256 checksum
How to use checksums
9efb3d24af01f9e4504f6c61cbf8ea3d18fb6833cc8d24fc35609cd4124c4a07
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.2-cp311-cp311-win_amd64.whl

Download URL composites-0.10.2-cp311-cp311-win_amd64.whl
Size 349.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7a034241388fda053fd68ea8bcd8e1c04b3a449fc97bb6aff4f4464920850638
BLAKE2b-256 checksum
How to use checksums
36889de51d60df9133d1bec889cca8d26d3aa13184c33f2a8d7f1db416b265a3
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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
550befb3043a22979334b159c14cd47d522d80ebe2c1150533b2e553af0ea469
BLAKE2b-256 checksum
How to use checksums
30e444811bfbaf3f70cf2d054d4ae36157f279959fbfa509afd5654f61cc3d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL composites-0.10.2-cp311-cp311-macosx_10_9_universal2.whl
Size 724.2 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9f141bd3067abb4ccc8601b15243331398141679178e0275d8ee6e71d217c430
BLAKE2b-256 checksum
How to use checksums
cc90756532122aae55e0121a3cad46801333ad5957eb4c284c904a561bd6b572
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.2-cp310-cp310-win_amd64.whl

Download URL composites-0.10.2-cp310-cp310-win_amd64.whl
Size 349.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
272a651bda09a086078032bebc398fc208df78f28473673e2591288b623ea485
BLAKE2b-256 checksum
How to use checksums
2c24baf32d60ae12a14a1f4971e88af7d4bd81a71af144a6b3e6c3f5ac51c58a
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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3ff3fdaff14017d5ace22d8167aa8e90a62f0cf663a7aa3e7f9d0945c1eb0076
BLAKE2b-256 checksum
How to use checksums
0a8a3dcdaa76ed51db4c742be8b471fb71c3352b0f442698c28e3fb04627001a
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.2-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.2-cp310-cp310-macosx_10_9_universal2.whl
Size 728.7 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
276c174af543779db02801c7a6534850c40d0cafbeb4290c40643fa872b8a131
BLAKE2b-256 checksum
How to use checksums
1d2e403b5a01ecf221063904841bf2b4656ba91a58977a658a1a12d608d34d57
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.2

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