Version 25 (modified by pkienzle, 8 years ago) (diff) |
---|
Package Licenses
- Python - PSF https://docs.python.org/2/license.html
- wxPython (wxWidgets, wxWindows) - L-GPL with exception that user can do whatever on redistribute http://www.wxwidgets.org/about/licence/
- matplot lib “uses BSD compatible code, and its license is based on the PSF license”
- SciPy - Free to do as we like as long as copyright is included http://www.scipy.org/scipylib/license.html
- lxml - BSD
- NumPy - Free to do as we like as long as copyright is included http://docs.scipy.org/doc/numpy/license.html
- PyParsing - MIT license
- Pisa - Apache License 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html
- html5lib - Free to do as we like as long as copyright is included https://github.com/html5lib/html5lib-python/blob/master/LICENSE
- reportlab - BSD
- PIL - Python (MIT style)
- setuptools - PSF or ZPL (Zope PL)
- cansas schemas - Argonne license = free to use as we wish, must keep copyright notice (in dataloader/readers/schema/)
- vcredist_x86: Microsoft Visual Studio 2008 redistributable - Free to package in deployment
- Py2Exe - MIT style (bootstrap code is shipped as part of the windows exe)
- Py2App - PSF or MIT (bootstrap code is shipped as part of the Mac OS X app)
- six - MIT
- perodictables - Public Domain
- numpy, matplotlib, pyparsing
- cromer-mann - BSD © Columbia University
- xray data - Henke et al., LBL
- neutron data - Rauch, Atomic Institute for Austrian Universities
- fundamental constants, atomic mass - NIST
- sasmodels - Public Domain, plus whatever license we put on the models converted from public domain Igor code
- numpy
- pyopencl - MIT, BSD and Apache
- tinycc - LGPL
- xmlrunner - BSD
- cephes - BSD, depending on where we get it https://lists.debian.org/debian-legal/2004/12/msg00295.html
- numerical … - Henrik Vestermark License http://hvks.com - free for non-commercial use (used in models/c_extension/libigor/2Y_cpoly.cpp)
- bumps - Public Domain
- numpy, scipy, matplotlib, six
- mpi4py - two clause BSD
- GUI - MIT © U. Maryland
- wxPython
- DREAM - BSD © Los Alamos
- scipy, numpy, matplotlib
- sklearn - BSD
- Levenberg-Marquardt - scipy
- Differential Evolution, Nelder-Mead - PD
- BFGS - MIT © U. Maryland
- dill - MIT © CalTech?
Licenses in sasview code
- Source Forge site: BSD
- setup.py = PSF (Python Softwre Foundation)
- data_utils/odict.py = BSD
- DANSE stuff
- Check on Caltech vs UTK license http://danse.us/trac/all/wiki/license
- is there a UTK License?
- Add at beginning the DMR and use of danse code (see danse license above)
unix/mac/git-bash expression for finding imports
grep import *.py | sed -e 's/^[^:]*: *from *\([^.]*\)\([.].*\)\{0,1\} import.*$/\1/' | sed -e 's/^[^:]*: *import *\([a-zA-Z0-9]*\)\([. ][^,]*\)\{0,1\}$/\1/' | sort | uniq
Much longer version for the sasview tree:
find src -name "*.py" | xargs grep import | sed 's/^M//' | sed 's/#.*$//' | sed 's/^[^:]*: *$//' | sed -e 's/^[^:]*: *from *\([^.]*\)\([.].*\)\{0,1\} import.*$/\1/' | sed -e 's/^[^:]*: *import *\([a-zA-Z0-9_]*\)\([. ][^,]*\)\{0,1\} *$/\1/' | sort | uniq
Note: some sasview files end with CR LF, hence the ^M early in the stream. This is not caret+M, this is an actual carriage return inserted by Ctrl-V+Ctrl-M. With gnu sed, \r might work. Or maybe \\r.
Sasview uses lots of implicit relative imports, so the results are noisy. These should be changed to relative imports because they are safer.