Skip to content

Commit 25d0460

Browse files
Merge pull request #576 from srobo/standard-library
Reference standard library when talking about available libraries
2 parents f6077a7 + 2f75e3f commit 25d0460

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

kit/brain_board/python_libraries.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,22 @@ title: Available Python Libraries
1111

1212
# Available Python Libraries
1313

14+
Out of the box, Python 3.11 comes with a large number of built-in libraries (known as its [standard library](https://docs.python.org/3.11/library/index.html)), useful for a variety of different tasks. All modules in the standard library are available to use, both on the robotics kit and simulator.
15+
16+
## Additional Libraries
17+
18+
Python has a rich ecosystem of 3rd-party packages available for use outside the standard library, however these need to be installed manually. We've pre-selected a few useful libraries and made them available for use in your robot's software.
19+
1420
If you wish to use a library that isn't in the list, get in contact with us on Discord and have a chat with us about it.
1521

1622
<div class="info" markdown="1">
1723
Note that for local development in the simulator you will need to install the libraries yourself.
1824
Look at the guide on [setting up the simulator]({{ site.baseurl }}/simulator/setting_up_simulator) to find out how to do this.
1925
</div>
2026

27+
### Robot Kit
2128

22-
## Robot Kit
23-
24-
The following python libraries are installed and available for use in your robot's software:
29+
The following python libraries are installed and available on the brain board:
2530

2631
<!-- cspell:disable -->
2732
* [debugpy 1.7.0](https://pypi.org/project/debugpy)
@@ -39,7 +44,7 @@ The following python libraries are installed and available for use in your robot
3944
<!-- cspell:enable -->
4045

4146

42-
## Simulator differences
47+
### Simulator differences
4348

4449
Generally we will try to keep the libraries available in the simulator the same as what is available on the physical robot.
4550
The list below outlines the differences.
@@ -50,4 +55,3 @@ The list below outlines the differences.
5055
* `opencv` is not available in the simulator
5156
* `sr-robot3` that comes with the simulator has the same API but is different to the one available on pypi
5257
<!-- cspell:enable -->
53-

0 commit comments

Comments
 (0)