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

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

Built distributions (wheels)

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

Total release size: 18.1 MB

Release files / composites-0.10.3.tar.gz

Download URL composites-0.10.3.tar.gz
Size 578.9 kB
Tags Source
SHA-256 checksum
How to use checksums
21243218df815cb83fcbd52882976c2080631d948b71f311f04c968ba7891056
BLAKE2b-256 checksum
How to use checksums
c8e38c88acd0d716160d9cae418fc0afcf36e409e04204e86b5b721941c7af1b
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.3-cp314-cp314-win_amd64.whl

Download URL composites-0.10.3-cp314-cp314-win_amd64.whl
Size 355.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ef5dc8a20880837df308ca29f8ced77bba5eeaf3235ba1e006f6bfde6497a0e8
BLAKE2b-256 checksum
How to use checksums
a2215d9061f89ab6b966dd30e4565885a712bb379d91626f416830008a3b29a1
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.3-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL composites-0.10.3-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 218.6 kB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
298d6f7bd1ae6784e64b24c19566079152b26f7dab6bbfdb669cfd491e47a7c3
BLAKE2b-256 checksum
How to use checksums
ff981015ac4b2bc1a89a5e5ddd09646759e8432fadc9f848e6b3649b109d63ae
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.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.3-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
1b3e1f4b8a501930bad934ae04269609660c0aaf86131aaa54a5eebe4d65e81b
BLAKE2b-256 checksum
How to use checksums
dd8f31b5d55e07258bf1cd4e9ea20ac717817ac7167daa791615a2a30a47c13b
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.3-cp314-cp314-macosx_10_15_universal2.whl

Download URL composites-0.10.3-cp314-cp314-macosx_10_15_universal2.whl
Size 753.0 kB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
1e0bb61a4cebd4b03f7e9f3735b29535755aa27f9b251e45c452ce1abee9379a
BLAKE2b-256 checksum
How to use checksums
5b2a5aa1e2d7878a0e06d1a7e058d25f66e03eaf2f5f66c2dbf03d079b34ea96
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.3-cp313-cp313-win_amd64.whl

Download URL composites-0.10.3-cp313-cp313-win_amd64.whl
Size 347.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ce789ac0bc8eafc8ee307555b50944dac2e9abff03c6806854eb0488c1f0cc41
BLAKE2b-256 checksum
How to use checksums
0775ed248c62cd40d892f14ace157d661405b93ee583a3d6310be9d894dd4463
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.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.3-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
57f26c061f1c75cd7b32c338ebe71835ab95a6fe24ecc9adeeca921552f5109b
BLAKE2b-256 checksum
How to use checksums
8cabcccef9c56e565e1cc1a4db08d0cf2fdfcbd2433c45c82e782c9719046297
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.3-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.3-cp313-cp313-macosx_10_13_universal2.whl
Size 749.7 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
dc04cd9775e144ee4ac0828aa24bccba52b20c4a101e949f1b3970e2d7f0dc71
BLAKE2b-256 checksum
How to use checksums
f2325c4a9ff64135f69f6cf6209418672ac758a2813643a67eb1e31537ef70db
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.3-cp312-cp312-win_amd64.whl

Download URL composites-0.10.3-cp312-cp312-win_amd64.whl
Size 347.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4b85cbd90adb09072ea980cdd08b5d3be276149ed0b8178b6a01e3143f4945bc
BLAKE2b-256 checksum
How to use checksums
900c31107f033af0844639ea724b2535d309e5a9255155f404d1818e0899c81d
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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.3-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
1287bf1e12547d0a96326d9bb40f472401ad7989a026ba1ddcb39a3a25b53ce4
BLAKE2b-256 checksum
How to use checksums
c82d1e695881e14841044aa78b254b122bf3701ddc24b385e7a1598458dc365a
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.3-cp312-cp312-macosx_10_13_universal2.whl

Download URL composites-0.10.3-cp312-cp312-macosx_10_13_universal2.whl
Size 749.8 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
22c21357a53298ec5b999dde068ef4490c12662030e2a0c156d9f369f7e2e8e7
BLAKE2b-256 checksum
How to use checksums
11254eb0323f58befbdddf50faf60e3f22457aeaf925812fe02a95bf0dc1f399
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.3-cp311-cp311-win_amd64.whl

Download URL composites-0.10.3-cp311-cp311-win_amd64.whl
Size 362.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
013ff68c0186789b45ce4a01119701cc6e29bc0d88c059c790cc40ed8a8d9e02
BLAKE2b-256 checksum
How to use checksums
b952fdd176122e93e79d404783c49d664ec21d9a975e8f6c265a8648eb058146
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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.3-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
f355a0b1cffb17ec5ddeacddd332fdc5c19fc6dd721008e99866898f346a2a31
BLAKE2b-256 checksum
How to use checksums
b9d36b730d74723ae429345711682fa1d92ded9c8bfbdf572536c74f25dd6144
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.3-cp311-cp311-macosx_10_9_universal2.whl

Download URL composites-0.10.3-cp311-cp311-macosx_10_9_universal2.whl
Size 752.6 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
fcc551dd5968249f4e17a6d5f623b9e67a4eb5368ecba007ed691c8b1acbf9d0
BLAKE2b-256 checksum
How to use checksums
173fb21aa50218a5fd7b894111bdb5ab8c969521fffbd8309bb390646e127e44
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.3-cp310-cp310-win_amd64.whl

Download URL composites-0.10.3-cp310-cp310-win_amd64.whl
Size 363.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a6967f3e8ba83b45c69513659486ec578ffb586d317d5c49982d46d9bfe10ccd
BLAKE2b-256 checksum
How to use checksums
005c69a0b05301606793147a7ab2d5c7aeab37ea0efbd0df263d48ba30684fe2
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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.3-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
3b2c940f0e6e37f9152d99db8856d7d7baf35f0f7b5da070203116f2132912bc
BLAKE2b-256 checksum
How to use checksums
3dad64562d3458b52fdcca4b04c0335219a5e2df07a611ddc6b9a4c10d805457
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.3-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.3-cp310-cp310-macosx_10_9_universal2.whl
Size 756.3 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
542013baf7ec0021d653d6d748e48b02d235ae874afd8e2301b9fa5f51f44951
BLAKE2b-256 checksum
How to use checksums
0d6627cc94b8cc5c07de307c599aca3e6f203a7b136e4113360463fd42249c50
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.3

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