Installation¶
SimDB is distributed as the imas-simdb Python package and requires
Python 3.11 or newer.
Install from PyPI¶
pip install imas-simdb
Install from source¶
git clone https://github.com/iterorganization/SimDB.git
cd SimDB
python3 -m venv venv
source venv/bin/activate
pip install -e .
Optional extras¶
The base install gives you the client. Additional features are available as extras:
Extra |
Installs support for |
|---|---|
|
Running a SimDB remote server. |
|
PostgreSQL as the server database. |
|
IDS file-content validation. |
|
LDAP authentication (server). |
|
Keycloak authentication (server). |
|
Active Directory authentication (server). |
|
All three authentication methods. |
|
Building this documentation. |
|
|
Install one or more extras with the usual pip syntax:
pip install "imas-simdb[server]"
pip install "imas-simdb[server,postgres,imas-validator]"
pip install -e ".[all]" # from a source checkout
Verify¶
simdb --version
simdb --help
Tip
If you get command not found: simdb, the install location’s bin directory is
not on your PATH. Activate your virtual environment, or add the pip script
directory to PATH. See Troubleshooting.
Next steps¶
Run through the quickstart.
Working with ITER servers? See Connect to ITER.
Setting up a server? See Install a server.