CalcTree Help Pages
  • What is CalcTree?
  • Getting started
    • CalcTree Pages
    • Create a CalcTree Page
    • Add a calculation
    • Collaborate with a colleague
  • Calculations
    • Parameters
      • Math formulas
        • Parameter Data Types
        • Native Functions
          • Arithmetic Functions
          • Trigonometric Functions
          • Logical & Comparison Functions
          • Matrix & Vector Functions
          • Probability & Combinatorics Functions
          • Statistical Functions
          • String Functions
          • Utility Functions
          • Other Native Functions
        • Valid Expression Syntax
      • Supported Units
      • Dropdown List Parameters
        • Linking CSV Data to Dependent Dropdowns in CalcTree
      • Parameter Settings
    • Integrations
      • Python in CalcTree
        • Adding a Python Source
        • Defining Parameters in Python
        • Referencing Other Parameters in Python
        • Working with Units in Python
        • Creating Tables and Visuals in Python
        • Consuming Files in Python
        • Using Pre-installed Python Libraries
      • Spreadsheets [Coming Soon!]
      • File Upload
        • CSV files
      • 3rd Party Software Plugins
        • Excel
        • Grasshopper
        • ETABS [v20 & v21]
        • ETABS [v22]
        • SAP 2000
        • CSI Bridge [v26]
    • Templates [Coming Soon!]
    • Optimising your calculations
  • Pages & Reports
    • CalcTree Documents
    • Static content
    • Parametric content
      • Parametric equation
      • Inputs
      • Outputs
  • Export to PDF
  • API
    • GraphQL API
      • Generating an API key
      • Queries
        • GetCalculation
        • Calculate
      • Examples
        • Bulk calculations with Python
  • Collaborate
    • Add members
    • Review and approval
    • Add stakeholders
  • Administrate
    • CalcTree Workspace
    • Versioning and Audit trail
  • CalcTree for System Administrators
Powered by GitBook
On this page
  • Available Libraries
  • Roadmap and Feedback
  1. Calculations
  2. Integrations
  3. Python in CalcTree

Using Pre-installed Python Libraries

The libraries below are pre-installed in CalcTree’s Python environment. To use them, simply import them in your script as you would normally.

CalcTree provides a set of pre-installed Python libraries ready for use in your scripts. These include numerical, plotting, structural, geotechnical, and simulation packages commonly used in engineering workflows.

To use any library, you must import it at the top of your Python script as you would in a standard Python environment:

import numpy as np
import matplotlib.pyplot as plt

Available Libraries

The following libraries are currently supported in CalcTree:

Library
Description

2D structural analysis in Python

(Resilient Design for the Next Generation of Buildings) seismic engine documentation developed at ARUP

A teaching aid for 1-D shear-force and bending-moment diagrams

Optimize energy assets using mixed-integer linear programming

A Python package for calculating structures according to Eurocodes

A Python package to create new DXF documents and read/modify/write existing DXF

An open-source, Python-based 3-D structural geological modeling software

A general-purpose geotechnical package

handcalcs Python library for converting Python calculations into rendered latex

Joyplots in Python with matplotlib & pandas

Plotting with Python

The fundamental package for scientific computing with Python

Finite element applications for simulating the response of structural and geotechnical systems subjected to earthquakes

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

Python 3 library to automate and build finite element analysis (FEA) models in Calculix

Python Continuous Beam Analysis

Python bindings to Frame3DD

A 3D structural engineering finite element library for Python

Python Spatial Analysis Library

Machine learning in Python

Software for mathematics, science, and engineering. It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and image processing, ODE solvers, and more.

Statistical data visualization in Python

Analysis of an arbitrary cross-section in Python using the finite element method

A process-based discrete-event simulation framework

Structural Analysis Library for Python based on the direct stiffness method

Symbolic mathematics

An extension of GeoJSON that encodes topology

Roadmap and Feedback

Let us know which packages are essential to your workflow.

PreviousConsuming Files in PythonNextSpreadsheets [Coming Soon!]

Last updated 1 day ago

+

We’re actively expanding this list based on user demand. You can view the current roadmap and request support for additional libraries .

here
anaStruct
REDi
BeamBending
energy-py-linear
eurocodepy
ezdxf
GemPy
Groundhog
handcalcs
joypy
matplotlib
numpy
OpenSeesPy
OpsVis
Pandas
pyCalculiX
pycba
pyFrame3DD
PyNite
pysal
Scikit-learn
Scipy
seaborn
sectionproperties
SimPy
StructPy
SymPy
topojson