Plug Desk

Open-source licences

Plug Desk is built with these open-source parts. Each one is used under its own licence, which is named beside it; the font licences are printed in full below.

Plug Desk and Plug Connector on the office computer

  • Python 3 (the embedded runtime) PSF-2.0runs Plug on the office computer
    • OpenSSL Apache-2.0
    • libffi MIT
    • SQLite Public domain
    • bzip2 bzip2-1.0.6
    • xz (liblzma) 0BSD
    • Expat MIT
    • zlib Zlib
    • mpdecimal BSD-2-Clause
    • Microsoft C runtime (vcruntime140) Microsoft Visual C++ Redistributable
  • annotated-doc MITneeded by fastapi
  • annotated-types MITneeded by pydantic
  • anthropic MITthe AI that reads bills and chat
  • anyio MITneeded by starlette
  • certifi MPL-2.0needed by httpx
  • cffi MIT-0needed by cryptography
  • charset-normalizer MITneeded by reportlab
  • click BSD-3-Clauseneeded by uvicorn
  • colorama BSD-3-Clauseneeded by qrcode
  • cryptography Apache-2.0 OR BSD-3-Clausesignatures, certificates and locked settings
    • OpenSSL Apache-2.0
  • docstring_parser MITneeded by anthropic
  • fastapi MITthe office computer's web server
  • h11 MITneeded by uvicorn
  • httpcore BSD-3-Clauseneeded by httpx
  • httpcore2 BSD-3-Clauseneeded by httpx2
  • httpx BSD-3-Clausetalking to Plug's server and the AI
  • httpx2 BSD-3-Clauseneeded by anthropic
  • idna BSD-3-Clauseneeded by anyio
  • jiter MITneeded by anthropic
  • numpy BSD-3-Clausephoto straightening
    • OpenBLAS BSD-3-Clause
    • libgfortran, libquadmath (in OpenBLAS) GPL-3.0 with the GCC Runtime Library Exception
    • Microsoft C++ runtime (msvcp140) Microsoft Visual C++ Redistributable
  • opencv-python-headless Apache-2.0photo straightening
    • FFmpeg (opencv_videoio_ffmpeg) LGPL-2.1-or-later
    • libwebp BSD-3-Clause
    • libjpeg-turbo IJG and BSD-3-Clause
    • libspng BSD-2-Clause
    • OpenJPEG BSD-2-Clause
    • libtiff libtiff
    • Protobuf BSD-3-Clause
    • Flatbuffers Apache-2.0
    • quirc ISC
    • Intel IPP ICV Apache-2.0
    • Vulkan headers Apache-2.0
  • opentelemetry-api Apache-2.0needed by fastapi
  • packaging Apache-2.0 OR BSD-2-Clauseneeded by pytesseract
  • pi_heif BSD-3-Clausereading iPhone photos (HEIC), read-only
    • libheif LGPL-3.0
    • libde265 LGPL-3.0
    • MinGW-w64 runtime: libgcc, libstdc++ GPL-3.0 with the GCC Runtime Library Exception
    • MinGW-w64 runtime: libwinpthread MIT and BSD
  • pillow MIT-CMUpictures
    • brotli MIT
    • FreeType FreeType License (FTL), chosen of its two
    • HarfBuzz MIT
    • Little CMS (lcms2) MIT
    • libavif BSD-2-Clause
    • libjpeg-turbo IJG and BSD-3-Clause
    • libpng libpng-2.0
    • libwebp BSD-3-Clause
    • OpenJPEG BSD-2-Clause
    • libtiff libtiff
    • xz (liblzma) 0BSD
    • zlib-ng Zlib
  • pycparser BSD-3-Clauseneeded by cffi
  • pydantic MITneeded by fastapi
  • pydantic_core MITneeded by pydantic
  • pypdf BSD-3-Clausereading PDF bills and statements
  • pystray LGPL-3.0Plug Connector's icon in the tray
  • pytesseract Apache-2.0reading printed text on this computer
  • python-multipart Apache-2.0receiving uploaded files
  • qrcode BSD-3-ClauseQR codes on invoices
  • RapidFuzz MITmatching names
    • Microsoft C++ runtime (msvcp140) Microsoft Visual C++ Redistributable
  • reportlab BSD-3-ClausePDF invoices and reports
  • six MITneeded by pystray
  • sniffio MIT OR Apache-2.0needed by anthropic
  • starlette BSD-3-Clauseneeded by fastapi
  • truststore MITneeded by httpcore2
  • typing-inspection MITneeded by pydantic
  • typing_extensions PSF-2.0needed by anyio
  • uharfbuzz Apache-2.0Hindi letters in PDFs
    • HarfBuzz MIT
  • uvicorn BSD-3-Clausethe office computer's web server
  • xlrd BSD-3-Clauseold Excel bank statements
  • zxing-cpp Apache-2.0reading e-invoice QR codes
    • ZXing-C++ Apache-2.0

The installers (PlugDeskSetup and PlugConnectorSetup)

  • Python 3 (the embedded runtime) PSF-2.0runs the installer
    • OpenSSL Apache-2.0
    • libffi MIT
    • SQLite Public domain
    • bzip2 bzip2-1.0.6
    • xz (liblzma) 0BSD
    • Expat MIT
    • zlib Zlib
    • mpdecimal BSD-2-Clause
    • Microsoft C runtime (vcruntime140) Microsoft Visual C++ Redistributable
  • cffi MIT-0needed by cryptography
  • cryptography Apache-2.0 OR BSD-3-Clausesignatures, certificates and locked settings
    • OpenSSL Apache-2.0
  • pycparser BSD-3-Clauseneeded by cffi

Fonts - in the program, the phone app, Plug Connector and the website

  • Inter 4.1 OFL-1.1the letters on every screen (rsms/inter, its official release)
  • DM Serif Display OFL-1.1headings

The map in Field sales (from Plug's own server in Mumbai)

  • OpenStreetMap data (India) ODbL-1.0the map in Field sales - © OpenStreetMap contributors, on every map

Each part's own licence text is installed beside it in Plug's program folder (python\Lib\site-packages\<part>.dist-info). The LGPL parts are separate files that can be replaced. The website and the phone app's sign-up pages use no outside code - only the two fonts.

Inter 4.1 - SIL Open Font License 1.1

Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

DM Serif Display - SIL Open Font License 1.1

Copyright 2014-2018 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries. Copyright 2019 Google LLC.

This Font Software is licensed under the SIL Open Font License, Version 1.1.

This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Chat with us