A C++ boosted API for Python, built on Pybind11.
To use DolphinDB Python SDK, you'll need:
- Python:
- CPython: version 3.6 and newer
- DolphinDB Server
- Packages:
- NumPy: version 1.18 and newer, but earlier than 2.0
- pandas: version 1.0.0 and newer, but not version 1.3.0
- future
- packaging
- Extension Packages:
- PyArrow: version 9.0.0 and newer
To install the DolphinDB package, use the following command:
pip install dolphindb
Here's an example of using DolphinDB Python SDK:
import dolphindb as ddb
conn = ddb.Session()
conn.connect("localhost", 8848, "admin", "123456")
conn.run("1+1;")
-----------------------
2