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

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

Built distributions (wheels)

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

Total release size: 18.3 MB

Release files / composites-0.10.6.tar.gz

Download URL composites-0.10.6.tar.gz
Size 614.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2ca8c990322fb307b601584297d37d57b5b1d8393a9b56aefb4084e37b1253b2
BLAKE2b-256 checksum
How to use checksums
8a248f7151944007e43afe6dabdbb16b12878ed0acf570928870b37610b6503a
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.6-cp314-cp314-win_amd64.whl

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

Download URL composites-0.10.6-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
e02baf8d9774a8da53e2d4a1444211566b39cadff6fc4e0199f40e86bed89485
BLAKE2b-256 checksum
How to use checksums
631a89edf7780ad05e7dd7313ea4e5ddb748a222d7e960b4fc3437576795683f
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.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.6-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
fae789f7ec3897da083d7549c601392ba7d8519a06a9d50c9b6c271a08997c7e
BLAKE2b-256 checksum
How to use checksums
3c793f8be32051e3a28d6ec0ec4f87fdb1401b2887f65b1290494daa0082bbe6
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.6-cp314-cp314-macosx_10_15_universal2.whl

Download URL composites-0.10.6-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
0b48a1133b20090eb31552fc1e0fc0b3f054e923d8f457d9e7b0a85de052b800
BLAKE2b-256 checksum
How to use checksums
a9683f9b5992fc5a8dfcd241b02dc3b5e0e17ea88d59e2e5957b11acfffd3902
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.6-cp313-cp313-win_amd64.whl

Download URL composites-0.10.6-cp313-cp313-win_amd64.whl
Size 351.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6e427db8023a9c8e40fab4f53263aeb4f840298bf4de1c4818805c76a1155cde
BLAKE2b-256 checksum
How to use checksums
07ad41ef8097af0efa95ab75b212368f6e34e1fe6dd248c0d13299fc46610e5a
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.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.6-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
89c975353822842e1d4fef49fb6dcd0873ef99e6b477c7d8aef5b852898bdfae
BLAKE2b-256 checksum
How to use checksums
953b61845564898b9390dbc1fd758a8f5d67c8603967875ca8e205884cfbd9d2
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.6-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.6-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
1d940511f6f0a0fa64f5d42a677ac1590f014fc7a0fb229c784cebc6e4e216f7
BLAKE2b-256 checksum
How to use checksums
735e0548fb391388da6eba63bf68110212ce02ce91e51a8f93e35eeef1ee1edd
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.6-cp312-cp312-win_amd64.whl

Download URL composites-0.10.6-cp312-cp312-win_amd64.whl
Size 351.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
9def7eaf958e8e8acb58719c4b7635bb6830fed9c83d0310d38a268a5018afdb
BLAKE2b-256 checksum
How to use checksums
b5e1db6b920b273696b724ce28c8208e4b1653027c264bd0aa699900175fd8e7
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.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.6-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
91eeb6ab19d4d768d3db1d792aca66b69d91e20c62cf97bc3fe71eeab6dd57d9
BLAKE2b-256 checksum
How to use checksums
7739eeeb363ddfe8f40f51099066e880cc1dcdfff2d8c642c9f02bca802a3ad5
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.6-cp312-cp312-macosx_10_13_universal2.whl

Download URL composites-0.10.6-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
47933be8aadbb68348102af35d8412dade07e2f96507f25fe82e4d8aa19fee48
BLAKE2b-256 checksum
How to use checksums
7332b2d1b90e5f45385ca8d9ec4333b3fdb057d06718d319554ed3810d8b8b53
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.6-cp311-cp311-win_amd64.whl

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

Download URL composites-0.10.6-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
f2ee2d8a8f9d83b61ae2c727ba23a568100b4b47506c09581faff4abbebc9bf2
BLAKE2b-256 checksum
How to use checksums
5d22ac3ccbe54e5cd200a8ffd1fe390e5481f615de368c0e45a73955ab7ab9a5
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.6-cp311-cp311-macosx_10_9_universal2.whl

Download URL composites-0.10.6-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
d768702af698b80512557228fa8135de1dcbe4c4867bbc5eabb72ae37df03fba
BLAKE2b-256 checksum
How to use checksums
635f9907d2fe9127c5a452a97db7c3072fcb5c75816daf399d52256293a8d8ff
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.6-cp310-cp310-win_amd64.whl

Download URL composites-0.10.6-cp310-cp310-win_amd64.whl
Size 366.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
752d1b913df99181d76176eac6e80be05bee43c013d8a529eaa0bd842fec7567
BLAKE2b-256 checksum
How to use checksums
557d8b1030e67fef214c7fe320618186d482daeb79988fa08fa145d0737c40a5
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.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.6-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
f5229ee871f7c70f0687abb598f6031f80a2def1f9c9647737111a22bcecdda3
BLAKE2b-256 checksum
How to use checksums
e06d7f4540cf4b093dc9cfbc3775d84470523c301f54e37e9d8cb3546a1ca5e8
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.6-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.6-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
82e33104cfa5664a5c2a79673a1bc3180bc922368d73172635b0991ba48b43a1
BLAKE2b-256 checksum
How to use checksums
4cb692fc1853971d27fa7a22de205c3c6cd8aec843c3be3077f7897cdea6a502
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.6

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