# License

Copyright © 2011-present Workiva, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

Arelle includes a number of libraries with separate copyright notices and/or
license terms. Your use of the source code for these libraries is subject to the
terms and conditions of the following licenses:

## Core product not including GUI operation

Python®: Copyright (c) 2001-2022 Python Software Foundation; All Rights Reserved.
[License](https://docs.python.org/3/license.html)

aniso8601: Copyright (c) 2021, Brandon Nielsen, All rights reserved.
[License](https://github.com/sloanlance/aniso8601/blob/master/LICENSE)

cherrypy: cheroot Copyright © 2004-2020, CherryPy Team. All rights reserved.
[License](https://github.com/cherrypy/cherrypy/blob/main/LICENSE.md)

cx_Freeze: Copyright © 2020-2022, Marcelo Duarte, 2007-2020, Anthony Tuininga,
2001-2006, Computronix (Canada) Ltd., Edmonton, Alberta, Canada. All rights reserved.
[License](https://cx-freeze.readthedocs.io/en/latest/license.html)

graphviz: Copyright (c) 2013-2021 Sebastian Bank
[License](https://graphviz.org/license/)

holidays: Copyright (c) 2014-2017, 2017-2021
[License](https://github.com/dr-prodigy/python-holidays/blob/master/LICENSE)

isodate: Copyright 2009, Gerhard Weis. All rights reserved.
[License](https://opensource.org/licenses/BSD-3-Clause)

lxml: Copyright 2004-2022 Ifrae.
[License](https://github.com/lxml/lxml/blob/master/LICENSES.txt)

matplotlib:
[Copyright](https://matplotlib.org/stable/users/project/license.html)
[License](https://github.com/matplotlib/matplotlib/blob/main/LICENSE/LICENSE)

numpy: Copyright (c) 2005-2022, NumPy Developers. All rights reserved.
[License](https://numpy.org/doc/stable/license.html)

openpyxl Copyright (c) 2010 openpyxl
[License](https://github.com/fluidware/openpyxl/blob/master/LICENCE)

Pillow: Copyright © 2010-2022 by Alex Clark and contributors
[License](https://github.com/python-pillow/Pillow/blob/main/LICENSE)

pycountry: Copyright (c) 2008-2015 gocept gmbh & co. kg
[License](https://pypi.org/project/gocept.country/)

PyParsing: Copyright © 2003-2022 Paul McGuire.
[License](https://github.com/pyparsing/pyparsing/blob/master/LICENSE)

rdflib: Copyright (c) 2002-2021, RDFLib Team. All rights reserved.
[License](https://opensource.org/licenses/BSD-3-Clause)

regex: Copyright (c) 1998-2001 by Secret Labs AB.
[License](https://github.com/mrabarnett/mrab-regex/blob/hg/LICENSE.txt)

tornado: Copyright 2009 Facebook
[License](https://github.com/tornadoweb/tornado/blob/master/LICENSE)

## Operation with GUI

Bottle: © Copyright 2009-2022, Marcel Hellkamp
[License](https://bottlepy.org/docs/dev/)

TkTable: Copyright 1997-2002, Jeffrey Hobbs
[License](https://github.com/nbro/tktable/blob/master/LICENSE.md)

## Operations using Database

pg8000: Copyright (c) 2007-2009, Mathieu Fenniak. All rights reserved.
[License](https://opensource.org/licenses/BSD-3-Clause)

pymysql: Copyright (c) 2010, 2013 PyMySQL contributors
[License](https://opensource.org/licenses/MIT)

pyodbc: No copyright.
[License](https://github.com/mkleehammer/pyodbc/blob/master/LICENSE.txt)

## Plug-in Modules

Arelle includes plug-in modules which end-users may activate, some have
author-specific licensing terms noted in each `__init__.py` header and
`__pluginInfo__` structure.

For example, modules contributed by or maintained by U.S. SEC have a copyright
notice "{module} was created by staff of the U.S. Securities and Exchange
Commission. Data and content created by government employees within the scope of
their employment are not subject to domestic copyright protection. 17 U.S.C. 105."
