This release is a pre-release and may not be stable for production use.
Helper functions for symbolic math, matrix visualization, and plotting
Author: University of Stuttgart, Institute for Structural Mechanics (IBB)
License: BSD3
Version: 0.4.7
Date: Jan 14, 2025
Description
This helper module currently provides 11 specialized functions for symbolic mathematics, matrix visualization, and plotting operations. Designed for SymPy, NumPy, Matplotlib, and Plotly integration in Jupyter Notebooks and Python environments.
Helper Functions
- animate - Animate 2D curves from symbolic expressions or datasets
- combine_plots - Stack multiple Matplotlib/Plotly plots into combined figures
- display - Format scalars, vectors, or matrices in LaTeX for display
- display_eigen - Compute and display eigenvalues/eigenvectors with LaTeX formatting
- display_matrix - Display truncated matrices with optional numerical evaluation
- extend_plot - Merge multiple plots side-by-side with horizontal offsets
- minimize - General optimization wrapper for symbolic expressions with constraints
- num_int - Numerically integrate symbolic expressions over 1D domains using composite Gauss quadrature
- plot_2d - Plot symbolic expressions or datasets in 2D using Matplotlib
- plot_3d - Plot symbolic 3D surfaces using Plotly for interactive visualization
- plot_param_grid - Plot 2D parametric surface grids with control points
- symbolic_BSpline - Generate symbolic B-spline basis functions with plotting
Dependencies
- Python 3.8+
- numpy, sympy, matplotlib, plotly
- IPython (for LaTeX rendering)
Quick Start
import IBB_Helper as ibb
# Display matrix
ibb.display_matrix(np.array([[1, 2], [3, 4]]), name="A")
# Show symbolic expression
ibb.display(sp.sin(x)**2 + sp.cos(x)**2, name="Identity")
# Plot 2D curves
ibb.plot_2d([sp.sin(x), sp.cos(x)], var=(x, (-np.pi, np.pi)))
# Plot 3D surface
ibb.plot_3d(sp.sin(x*y), var=(x, (-2, 2), y, (-2, 2)))
Development Status
This is an ongoing project with regular enhancements. Updates might include:
- New helper functions
- Performance optimizations
- Extended compatibility
- Bug fixes and stability improvements
Notes
- Optimized for education, research, and technical documentation
- Seamless SymPy/NumPy integration
- Enhanced LaTeX formatting for presentations
Metadata
Release files for IBB-Helper 0.4.8.dev28
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ibb_helper-0.4.8.dev28.tar.gz | 20.7 kB | Without provenance | Details for ibb_helper-0.4.8.dev28.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ibb_helper-0.4.8.dev28-py3-none-any.whl | Python 3 | none | any | Details for ibb_helper-0.4.8.dev28-py3-none-any.whl |
Total release size: 45.4 kB
Release files / ibb_helper-0.4.8.dev28.tar.gz
| Download URL | ibb_helper-0.4.8.dev28.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9311489720fa6326bceb90d4857f07b30a407b14a34938df1662cc2ba340bd
|
|
BLAKE2b-256 checksum How to use checksums |
c338ea05873d8e6ce0145e763428c1facf10c11bee7d6c6b0faf9ba6eef59832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / ibb_helper-0.4.8.dev28-py3-none-any.whl
| Download URL | ibb_helper-0.4.8.dev28-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7ce9eef57ac2541f297d00ecc17e3f2895393cdadf4cf8eea5c0e70c79a1f0d
|
|
BLAKE2b-256 checksum How to use checksums |
d35fb4c8b7b83ee8f47b35fbc128a88d84d027f325c2ce79d5624beb4b0aefec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for IBB-Helper 0.4.8.dev28
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.