Project List#
This script demonstrates how to list projects from the Flow360 cloud platform using the Python API. It shows how to search for projects by name pattern and displays detailed metadata for each matching project, including creation time, ID, associated resources (geometry, meshes, cases), and a direct link to the project.
1import flow360 as fl
2
3# List all projects with "Simple Airplane" in their name
4fl.Project.show_remote("Simple Airplane")
5
6# Expected output:
7# [14:14:18] INFO: >>> Projects sorted by creation time:
8# Name: Simple Airplane from Python
9# Created at: 2024-10-17 10:59
10# Created with: Geometry
11# ID: prj-fbc03e78-dd9e-4e0e-a527-dbd8195e120a
12# Link: https://flow360.simulation.cloud/workbench/prj-fbc03e78-dd9e-4e0e-a527-dbd8195e120a
13# Geometry count: 1
14# Surface Mesh count: 1
15# Volume Mesh count: 1
16# Case count: 1
17# ...
18# [14:14:18] INFO: Total number of matching projects on the cloud: 6