List of Included Python Packages: Difference between revisions
Jump to navigation
Jump to search
(listed included python standard modules) |
No edit summary |
||
Line 1: | Line 1: | ||
The following table lists Python | The following table lists Python Packages which can be used in a Device Class without further requirements, unless otherwise noted. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Python | ! Python Package !! Package Version !! Package License !! Included in SweepMe! !! Can be used in Device Classes without obligations | ||
|- | |- | ||
| [https://docs.python.org/2/library/ Python Standard Library]: base64, collections, ConfigParser, copy, ctypes, functools, hashlib, json, math, operator, os, shutil, struct, subprocess, sys, thread, time, traceback, types || 2.7 || [[wikipedia:Python_Software_Foundation_License|PSF License]] || {{yes|≥ 1.4.6.37}} || {{yes}} | | [https://docs.python.org/2/library/ Python Standard Library]: base64, collections, ConfigParser, copy, ctypes, functools, hashlib, json, math, operator, os, shutil, struct, subprocess, sys, thread, time, traceback, types || 2.7 || [[wikipedia:Python_Software_Foundation_License|PSF License]] || {{yes|≥ 1.4.6.37}} || {{yes}} | ||
Line 25: | Line 25: | ||
|} | |} | ||
<references /> | <references /> | ||
If you need to use a Python | If you need to use a Python Package that is not in the list, you need to [[Device_Class_Dependencies|bundle those with your Device Class Package]] as demonstrated in the [https://sweep-me.net/deviceclass.php?id=11 ImportModules Demonstration Device Class] and [[License_Guide_for_Device_Classes|comply with the corresponding license]]. |
Revision as of 19:59, 6 May 2018
The following table lists Python Packages which can be used in a Device Class without further requirements, unless otherwise noted.
Python Package | Package Version | Package License | Included in SweepMe! | Can be used in Device Classes without obligations |
---|---|---|---|---|
Python Standard Library: base64, collections, ConfigParser, copy, ctypes, functools, hashlib, json, math, operator, os, shutil, struct, subprocess, sys, thread, time, traceback, types | 2.7 | PSF License | ≥ 1.4.6.37 | Yes |
numpy | 1.8.0 | BSD 3-clause License | ≥ 1.4.6.37 | Yes |
scipy | 0.13.2 | BSD 3-clause License | ≥ 1.4.6.37 | Yes |
matplotlib | 1.3.1 | BSD-compatible matplotlib-license | ≥ 1.4.6.37 | Yes |
PyVISA | 1.4 | MIT License | ≥ 1.4.6.37 | Yes |
pyserial | 2.7 | PSF-like License | ≥ 1.4.6.37 | Yes |
psutil | 5.2.2 | BSD 3-clause License | ≥ 1.4.6.37 | Yes |
opencv/cv2 | ??? | BSD 3-clause License | ≥ 1.4.6.37 | Yes |
PIL | 1.1.7 | PIL License | ≥ 1.4.6.37 | The copyright notice and the permission notice must be included in a supporting documentation[1] |
- ↑ The PIL license does not clearly state whether the notice must be included in copies of the library only or also in work that uses the library. To be on the safe side, the copyright notice and the permission notice should always be included in a Device Class when using the PIL.
If you need to use a Python Package that is not in the list, you need to bundle those with your Device Class Package as demonstrated in the ImportModules Demonstration Device Class and comply with the corresponding license.