# License

The source code of PyMca is licensed under the MIT license:

> The PyMca X-Ray Fluorescence Toolkit is Copyright (C) 2004-2019 of the European Synchrotron Radiation Facility (ESRF).

Unless otherways stated in the relevant accompanying source code, the default license of these modules is MIT.

If you develop and distribute software using modules accessing Qt by means of Riverbank Computing PyQt4 or PyQt5, you will be conditioned by the license of your PyQt4/5 software (GPL or commercial). If you wish to be free of any distribution condition, you should be able to use PySide because it uses the LGPL license.

If, despite its permisivity, the license accompanying any of the PyMca modules is not convenient for you, please contact industry@esrf.fr

The MIT license follows:

Copyright (c) 2004-2019 European Synchrotron Radiation Facility (ESRF)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.