You can create your own Python modules, or use those created by others. Just copy the code onto your CodeBot or CodeX filesystem, and it can be imported by your Python programs.
See the documentation for your particular device for details on “Working with Files”.
Adafruit maintains a growing collection of libraries for CircuitPython here: https://circuitpython.org/libraries
Some of the Adafruit modules may not be compatible with the version of CircuitPython loaded on your device. See below for a download link to library versions made for your device version.
Compatible Library Downloads