The following table describes the available preinstalled Python libraries that SR OS provides.
| Library | Description | 
|---|---|
binutils  | 
Collection of binary utilities  | 
datetime  | 
Manipulation of various formats for date, time, and time zone. The strptime function is not supported.  | 
ubinascii  | 
Bidirectional translation between binary data and various ASCII encodings  | 
ujson  | 
Conversion between Python objects and JSON data format  | 
pysros  | 
Model-driven management API for SR OS (Python for the Service Router Operating System – pySROS)  | 
ucollections  | 
Advanced collection and container types to hold or accumulate various objects  | 
ure  | 
Simple regular expressions  | 
sys  | 
System-specific parameters and functions  | 
uhashlib  | 
Binary data hashing algorithms  | 
ustruct  | 
Pack and unpack primitive data types  | 
ipaddress  | 
IPv4 and IPv6 address manipulation  | 
uio  | 
Input and output streams  | 
utime  | 
Obtain current date and time, measuring intervals, and delays. This function has been updated to provide support for SR OS and is documented in the API documentation.  |