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

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

Built distributions (wheels)

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

Total release size: 18.3 MB

Release files / composites-0.10.5.tar.gz

Download URL composites-0.10.5.tar.gz
Size 614.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ed81d93c7134ea26cbee986ff64f7f86b25688a3e177621759930435470b0977
BLAKE2b-256 checksum
How to use checksums
9f6d21b51111f0730e0ce9022c299685827439c2144190273744b130d3079197
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.5-cp314-cp314-win_amd64.whl

Download URL composites-0.10.5-cp314-cp314-win_amd64.whl
Size 361.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d14c983fb7003a4cfa2325ce51e34f47ac3cb70655f03d4adeb249528ffe07ae
BLAKE2b-256 checksum
How to use checksums
b6ed3b6860ef4cb0ab8dff7f57fd38c581f86cf5137023ff4e760f1741d3b23d
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.5-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL composites-0.10.5-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
1c37cafa228266ad3a66c3ccecb952d6ca4ed0ecaa1eae0f6e8d9b3617a8e78f
BLAKE2b-256 checksum
How to use checksums
7e9e963480e609b5aa35ee611ab112bb485d11ed2c1f2786c0d7ee8cfea48b32
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.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.5-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
5749aec79f8dee2244dce928f686394a3b33275f98e31009821231ab1c16bc1d
BLAKE2b-256 checksum
How to use checksums
5dbef8dc54d9a5547153e1666e9e72f2c5a438e04f0879f02cfc68bd246f596d
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.5-cp314-cp314-macosx_10_15_universal2.whl

Download URL composites-0.10.5-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
1279c956e4ca980af29eb796d2365e58b255a2dbda3e2b6f885a2bc4efa9d71c
BLAKE2b-256 checksum
How to use checksums
ecb113cfee87945a097e621b015e73080ffd6f4925c481806a48af3fe1192ce9
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.5-cp313-cp313-win_amd64.whl

Download URL composites-0.10.5-cp313-cp313-win_amd64.whl
Size 351.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
24a578620f34f1e1af9208b74e37ca15d26f7d2d4b59362cc1aca9719985139f
BLAKE2b-256 checksum
How to use checksums
dfa470f9db117d84116ed7f1b3fe2a3c257a99f7436713e0db40efa672aa32a8
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.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.5-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
27765e27f2b09daf861f6f4449d97aed42d08e0c9aff194f5da70bf1e6cc95aa
BLAKE2b-256 checksum
How to use checksums
eb75ac4db3f7d84123581fe6c686d52dd983ebe7246fa86ade2010515baea74e
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.5-cp313-cp313-macosx_10_13_universal2.whl

Download URL composites-0.10.5-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
c19a37fce850fdfb3666b9d2e3d505313d1b438a2f9ffa5880cb0fbb79b2d229
BLAKE2b-256 checksum
How to use checksums
c1c86d1f04152a07ca58e37dbe30307b80160b871d8a64a31c9b68e3b6680788
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.5-cp312-cp312-win_amd64.whl

Download URL composites-0.10.5-cp312-cp312-win_amd64.whl
Size 352.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f43650cd89b358e2b2fbd2ba4d55f8552678c9adc06b947c4015de154607d8a7
BLAKE2b-256 checksum
How to use checksums
946acd0b84103bf2b282226841d7f8eec701c97755a84ba5145347e6518ddd98
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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.5-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
c1b8f29e9f9add1f1baf89e895a3631d23d3a425dbedd10c4b8e50f052f4e773
BLAKE2b-256 checksum
How to use checksums
59e4edca6a7d78dfc8acf41a9843a1f43a68d6f9c8dd4b3579795b6e947e6dea
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.5-cp312-cp312-macosx_10_13_universal2.whl

Download URL composites-0.10.5-cp312-cp312-macosx_10_13_universal2.whl
Size 763.2 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
62f8274a85d9222210d541301aafe1da7ac0e3fede962e574115c2fce1596151
BLAKE2b-256 checksum
How to use checksums
d273b35cd4ad8a884e1f1a220b7436ef7ed00fb9ed76ea359ff148b90a5f4984
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.5-cp311-cp311-win_amd64.whl

Download URL composites-0.10.5-cp311-cp311-win_amd64.whl
Size 368.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4fc335c253d689c086a0203dd1ce0cbca7994f920b7e65d430ff27101e4429ae
BLAKE2b-256 checksum
How to use checksums
d063d6329b61c4dd159ed8dda14b0755ae59d63925e10131f9a7b565c91772fe
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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.5-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
97b9d45e5d6b07f7f3a34137ca675ec3c397b3061da03a035871d23b99da0839
BLAKE2b-256 checksum
How to use checksums
3fc9c09acc32f8eb8c87c4ac91381976d8603a5b63c8d6c9b038aeb1497e62c9
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.5-cp311-cp311-macosx_10_9_universal2.whl

Download URL composites-0.10.5-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
e1a3997d301807404bc635b27eaeb3eb53eedeeb1c1173e5a846071ca6a8fa24
BLAKE2b-256 checksum
How to use checksums
aec22bcf3cd53422237ade661b74e7bbce2b9cea41fa3be15d71c0b9c493ae62
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.5-cp310-cp310-win_amd64.whl

Download URL composites-0.10.5-cp310-cp310-win_amd64.whl
Size 369.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
9962d2f8b487d0d70347f00da9af31375501f53eafc8414f03f32d64f47ef7ba
BLAKE2b-256 checksum
How to use checksums
6999bc43f4cbc8dc9cf3dbc8fc82646e793c11e58a7efa8bdd9448a1a062f4ab
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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL composites-0.10.5-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
b28e3ee6e923bc8df3679a6ee05f306819533556061f3778139dd3f8461f02fb
BLAKE2b-256 checksum
How to use checksums
f03231d4dbbc5246e8a34575f183b332426cfd2281d28f5073c225962224709a
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.5-cp310-cp310-macosx_10_9_universal2.whl

Download URL composites-0.10.5-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
fea43e4b97dbf92bc98dd8174b627ffbadc6602ed99966c330f63e8f6dcfb4b2
BLAKE2b-256 checksum
How to use checksums
bfcf49dc0ef215f89cb0c450dbbef01339ca257a08c8eb0a9e37ad4c38389418
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.5

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