1
1
Installing IDOM
2
2
===============
3
3
4
- Installing IDOM with ``pip `` will generally require doing so alongside a supported
5
- server implementation. This can be done by specifying an installation extra using square
6
- brackets. For example, if we want to run IDOM using `Starlette
7
- <https://www.starlette.io/> `__ we would run:
4
+ You will typically ``pip `` install IDOM to alongside one of it's natively supported
5
+ backends. For example, if we want to run IDOM using the `Starlette
6
+ <https://www.starlette.io/> `__ backend you would run
8
7
9
8
.. code-block :: bash
10
9
11
10
pip install " idom[starlette]"
12
11
13
- If you want to install a "pure" version of IDOM without a server implementation you can
14
- do so without any installation extras. You might do this if you wanted to user a server
15
- which is not officially supported or if you wanted to manually pin your dependencies:
12
+ If you want to install a "pure" version of IDOM without a backend implementation you can
13
+ do so without any installation extras. You might do this if you wanted to :ref: `use a
14
+ custom backend <using a custom backend>` or if you wanted to manually pin your
15
+ dependencies:
16
16
17
17
.. code-block :: bash
18
18
19
19
pip install idom
20
20
21
21
22
- Officially Supported Servers
23
- ----------------------------
22
+ Native Backends
23
+ ---------------
24
24
25
- IDOM includes built-in support for a variety web server implementations. To install the
25
+ IDOM includes built-in support for a variety backend implementations. To install the
26
26
required dependencies for each you should substitute ``starlette `` from the ``pip
27
27
install `` command above with one of the options below:
28
28
@@ -39,15 +39,15 @@ If you need to, you can install more than one option by separating them with com
39
39
pip install " idom[fastapi,flask,sanic,starlette,tornado]"
40
40
41
41
Once this is complete you should be able to :ref: `run IDOM <Running IDOM >` with your
42
- chosen server implementation.
42
+ chosen implementation.
43
43
44
44
45
- Installing In Other Frameworks
46
- ------------------------------
45
+ Other Backends
46
+ --------------
47
47
48
- While IDOM can run in a variety of contexts, sometimes web frameworks require extra work
49
- in order to integrate with them. In these cases, the IDOM team distributes bindings for
50
- various frameworks as separate Python packages. For documentation on how to install and
48
+ While IDOM can run in a variety of contexts, sometimes frameworks require extra work in
49
+ order to integrate with them. In these cases, the IDOM team distributes bindings for
50
+ those frameworks as separate Python packages. For documentation on how to install and
51
51
run IDOM in these supported frameworks, follow the links below:
52
52
53
53
.. raw :: html
@@ -96,8 +96,8 @@ run IDOM in these supported frameworks, follow the links below:
96
96
:transparent-text-color: `Plotly Dash `
97
97
98
98
99
- Installing for Development
100
- --------------------------
99
+ For Development
100
+ ---------------
101
101
102
102
If you want to contribute to the development of IDOM or modify it, you'll want to
103
103
install a development version of IDOM. This involves cloning the repository where IDOM's
0 commit comments