tidy3d-2.9.3


توضیحات

A fast FDTD solver
ویژگی مقدار
سیستم عامل OS Independent
نام فایل tidy3d-2.9.3
نام tidy3d
نسخه کتابخانه 2.9.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Tyler Hughes
ایمیل نویسنده tyler@flexcompute.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/tidy3d/
مجوز LGPLv2+
# Tidy3D [![PyPI Name](https://img.shields.io/badge/pypi-tidy3d-blue?style=for-the-badge)](https://pypi.python.org/pypi/tidy3d) [![PyPI version shields.io](https://img.shields.io/pypi/v/tidy3d.svg?style=for-the-badge)](https://pypi.python.org/pypi/tidy3d/) [![Documentation Status](https://readthedocs.com/projects/flexcompute-tidy3ddocumentation/badge/?version=latest&style=for-the-badge)](https://flexcompute-tidy3ddocumentation.readthedocs-hosted.com/?badge=latest) [![Tests](https://img.shields.io/github/actions/workflow/status/flexcompute/tidy3d/tidy3d-python-client-tests.yml?branch=develop&style=for-the-badge)](https://github.com/flexcompute/tidy3d/actions/workflows/tidy3d-python-client-tests.yml) [![License: LGPL-2.1](https://img.shields.io/badge/license-LGPL--2.1-blue?style=for-the-badge)](LICENSE) [![Ruff](https://img.shields.io/badge/code%20style-ruff-5A4FCF?style=for-the-badge)](https://github.com/astral-sh/ruff) ![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/daquinteroflex/4702549574741e87deaadba436218ebd/raw/tidy3d_extension.json) [![Notebooks](https://img.shields.io/badge/Demo-Live%20notebooks-8A2BE2?style=for-the-badge)](https://github.com/flexcompute/tidy3d-notebooks) ![](https://raw.githubusercontent.com/flexcompute/tidy3d/main/img/Tidy3D-logo.svg) Tidy3D is a software package for solving extremely large electrodynamics problems using the finite-difference time-domain (FDTD) method. It can be controlled through either an [open source python package](https://github.com/flexcompute/tidy3d) or a [web-based graphical user interface](https://tidy3d.simulation.cloud). This repository contains the python API to allow you to: * Programmatically define FDTD simulations. * Submit and manage simulations running on Flexcompute's servers. * Download and postprocess the results from the simulations. ![](https://raw.githubusercontent.com/flexcompute/tidy3d/main/img/snippet.png) ## Installation ### Signing up for tidy3d Note that while this front end package is open source, to run simulations on Flexcompute servers requires an account with credits. You can sign up for an account [here](https://tidy3d.simulation.cloud/signup). After that, you can install the front end with the instructions below, or visit [this page](https://docs.flexcompute.com/projects/tidy3d/en/latest/install.html) in our documentation for more details. ### Quickstart Installation To install the Tidy3D Python API locally, the following instructions should work for most users. ``` pip install --user tidy3d tidy3d configure --apikey=XXX ``` Where `XXX` is your API key, which can be copied from your [account page](https://tidy3d.simulation.cloud/account) in the web interface. In a hosted jupyter notebook environment (eg google colab), it may be more convenient to install and configure via the following lines at the top of the notebook. ``` !pip install tidy3d import tidy3d.web as web web.configure("XXX") ``` **Advanced installation instructions for all platforms is available in the [documentation installation guides](https://docs.flexcompute.com/projects/tidy3d/en/latest/install.html).** ### Authentication Verification To test the authentication, you may try importing the web interface via. ``` python -c "import tidy3d; tidy3d.web.test()" ``` It should pass without any errors if the API key is set up correctly. To get started, our documentation has a lot of [examples](https://docs.flexcompute.com/projects/tidy3d/en/latest/notebooks/docs/index.html) for inspiration. ## Common Documentation References | API Resource | URL | |--------------------|----------------------------------------------------------------------------------| | Installation Guide | https://docs.flexcompute.com/projects/tidy3d/en/latest/install.html | | Documentation | https://docs.flexcompute.com/projects/tidy3d/en/latest/index.html | | Example Library | https://docs.flexcompute.com/projects/tidy3d/en/latest/notebooks/docs/index.html | | FAQ | https://docs.flexcompute.com/projects/tidy3d/en/latest/faq/docs/index.html | ## FlexAgent MCP FlexAgent adds an AI-assisted layer on top of Tidy3D via the Model Context Protocol (MCP); read more about [AI-assisted simulation in Tidy3D](https://hs.flexcompute.com/news/ai-assisted-simulation-in-tidy3d-ushering-in-a-new-era-of-photonic-design). Install the `tidy3d-mcp` server when you want that experience inside an MCP client without the Tidy3D extension for [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python) and [Cursor](https://open-vsx.org/extension/Flexcompute/tidy3d). These commands assume [uv](https://docs.astral.sh/uv/getting-started/installation/) is installed on your machine. **Register the server with your MCP client** - use the block below that matches your CLI. <details> <summary>Codex CLI / IDE</summary> ```bash codex mcp add tidy3d -- uvx tidy3d-mcp --api-key "YOUR_TIDY3D_API_KEY" ``` </details> <details> <summary>Claude CLI / Desktop / Code</summary> ```bash claude mcp add tidy3d -- uvx tidy3d-mcp --api-key "YOUR_TIDY3D_API_KEY" ``` </details> <details> <summary>Gemini CLI</summary> Create or edit `.gemini/settings.json` (project) or `~/.gemini/settings.json` (global): ```json { "mcpServers": { "tidy3d": { "command": "uvx", "args": ["tidy3d-mcp", "--api-key", "YOUR_TIDY3D_API_KEY"] } } } ``` </details> <details> <summary>Cursor CLI / IDE</summary> Cursor reuses the same schema across the editor and `cursor-agent`. Configure `.cursor/mcp.json` (per-project) or `~/.cursor/mcp.json` (global) and then run `cursor-agent mcp list` to verify: ```json { "mcpServers": { "tidy3d": { "command": "uvx", "args": ["tidy3d-mcp", "--api-key", "YOUR_TIDY3D_API_KEY"] } } } ``` </details> ## Related Source Repositories | Name | Repository | |-------------------|-------------------------------------------------| | Source Code | https://github.com/flexcompute/tidy3d | | Notebooks Source | https://github.com/flexcompute/tidy3d-notebooks | | FAQ Source Code | https://github.com/flexcompute/tidy3d-faq | ## Issues / Feedback / Bug Reporting Your feedback helps us immensely! If you find bugs, file an [Issue](https://github.com/flexcompute/tidy3d/issues). For more general discussions, questions, comments, anything else, open a topic in the [Discussions Tab](https://github.com/flexcompute/tidy3d/discussions). ## License [GNU LGPL](https://github.com/flexcompute/tidy3d/blob/main/LICENSE)


نیازمندی

مقدار نام
- PyYAML<7.0.0,>=6.0.3
- autograd<2.0.0,>=1.7.0
xtr bayesian-optimization<2;
- boto3<2.0.0,>=1.28.0
- click<9.0.0,>=8.1.0
xtr cma<5.0.0,>=4.4.1;
xtr coverage<8.0.0,>=7.13.1;
- dask<2026.0.0,>=2025.12.0
xtr diff-cover<11.0.0,>=10.1.0;
xtr dill<0.5.0,>=0.4.0;
xtr gdstk<0.10.0,>=0.9.49;
xtr grcwa<0.2.0,>=0.1.2;
- h5netcdf==1.0.2
- h5py<3.15,>=3.0.0
- importlib-metadata<9.0.0,>=6.0.0
xtr ipython<9.0.0,>=8.38.0;
xtr jinja2<4.0.0,>=3.1.2;
- joblib<2.0.0,>=1.5.3
xtr jupyter<2.0.0,>=1.1.1;
- matplotlib<4.0.0,>=3.10.0
xtr memory_profiler<0.62.0,>=0.61.0;
xtr mypy==1.13.0;
xtr myst-parser<5.0.0,>=4.0.1;
xtr nbconvert<8.0.0,>=7.11.0;
xtr nbdime<5.0.0,>=4.0.2;
xtr nbsphinx<0.10.0,>=0.8.7;
xtr networkx<3.0.0,>=2.6.3;
- numpy<2.5.0,>=2.2.6
xtr openpyxl<4.0.0,>=3.1.5;
xtr optax<0.3.0,>=0.2.2;
- pandas<3.0,>=2.2
xtr pre-commit<5,>=4;
xtr psutil<8.0.0,>=7.2.1;
- pydantic<3.0,>=2.0
xtr pydata-sphinx-theme<0.16.0,>=0.13.3;
xtr pygad==3.3.1;
- pyjwt<3.0.0,>=2.10.1
xtr pylint<5.0.0,>=4.0.4;
- pyroots<0.6.0,>=0.5.0
xtr pyswarms<2.0.0,>=1.3.0;
xtr pytest<10.0.0,>=8.1;
xtr pytest-cov<7.0.0,>=6.0.0;
xtr pytest-env<2.0.0,>=1.1.5;
xtr pytest-timeout<3.0.0,>=2.4.0;
xtr pytest-xdist<4.0.0,>=3.6.1;
- requests<3.0.0,>=2.31.0
- responses<0.26.0,>=0.25.8
- rich<14.0,>=13.0
xtr rtree==1.2.0;
xtr ruff==0.11.11;
xtr sax<0.12,>=0.11;
xtr scikit-rf<2.0.0,>=1.9.0;
- scipy<2.0,>=1.14
- shapely<3.0,>=2.0
xtr signac<3.0.0,>=2.3.0;
xtr sphinx<9.0.0,>=6;
xtr sphinx-book-theme<2.0.0,>=1.0.1;
xtr sphinx-copybutton<0.6.0,>=0.5.2;
xtr sphinx-design<0.7.0,>=0.6.1;
xtr sphinx-favicon<2.0.0,>=1.0.1;
xtr sphinx-notfound-page<2.0.0,>=1.1.0;
xtr sphinx-sitemap<3.0.0,>=2.5.1;
xtr sphinx-tabs<4.0.0,>=3.4.7;
xtr sphinxemoji<0.4.0,>=0.3.2;
xtr tidy3d-extras==2.10.2;
xtr tmm<0.3.0,>=0.2.0;
- toml<0.11.0,>=0.10.2
- tomlkit<0.14.0,>=0.13.2
ys_platfor torch<3.0.0,>=2.2.0;
ys_platfor torch<3.0.0,>=2.2.0;
xtr tox<5.0.0,>=4.33.0;
xtr trimesh<5.0.0,>=4.6;
- typing-extensions<5.0.0,>=4.15.0
xtr vtk<10.0.0,>=9.2.6;
- xarray<2026.0.0,>=2023.8
xtr zizmor<2.0.0,>=1.20.0;


زبان مورد نیاز

مقدار نام
<3.14,>=3.10 Python


نحوه نصب


نصب پکیج whl tidy3d-2.9.3:

    pip install tidy3d-2.9.3.whl


نصب پکیج tar.gz tidy3d-2.9.3:

    pip install tidy3d-2.9.3.tar.gz