Showing preview only (6,673K chars total). Download the full file or copy to clipboard to get everything.
Repository: bk1285/rpi_wordclock
Branch: main
Commit: d03fca12629c
Files: 169
Total size: 6.3 MB
Directory structure:
gitextract_znmu2q1n/
├── .gitignore
├── LICENSE
├── README.md
├── create_layout.py
├── docs/
│ ├── Makefile
│ ├── _config.yml
│ ├── conf.py
│ ├── doc_further_reading.rst
│ ├── doc_general_considerations.rst
│ ├── doc_hardware_setup.rst
│ ├── doc_software_setup.rst
│ ├── doc_troubleshooting.rst
│ ├── index.rst
│ └── wiring.odp
├── fontdemo.py
├── requirements.txt
├── wordclock.py
├── wordclock_config/
│ └── wordclock_config.reference.cfg
├── wordclock_interfaces/
│ ├── __init__.py
│ ├── event_handler.py
│ ├── gpio_interface.py
│ ├── static/
│ │ ├── fontawesome-free-5.1.0-web/
│ │ │ ├── LICENSE.txt
│ │ │ ├── css/
│ │ │ │ ├── all.css
│ │ │ │ ├── brands.css
│ │ │ │ ├── fontawesome.css
│ │ │ │ ├── regular.css
│ │ │ │ ├── solid.css
│ │ │ │ ├── svg-with-js.css
│ │ │ │ └── v4-shims.css
│ │ │ ├── js/
│ │ │ │ ├── all.js
│ │ │ │ ├── brands.js
│ │ │ │ ├── fontawesome.js
│ │ │ │ ├── regular.js
│ │ │ │ ├── solid.js
│ │ │ │ └── v4-shims.js
│ │ │ ├── less/
│ │ │ │ ├── _animated.less
│ │ │ │ ├── _bordered-pulled.less
│ │ │ │ ├── _core.less
│ │ │ │ ├── _fixed-width.less
│ │ │ │ ├── _icons.less
│ │ │ │ ├── _larger.less
│ │ │ │ ├── _list.less
│ │ │ │ ├── _mixins.less
│ │ │ │ ├── _rotated-flipped.less
│ │ │ │ ├── _screen-reader.less
│ │ │ │ ├── _shims.less
│ │ │ │ ├── _stacked.less
│ │ │ │ ├── _variables.less
│ │ │ │ ├── fa-brands.less
│ │ │ │ ├── fa-regular.less
│ │ │ │ ├── fa-solid.less
│ │ │ │ ├── fontawesome.less
│ │ │ │ └── v4-shims.less
│ │ │ ├── metadata/
│ │ │ │ ├── categories.yml
│ │ │ │ ├── icons.json
│ │ │ │ ├── icons.yml
│ │ │ │ ├── shims.json
│ │ │ │ ├── shims.yml
│ │ │ │ └── sponsors.yml
│ │ │ └── scss/
│ │ │ ├── _animated.scss
│ │ │ ├── _bordered-pulled.scss
│ │ │ ├── _core.scss
│ │ │ ├── _fixed-width.scss
│ │ │ ├── _icons.scss
│ │ │ ├── _larger.scss
│ │ │ ├── _list.scss
│ │ │ ├── _mixins.scss
│ │ │ ├── _rotated-flipped.scss
│ │ │ ├── _screen-reader.scss
│ │ │ ├── _shims.scss
│ │ │ ├── _stacked.scss
│ │ │ ├── _variables.scss
│ │ │ ├── fa-brands.scss
│ │ │ ├── fa-regular.scss
│ │ │ ├── fa-solid.scss
│ │ │ ├── fontawesome.scss
│ │ │ └── v4-shims.scss
│ │ ├── js/
│ │ │ ├── scripts.js
│ │ │ ├── vue-resource.js
│ │ │ └── vuetify.js
│ │ ├── material-design-icons/
│ │ │ └── iconfont/
│ │ │ ├── MaterialIcons-Regular.ijmap
│ │ │ ├── README.md
│ │ │ ├── codepoints
│ │ │ └── material-icons.css
│ │ ├── style.css
│ │ └── styles.css
│ ├── templates/
│ │ └── app.html
│ └── web_interface.py
├── wordclock_layouts/
│ └── wordclock_sceleton/
│ ├── LED-Base--LED-Mount-BL.stl
│ ├── LED-Base--LED-Mount-BM.stl
│ ├── LED-Base--LED-Mount-BR.stl
│ ├── LED-Base--LED-Mount-ML.stl
│ ├── LED-Base--LED-Mount-MM-Bot.stl
│ ├── LED-Base--LED-Mount-MM-Top.stl
│ ├── LED-Base--LED-Mount-MR.stl
│ ├── LED-Base--LED-Mount-TL.stl
│ ├── LED-Base--LED-Mount-TM.stl
│ └── LED-Base--LED-Mount-TR.stl
├── wordclock_plugins/
│ ├── __init__.py
│ ├── feed_parser/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── ip_address/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── leds_off/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── matrix/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── rainbow/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── restart/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── shutdown/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── snake/
│ │ ├── Snakeobject.py
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── sunrise/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── test_strip/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── tetris/
│ │ ├── __init__.py
│ │ ├── brick.py
│ │ └── plugin.py
│ ├── time_as_words_dutch/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_as_words_dutch.py
│ ├── time_as_words_german/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_as_words_german.py
│ ├── time_default/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ ├── time_bavarian.py
│ │ ├── time_dutch.py
│ │ ├── time_dutch_10-9.py
│ │ ├── time_english.py
│ │ ├── time_french.py
│ │ ├── time_german.py
│ │ ├── time_german2.py
│ │ ├── time_italian.py
│ │ ├── time_romanian.py
│ │ ├── time_swabian.py
│ │ ├── time_swabian2.py
│ │ ├── time_swedish.py
│ │ ├── time_swiss_german.py
│ │ └── time_swiss_german2.py
│ ├── time_in_seconds/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_seconds.py
│ ├── time_matrix/
│ │ ├── __init__.py
│ │ └── plugin.py
│ └── weather_forecast/
│ ├── __init__.py
│ └── plugin.py
├── wordclock_tools/
│ ├── __init__.py
│ ├── wiring.py
│ ├── wordclock_colors.py
│ ├── wordclock_config.py
│ ├── wordclock_display.py
│ ├── wordclock_interface.py
│ ├── wordclock_screen.py
│ ├── wordclock_strip_base.py
│ ├── wordclock_strip_neopixel.py
│ └── wordclock_strip_wx.py
└── wordclock_webinterface/
├── __init__.py
├── css/
│ ├── bootstrap-theme.css
│ ├── bootstrap.css
│ └── wordclock-theme.css
├── index.html
├── js/
│ └── fastclick.js
└── web_interface.py
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
# ignore pyc-files
*.pyc
# ignore build of documentation (to build latest documentation on your own)
doc/_build*
doc/_apidoc/*
# ignore highlighted files: no checkin
*NOCI*
# ignore individual config-files
wordclock_config/wordclock_config.cfg
# ignore swap-files
*.swp
# ignore vscode-files
.vscode/*
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
RPi Wordclock Copyright (C) 2015 Bernd Krolla
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
## Software to create a Raspberry Pi based wordclock
### :vertical_traffic_light: Repo status
<p align="left">
<img alt="Source code license" src="https://img.shields.io/badge/license-GPL--3.0-informational"/>
<img alt="GitHub Issue Count" src="https://img.shields.io/github/issues/bk1285/rpi_wordclock"/>
<img alt="Build status documentation" src="https://readthedocs.org/projects/rpi-wordclock/badge/"/>
</p>
### ✔️ Features
* [Various language layouts](https://github.com/bk1285/rpi_wordclock/tree/master/wordclock_layouts)
* [Various plugins](https://github.com/bk1285/rpi_wordclock/tree/master/wordclock_plugins) to
* display the current time
* get information on current temperature, sunrise, sunset, IP-settings, ...
* play tetris (credits to [@mrksngl](https://github.com/mrksngl))
* View a demo [here](https://youtu.be/wcLQDykRBbM?t=84)
* RESTful, [swagger](https://swagger.io/specification/)-based API to access and control the wordclock functionality
* [Documentation](https://rpi-wordclock.readthedocs.io/en/main/) on how to build the clock.
* Remote control via webinterface (credits to [@FrankX0](https://github.com/FrankX0))
* Control the wordclock with a browser within your local network
* Linking the webinterface to your smartphones homescreen provides an app-like usage of the interface
* Hardware buttons are not mandatory anymore.
* Integration to your instance of [home-assistant](https://www.home-assistant.io/) using [this repository](https://github.com/bk1285/rpi_wordclock_for_homeassistant/)
* Support for a brightness sensor (TSL2561)
### :books: Further reading
* Exemplary builds are available at [pinterest](https://www.pinterest.de/berndkrolla/wordclock-gallery/)
* [Roadmap](https://github.com/bk1285/rpi_wordclock/projects)
### 👏 Support
* Star this repo, if you like the project.
* Request a new feature by [opening a issue](https://github.com/bk1285/rpi_wordclock/issues), describing your feature request.
* Contribute your code: [Learn how to create your own plugin](https://rpi-wordclock.readthedocs.io/en/master/doc_further_reading.html#adding-a-new-plugin)
================================================
FILE: create_layout.py
================================================
import ast
import configparser
import getopt
import os
import svgwrite
import sys
import wordclock_tools.wiring as wiring
def searchInWCA(wcl, index):
for i in range(wcl.WCA_WIDTH):
for j in range(wcl.WCA_HEIGHT):
if wcl.getStripIndexFrom2D(i, j) == index:
return i, j
return None
def searchInMinutes(wcl, index):
for i in [1, 2, 3, 4]:
if wcl.mapMinutes(i) == index:
return i
print('Mapping error for minute: Index: ' + str(index))
return None
def get_letter_coords(wca_top_left, x, x_spacing, y, y_spacing, side, col_num):
if side == 'front':
return wca_top_left[0] + x * x_spacing, wca_top_left[1] + y * y_spacing
elif side == 'back':
return wca_top_left[0] + (col_num - x - 1) * x_spacing, wca_top_left[1] + y * y_spacing
def get_min_coords(width, height, minute_margin, min_num, side):
if (side == 'front' and min_num == 1) or (side == 'back' and min_num == 2):
return minute_margin, minute_margin
elif (side == 'front' and min_num == 2) or (side == 'back' and min_num == 1):
return width - minute_margin, minute_margin
elif (side == 'front' and min_num == 3) or (side == 'back' and min_num == 4):
return minute_margin, height - minute_margin
elif (side == 'front' and min_num == 4) or (side == 'back' and min_num == 3):
return width - minute_margin, height - minute_margin
else:
print('ERROR: Invalid ' + str(min_num))
def create_svg(lang, config, side='front', mode='stencil'):
if not mode == 'stencil':
wiring_type = config.get('wordclock_display', 'wiring_layout')
else:
wiring_type = ''
outpt_file = mode + '_' + side + '_' + wiring_type + '.svg'
print('Rendering ' + outpt_file + '...')
print(' Side .........: ' + side)
print(' Mode .........: ' + mode)
content = ast.literal_eval(config.get('language_options', lang))
print(' Language .....: ' + lang)
font_type = config.get('stencil_parameter', 'font_type')
print(' Font-type.....: ' + font_type)
font_size = config.get('stencil_parameter', 'font_size')
print(' Font-size.....: ' + font_size)
height = float(config.get('stencil_parameter', 'height'))
print(' Height .......: ' + str(height) + 'mm')
width = float(config.get('stencil_parameter', 'width'))
print(' Width ........: ' + str(width) + 'mm')
wca_height = float(config.get('stencil_parameter', 'wca_height'))
print(' Wca height ...: ' + str(wca_height) + 'mm')
wca_width = float(config.get('stencil_parameter', 'wca_width'))
print(' Wca width ....: ' + str(wca_width) + 'mm')
row_num = len(content)
print(' Wca rows .....: ' + str(row_num))
col_num = len(content[0].decode('utf-8'))
print(' Wca columns ..: ' + str(col_num))
minute_margin = float(config.get('stencil_parameter', 'minute_margin'))
minute_diameter = float(config.get('stencil_parameter', 'minute_diameter'))
rm = minute_diameter / 2
# Create directory to store layout
file_dir = os.path.join('wordclock_layouts', lang + '_' + str(col_num) + 'x' + str(row_num))
if not os.path.exists(file_dir):
os.makedirs(file_dir)
full_path = os.path.join(file_dir, outpt_file)
# Set colors
if mode == 'stencil':
fg = 'rgb(255,255,255)'
bg = 'rgb(0,0,0)'
else:
fg = 'rgb(0,0,0)'
bg = 'rgb(255,255,255)'
# Generate header
layout = svgwrite.Drawing(full_path,
size=(str(width) + 'mm', str(height) + 'mm'), \
viewBox=('0 0 ' + str(width) + ' ' + str(height)))
# Assure set background-color to bg
layout.add(layout.rect(insert=(0, 0),
size=('100%', '100%'), rx=None, ry=None, fill=bg))
# Create layout-group for text
text_layout = layout.g(style=
'text-anchor:middle;'
'fill:' + fg + ';'
'font-family:' + font_type + ';'
'font-size:' + str(
font_size if mode == 'stencil' else 6))
# Process letters
wca_top_left = [(width - wca_width) / 2, (height - wca_height) / 2]
x_coords = list(range(0, col_num, 1))
y_coords = list(range(0, row_num, 1))
x_spacing = wca_width / (col_num - 1)
y_spacing = wca_height / (row_num - 1)
# Additional steps to prepare the plotting of the wiring layout
x_sub_spacing = x_spacing / 5.0
y_sub_spacing = y_spacing / 5.0
wca_index_1d = 0
# Add annotations
if not mode == 'stencil':
layout.add(layout.text(lang + ' --- ' + side + '-view --- ' + wiring_type, insert=(width / 2, minute_margin),
style='text-anchor:middle;'
'fill:rgb(0,255,0);'
'font-family:' + font_type + ';'
'font-size: 10'))
# Add the wiring according to the chosen wiring layout
if mode == 'wiring':
wcl = wiring.wiring(config)
led_count = col_num * row_num + 4
for i in range(0, led_count - 1):
# Draw wiring from start ...
wire_start = searchInWCA(wcl, i)
if wire_start is not None:
coords_start = get_letter_coords(wca_top_left, wire_start[0], x_spacing, wire_start[1], y_spacing, side,
col_num)
else:
wire_start = searchInMinutes(wcl, i)
coords_start = get_min_coords(width, height, minute_margin, wire_start, side)
# ... to end
wire_end = searchInWCA(wcl, i + 1)
if wire_end is not None:
coords_end = get_letter_coords(wca_top_left, wire_end[0], x_spacing, wire_end[1], y_spacing, side,
col_num)
else:
wire_end = searchInMinutes(wcl, i + 1)
coords_end = get_min_coords(width, height, minute_margin, wire_end, side)
text_layout.add(
layout.line((coords_start[0], coords_start[1]), (coords_end[0], coords_end[1]), stroke='rgb(255,0,0)'))
# Draw characters
for y in y_coords:
for x in x_coords:
coords = get_letter_coords(wca_top_left, x, x_spacing, y, y_spacing, side, col_num)
if mode == 'stencil':
# Write only characters
text_layout.add(layout.text((content[y].decode('utf-8')[x]),
insert=(coords[0], coords[1] + float(font_size) / 2.0)))
else:
# Write characters (top left)
coords_tl = coords[0] - x_sub_spacing, coords[1] - y_sub_spacing
text_layout.add(layout.text((content[y].decode('utf-8')[x]), insert=coords_tl))
# Write 1D coordinate (top right)
coords_tr = coords[0] + x_sub_spacing, coords[1] - y_sub_spacing
text_layout.add(layout.text(str(wca_index_1d), insert=coords_tr))
# Write 2D coordinate (bottom left)
coords_bl = coords[0] - x_sub_spacing, coords[1] + y_sub_spacing
text_layout.add(layout.text(('(' + str(x) + "," + str(y) + ')'), insert=coords_bl))
# Placeholder for bottom-left
# coords_br = coords[0]+x_sub_spacing, coords[1]+y_sub_spacing
# text_layout.add(layout.text((content[y].decode('utf-8')[x]), insert = coords_br, fill=fg, style='text-anchor: middle'))
# Add cross
text_layout.add(
layout.line((coords[0], coords[1] - y_sub_spacing), (coords[0], coords[1] + y_sub_spacing),
stroke=fg))
text_layout.add(
layout.line((coords[0] - x_sub_spacing, coords[1]), (coords[0] + x_sub_spacing, coords[1]),
stroke=fg))
wca_index_1d += 1
# Process minutes
for min_num in [1, 2, 3, 4]:
min_coords = get_min_coords(width, height, minute_margin, min_num, side)
if mode == 'stencil':
text_layout.add(layout.circle(
center=min_coords,
r=rm, fill=fg)
)
else:
text_layout.add(layout.text(str(min_num),
insert=(min_coords[0] - x_sub_spacing, min_coords[1] - y_sub_spacing),
fill=fg)
)
text_layout.add(layout.line((min_coords[0], min_coords[1] - y_sub_spacing),
(min_coords[0], min_coords[1] + y_sub_spacing), stroke=fg))
text_layout.add(layout.line((min_coords[0] - x_sub_spacing, min_coords[1]),
(min_coords[0] + x_sub_spacing, min_coords[1]), stroke=fg))
# Add connection to RPi at minute number 4
# Since minute number 4 is specific for 'bernds_wiring', we check here, if this is the current wiring type
if not mode == 'stencil' and wiring_type == 'bernds_wiring':
min_num = 4
min_coords = get_min_coords(width, height, minute_margin, min_num, side)
text_layout.add(layout.line((min_coords[0], min_coords[1]),
(min_coords[0] + 5 * x_sub_spacing * (-1 if side == 'front' else 1), min_coords[1]),
stroke='rgb(255,0,0)'))
coords_rpi = min_coords[0] + 6 * x_sub_spacing * (-1 if side == 'front' else 1), min_coords[1]
text_layout.add(layout.text('Connect here to power supply and Raspberry.', insert=coords_rpi,
style=('text-anchor:end;' if side == 'front' else 'text-anchor:start')))
# Fuse layouts
layout.add(text_layout)
# Saving svg-file
layout.save()
print('Saved ' + full_path + '.')
def main():
try:
opts, args = getopt.getopt(sys.argv[1:], 'ahc:', ['all', 'help', 'config='])
except getopt.GetoptError as err:
print(str(err))
sys.exit(2)
configFile = 'wordclock_config/wordclock_config.example.cfg'
process_all = False
for o, a in opts:
if o in ('-a', '--all'):
process_all = True
elif o in ('-c', '--config'):
configFile = a
elif o in '-h':
print('Provide config-file using -c option')
print('Process all layouts using -a option')
sys.exit(0)
else:
assert False, 'unhandled option'
print('Using ' + configFile + ' to parse configuration.')
print('Use\n\t' + str(sys.argv[0]) + ' -c "config-file"\nto change')
cfg = configparser.ConfigParser()
cfg.read(configFile)
if process_all:
all_languages = cfg.options('language_options')
else:
all_languages = [cfg.get('wordclock_display', 'language')]
for lang in all_languages:
print('Processing layouts for ' + str(lang) + '.')
create_svg(lang, cfg, side='front', mode='stencil')
create_svg(lang, cfg, side='front', mode='wiring')
create_svg(lang, cfg, side='back', mode='wiring')
if __name__ == '__main__':
main()
================================================
FILE: docs/Makefile
================================================
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
clean:
-rm -rf $(BUILDDIR)/*
html:
which sphinx-apidoc
sphinx-apidoc -o _apidoc ..
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/wordclock_for_rpi.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/wordclock_for_rpi.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/wordclock_for_rpi"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/wordclock_for_rpi"
@echo "# devhelp"
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."
info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
================================================
FILE: docs/_config.yml
================================================
theme: jekyll-theme-architect
================================================
FILE: docs/conf.py
================================================
# -*- coding: utf-8 -*-
#
# wordclock_for_rpi documentation build configuration file, created by
# sphinx-quickstart on Sun Nov 30 00:50:53 2014.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.viewcode']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
# The encoding of source files.
#source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'wordclock_for_rpi'
copyright = u'2014-2021, Bernd Krolla'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.0.1'
# The full version, including alpha/beta/rc tags.
release = '0.0.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}
# If false, no module index is generated.
#html_domain_indices = True
# If false, no index is generated.
#html_use_index = True
# If true, the index is split into individual pages for each letter.
#html_split_index = False
# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'wordclock_for_rpidoc'
# -- Options for LaTeX output --------------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'wordclock_for_rpi.tex', u'wordclock\\_for\\_rpi Documentation',
u'Bernd Krolla', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# If true, show page references after internal links.
#latex_show_pagerefs = False
# If true, show URL addresses after external links.
#latex_show_urls = False
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
#latex_domain_indices = True
# -- Options for manual page output --------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'wordclock_for_rpi', u'wordclock_for_rpi Documentation',
[u'Bernd Krolla'], 1)
]
# If true, show URL addresses after external links.
#man_show_urls = False
# -- Options for Texinfo output ------------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'wordclock_for_rpi', u'wordclock_for_rpi Documentation',
u'Bernd Krolla', 'wordclock_for_rpi', 'One line description of project.',
'Miscellaneous'),
]
# Documents to append as an appendix to all manuals.
#texinfo_appendices = []
# If false, no module index is generated.
#texinfo_domain_indices = True
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
================================================
FILE: docs/doc_further_reading.rst
================================================
.. _further_reading:
Further reading
===============
.. _concepts:
Concepts and background
+++++++++++++++++++++++
.. _concept_WCA:
* WCA (Word Clock Array): The center matrix, without minute-LEDs and other stuff
.. _concept_WCA_DIMENSION:
* WCA_WIDTH, WCA_HEIGHT: Height and width of the WCA.
* Part of the wordclock software are png-files, which need to fit to these values.
* Currently available: 11x10 png-files.
* Support for wordclocks with other resolution available (untested).
.. _concept_WCD:
* WCD (Word Clock Display): Includes any led attached to the wordclock (such as minutes, possible/future ambilights/etc.)
.. _concept_coordinate:
* Coordinates (or: WCA-coordinates): Can be 1d or 2d, used to adress a LED on the word clock array
.. _concept_index:
* Index (or: strip index): Used to adress a LED depending on the position on the LED-strip
.. _expanding_the_wordclock:
Expanding the functionality of the wordclock
++++++++++++++++++++++++++++++++++++++++++++
Remote control of the wordclock
-------------------------------
The wordclock comes with a REST-API to control the major functionality of the clock.
To access the API documentation, visit::
http://wordclock-ip/api
Adding a new plugin
-------------------
You might be interested in expanding the wordclocks functionality by adding a new
plugin to the wordclock
To do so, you need to...
* Think about the name of this plugin: E.g. `new_stuff`
* Add a new folder `new_stuff` to the folder wordclock_plugins
* Create a plugin.py-file with a class `plugin`, which has at
least the following functions implemented:
* __init__(self, config): You can use the config-object to pass data
from the config-file for initialization purposes
* run(): Run the actual plugin
* For the actual implementation, you can access the provided methods of the class `wordclock_display`
* If necessary you might extend it... ;)
* Add an icon (with resolution 11x10 pixel) for the new plugin to the
directory wordclock_plugins/`new_stuff`/icons/11x10/`logo.png`
* Add a section `[plugin_new_stuff]` to the reference config-file (wordclock_config/wordclock_config.reference.cfg) and store there all necessary config-values in a way that they are suitable for all wordclock users by default and out of the box.
* Even consider disableing your plugin by default..
* Disabling is mandatory, if additional hardware is required to run the plugin.
* Add the same section `[plugin_new_stuff]` to your local config-file (wordclock_config/wordclock_config.cfg), holding the (custom) values you want to have setup for your own clock.
* Your plugin will extract config values from wordclock_config.cfg first. If they are not set their, it will default to wordclock_config.reference.cfg
* Document everything properly, so that others (and maybe you as well) can later understand it... ;)
* Commit your changes using git and consider to create a pull-request at https://www.github.com/bk1285/rpi_wordclock
* Consider, that this repository uses nvie's branching model: http://nvie.com/posts/a-successful-git-branching-model/
================================================
FILE: docs/doc_general_considerations.rst
================================================
.. _general_considerations:
General considerations
======================
.. _building_a_wordclock:
If you want to build a wordclock
++++++++++++++++++++++++++++++++
.. note:: This project is currently still in an experimental state:
* The documentation contains the main steps to build a wordclock, but might not guide you through all steps in greatest detail
* Depending on your language-dependent stencil-layout, you might need to adapt the software.
Feel free to contribute here!
Currently available:
* Stancil layout and software:
* german (including swabian and bavarian: Thanks to Timo and Euchkatzl)
* english (Thanks to Alexandre)
* dutch (Thanks to svenjacobi, resolution is 10x9. Therefore, not all plugins are supported!)
* swiss
* french
* romanian (Thanks to Darius)
* swedish
* Stancil layout only (requiring some python-implementations: See wordclock_plugins/time_default):
* italian
* spanish
* turkish
* Further languages/stencil layouts can be created using the ''config-file'' and the script ''create_layout.py''
* A final note: Throughout this project, you will assemble electronic components, which can possibly harm you or others (or destroy your hardware).
It's therefore important, that you know, what you are doing: By assembling this clock, you act on your own risk!
* Hardware requirements:
* A (wooden) sceleton to hold LEDs, stencil, RPi, etc...
* A stencil providing the letters
* Find an overview over the different layouts here: https://github.com/bk1285/rpi_wordclock/tree/master/wordclock_layouts
* You can create them on your own: Special plotters can produce adhesive stencils, which you can glue onto a glas plane.
* Consider, that you might need to invert the layout to have the adhesive surface on top to attach to the glas plate.
* Possible options for ordering a stencil are:
* https://www.ponoko.com/ (thanks to StefanCarton).
* http://www.mikrocontroller.net/articles/Word_Clock (thanks to euchkatzl)
* Further reading:
* http://diskussion.christians-bastel-laden.de/viewforum.php?f=12&sid=b90281d4a392f47503e9b9fc15495b19
* A frame to enframe the wordclock
* Possible materials: Wood, alumnium, etc.
* A LED-strip running at 5V (e.g. WS2812 B Stripe 5m 150 LED)
* Assure, that the spacing of the LEDs on the strip is equal or greater than the spacing of the letters
of your stencil. If the spacing is smaller, you will not be able to get your LEDs into the correct position.
* A Raspberry Pi (e.g. Review B, including SD-card)
* A wifi-dongle to connect your RPi wireless to your local network
* A power supply (e.g. 5V 10A 50W LED Power Supply)
* 5V are required. The current, which needs to be provided at max depends on the number and power consumption of you LEDs.
* A user-interface to run the wordclock
* e.g. 3 buttons (each requiring a 1k and a 10k resistor)
* e.g. a capacitive touch sensor
* ...
* Some plugs to connect cables to the Raspberry Pis GPIO-pins
* A micro-usb cable to connect the Raspberry Pi to the power supply
* Optional: Hardware for levelshifting as oulined in https://learn.adafruit.com/neopixels-on-raspberry-pi/wiring and http://youtu.be/V9TwvranJnY?t=23m08s
* Optional: A temperature sensor like an AM2302. To connect the sensor, an additial 10k resistor is required.
* You need to setup the software on your own
* Some first documentation available here
* This might require some python programming (to adopt the software to your needs)
* You should be ready to...
* Setup the hardware (glueing, soldering, etc.)
* Consider double connectors, if you want to minimize soldering efforts: https://github.com/bk1285/rpi_wordclock/issues/118
* Setup a Raspberry Pi (raspbian)
* Connect to the RPi via ssh
* Install external dependencies of the wordclock project
* Do some python programming (to adopt the software to your needs)
* Contribute to this project
* by sharing your implementations/improvements/enhancements/... ;)
================================================
FILE: docs/doc_hardware_setup.rst
================================================
.. _hardware_setup:
.. _hardware_setup_steps:
Hardware setup
==============
.. _skeleton_setup:
Skeleton setup
++++++++++++++
.. figure:: _images/drilling.jpg
:scale: 40%
:alt: Drilling
According to the stencil layout, for each LED a hole needs to be prepared. The total number of 114 holes makes this pretty tedious.
.. figure:: _images/sawing.jpg
:scale: 40%
:alt: Sawing
To place the Raspberry Pi within the skeleton, some sawing is required...
.. _led_setup:
LED setup
+++++++++
.. figure:: _images/after_soldering.jpg
:scale: 40%
:alt: After Soldering
After soldering the LED strip, the clock looks like this. The soldering needs to be done according to the wiring layout. E.g. based on 11*10 letters:
.. _exemplary_wiring:
.. _concept_exemplary_wiring_layout:
.. figure:: _images/wiring_front_bernds_wiring.png
:scale: 25 %
:alt: Examplary wiring layout (front side)
Further wiring layouts are `available <https://github.com/bk1285/rpi_wordclock/tree/master/wordclock_layouts>`_. Assure to connect the LED strip in the right direction. Little arrows indicate that along the strip.
.. _rpi_setup:
Raspberry Pi setup
++++++++++++++++++
.. figure:: _images/software_update.jpg
:scale: 40%
:alt: Software Update
Before you mount your raspberry inside the clock, install the latest Raspbian, connect it to your local wifi and ensure that you can ssh to it.
.. _button_setup:
Button setup
++++++++++++
.. figure:: _images/components.jpg
:scale: 40%
:alt: Components
At this stage, the displayed components are required for the further setup.
.. figure:: _images/wiring.png
:scale: 40%
:alt: Wiring concept
Conceptual wiring layout to connect RPi, buttons, etc. See also `Power connectors <https://en.wikipedia.org/wiki/Coaxial_power_connector>`_, `USB-Pinouts <https://en.wikipedia.org/wiki/USB#Pinouts>`_
.. figure:: _images/wiring_detail.jpg
:scale: 40%
:alt: Wiring detail
The connection of buttons, LED strip and power brings the wordclock close to its final hardware configuration.
.. _exemplary_button_wiring:
.. figure:: _images/wiring_button.jpg
:scale: 40%
:alt: Wiring button
Buttons with attached resistors. The center button has already its final tip.
.. _stancil_setup:
Stancil setup
+++++++++++++
.. figure:: _images/stancil_setup_01.jpg
:scale: 40%
:alt: Stancil setup 01
Fixation of 4 screws within the 4 corners of the stancil using two-component adhesive.
.. figure:: _images/stancil_setup_02.jpg
:scale: 40%
:alt: Stancil setup 02
Allows to fix the stancil with screw-nuts to the sceleton.
.. figure:: _images/stancil_setup_03.jpg
:scale: 40%
:alt: Stancil setup 03
To increase stability, consider an overlapping of the frame to hold the major weight of the stancil.
.. _final_clock:
Final clock
+++++++++++
.. figure:: _images/final_backside.jpg
:scale: 40%
:alt: Final backside
Backside of the final wordclock.
.. figure:: _images/final_backside_detail.jpg
:scale: 40%
:alt: Final backside detail
Closeup of the final wordclock.
.. _video_documentation:
Video documentation on the wiring layout
++++++++++++++++++++++++++++++++++++++++
`Link to wiring documentation <http://youtu.be/V9TwvranJnY?t=8m43s>`_
================================================
FILE: docs/doc_software_setup.rst
================================================
.. _software_installation:
Software setup
==============
Setup your raspberry pi
+++++++++++
Setup your raspberry pi (e.g. using Raspberry Pi Imager) by downloading and installing latest Raspian on the SD card.
During the installation process, configure the location according to your needs (incl. time zone, etc.)
Set locales
+++++++++++
Since the config-file contains layouts for multiple languages, assure to have a utf-8 compatible locale after setting up your raspberry::
echo $LANG
should return something, containing utf-8 at the end.
E.g.::
en_US.UTF-8
If not, check this website, to adjust it: http://perlgeek.de/en/article/set-up-a-clean-utf8-environment
.. _wordclock_software:
The wordclock software
++++++++++++++++++++++
.. _3rd_party_deps_packages:
3rd party dependencies (packages)
---------------------------------
To install 3rd party dependencies (packages) enter in a terminal/commandline::
sudo apt-get install git python3-pip python3-scipy swig fonts-freefont-ttf libopenjp2-7
.. _download_software:
Download software
-----------------
Clone the wordclock software to the directory ~/rpi_wordclock (to run the actual wordclock)::
cd ~
git clone https://github.com/bk1285/rpi_wordclock.git
.. _temperature_sensor:
(Optional) dependencies to readout temperature sensor
-----------------------------------------------------
To read out an temperature sensor (AM2302), which can additionally be connected to the raspberry via GPIOs, install the according dependencies:
These dependencies are http://www.airspayce.com/mikem/bcm2835/index.html
and::
sudo pip install am2302_rpi
.. _brightness_sensor:
(Optional) brightness sensor
----------------------------
For using brightness sensor (tsl2561) i2c must be activated via raspi-config::
sudo raspi-config
use the arrow keys to select 'Interfacing Options' and 'I2C' to tell the RasPi to enable the I2C interface. Then select 'Finish' and reboot the RasPi
Install adafruit-circuitpython-tsl2561 lib::
sudo pip3 install adafruit-circuitpython-tsl2561
Set use_brightness_sensor config value to true and its address::
# Set the brightness of the display (between 1 and 255)
brightness = 200
use_brightness_sensor = True
sensor_address = 0x39
.. _3rd_party_deps_python:
3rd party dependencies (python packages)
----------------------------------------
To install 3rd party python dependencies (packages) run::
cd ~/rpi_wordclock
sudo pip3 install -r requirements.txt
.. _adopt_software:
Adopt software
--------------
To adjust the wordclock to your own settings, create and edit the file ~/rpi_wordclock/wordclock_config/wordclock_config.cfg
To start over, you might just copy the file ~/rpi_wordclock/wordclock_config/wordclock_config.example.cfg and adopt this file.
Note: Each plugin of the wordclock project has its own section in the config-file (create it, if needed, but not existant)
.. note:: If your wordclock has a stencil layout or display resolution, which is not supported yet, you might need to adopt the
software by providing your own `wiring`-class (to the file wordclock_tools/wiring.py)
.. _run_software:
Run software
------------
To run the wordclock software (with adapted wiring and config-file) do::
cd ~/rpi_wordclock
sudo python3 wordclock.py
In case, the whole thing is not working as expected: Maybe the section :ref:`trouble-shooting` might help...
Run software without hardware in developer mode with wxPython
----------------------------
To run the wordclock software in developer mode without wxPython, install wxPython via::
sudo apt-get install python3-wxgtk4.0
and set the developer_mode to True in the config-file::
developer_mode = True
and run the software with::
cd ~/rpi_wordclock
sudo python3 wordclock.py
.. _run_software_on_startup:
Make software run on every startup
----------------------------------
Add the python-script to crontab by calling the command::
sudo crontab -e
Add here::
@reboot sudo python3 /home/pi/rpi_wordclock/wordclock.py
Access the wordclock via webinterface
-------------------------------------
Visit the wordclocks webinterface by entering the wordclocks IP to your browers address bar.
================================================
FILE: docs/doc_troubleshooting.rst
================================================
.. _trouble-shooting:
Trouble shooting
================
Something is not working?
* The command::
sudo pip install pytz astral feedparser pillow svgwrite freetype-py
fails to install properly? If so, try to install further dependencies (thanks to SEBatHome)::
sudo apt-get build-dep python-imaging libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
* The leds do not light up as expected?
* It is important to have common ground for LEDs and RPi. Assure, ground is same for all of them (Thanks to euchkatzl).
* Assure to connect the LED strip in the right direction. Little arrows indicate that along the strip (Thanks to euchkatzl).
* Assure correct functionality of leds::
cd ~/rpi_ws281x/python/examples
vim strandtest.py # Set number of leds, pin, etc.
sudo python strandtest.py
The leds should light up now...
* Disable the RPis soundcard (since it might interfere with the PMW-channel, sending data to the LEDs. Thanks to ELViTO12 for reporting)::
sudo sh -c "echo blacklist snd_bcm2835 >> /etc/modprobe.d/alsa-blacklist.conf";
sudo reboot;
* In case the LEDs are flickering as shown in this video https://www.youtube.com/watch?v=UHxVS8SkXOU (Thanks to oxivanisher), consider the usage of a level-shifter to connect the GPIO-pin of the raspberry to the LED-strip. Further reading: https://github.com/jgarff/rpi_ws281x/issues/127 https://github.com/bk1285/rpi_wordclock/issues/38
.. figure:: _images/74HCT125_wiring.png
:scale: 40%
:alt: Wiring of the a 74HCT125 level-shifter
* When starting the wordclock-script, "Pin 17 pressed" is logged all the time?
To get rid of this message, you first need to finish the wordclock setup by attaching all 3 buttons to it.
If you aim to run the wordclock without buttons, change the config-file settings as follows::
[wordclock_interface]
type = gpio_high
.. note:: The provided information might be completely unsatifying, leaving you here frustrated and annoyed without a working wordclock... :/
However, if you have any issues during the setup, consider:
* To update the provided documentation (or this trouble shooting section), as soon as you resolved your problem.
* To report a software issue here: https://github.com/bk1285/rpi_wordclock/issues
================================================
FILE: docs/index.rst
================================================
.. wordclock_for_rpi documentation master file, created by
sphinx-quickstart on Sun Nov 30 00:50:53 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. _toc:
This is the documentation for rpi_wordclock
===========================================
.. toctree::
:maxdepth: 2
doc_general_considerations
doc_hardware_setup
doc_software_setup
doc_further_reading
doc_troubleshooting
.. _further_doc:
Further documentation
+++++++++++++++++++++
Two youtube videos, which outline the main functionalities and features are available `here <https://www.youtube.com/watch?v=V9TwvranJnY>`_ and `here <https://www.youtube.com/watch?v=wcLQDykRBbM>`_.
.. _indices:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. _ acknowledgements:
Acknowledgements
================
* Christian (idea and first efforts for realization)
* Daniel and Markus (technical support and hints to make the project advance)
* Jeremy (providing the great `rpi_ws281x-library <https://github.com/jgarff/rpi_ws281x>`_)
================================================
FILE: fontdemo.py
================================================
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Needs freetype-py>=1.0
# For more info see:
# http://dbader.org/blog/monochrome-font-rendering-with-freetype-and-python
# The MIT License (MIT)
#
# Copyright (c) 2013 Daniel Bader (http://dbader.org)
#
# 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.
import freetype
class Bitmap(object):
"""
A 2D bitmap image represented as a list of byte values. Each byte indicates the state
of a single pixel in the bitmap. A value of 0 indicates that the pixel is `off`
and any other value indicates that it is `on`.
"""
def __init__(self, width, height, pixels=None):
self.width = width
self.height = height
self.pixels = pixels or bytearray(width * height)
def __repr__(self):
"""Return a string representation of the bitmap's pixels."""
rows = ''
for y in range(self.height):
for x in range(self.width):
rows += '#' if self.pixels[y * self.width + x] else '.'
rows += '\n'
return rows
def bitblt(self, src, x, y):
"""Copy all pixels from `src` into this bitmap"""
srcpixel = 0
dstpixel = y * self.width + int(x)
row_offset = self.width - src.width
for sy in range(src.height):
for sx in range(src.width):
# Perform an OR operation on the destination pixel and the source pixel
# because glyph bitmaps may overlap if character kerning is applied, e.g.
# in the string "AVA", the "A" and "V" glyphs must be rendered with
# overlapping bounding boxes.
self.pixels[dstpixel] = self.pixels[dstpixel] or src.pixels[srcpixel]
srcpixel += 1
dstpixel += 1
dstpixel += row_offset
class Glyph(object):
def __init__(self, pixels, width, height, top, advance_width):
self.bitmap = Bitmap(width, height, pixels)
# The glyph bitmap's top-side bearing, i.e. the vertical distance from the
# baseline to the bitmap's top-most scanline.
self.top = top
# Ascent and descent determine how many pixels the glyph extends
# above or below the baseline.
self.descent = max(0, self.height - self.top)
self.ascent = max(0, max(self.top, self.height) - self.descent)
# The advance width determines where to place the next character horizontally,
# that is, how many pixels we move to the right to draw the next glyph.
self.advance_width = advance_width
@property
def width(self):
return self.bitmap.width
@property
def height(self):
return self.bitmap.height
@staticmethod
def from_glyphslot(slot):
"""Construct and return a Glyph object from a FreeType GlyphSlot."""
pixels = Glyph.unpack_mono_bitmap(slot.bitmap)
width, height = slot.bitmap.width, slot.bitmap.rows
top = slot.bitmap_top
# The advance width is given in FreeType's 26.6 fixed point format,
# which means that the pixel values are multiples of 64.
advance_width = slot.advance.x / 64
return Glyph(pixels, width, height, top, advance_width)
@staticmethod
def unpack_mono_bitmap(bitmap):
"""
Unpack a freetype FT_LOAD_TARGET_MONO glyph bitmap into a bytearray where each
pixel is represented by a single byte.
"""
# Allocate a bytearray of sufficient size to hold the glyph bitmap.
data = bytearray(bitmap.rows * bitmap.width)
# Iterate over every byte in the glyph bitmap. Note that we're not
# iterating over every pixel in the resulting unpacked bitmap --
# we're iterating over the packed bytes in the input bitmap.
for y in range(bitmap.rows):
for byte_index in range(bitmap.pitch):
# Read the byte that contains the packed pixel data.
byte_value = bitmap.buffer[y * bitmap.pitch + byte_index]
# We've processed this many bits (=pixels) so far. This determines
# where we'll read the next batch of pixels from.
num_bits_done = byte_index * 8
# Pre-compute where to write the pixels that we're going
# to unpack from the current byte in the glyph bitmap.
rowstart = y * bitmap.width + byte_index * 8
# Iterate over every bit (=pixel) that's still a part of the
# output bitmap. Sometimes we're only unpacking a fraction of a byte
# because glyphs may not always fit on a byte boundary. So we make sure
# to stop if we unpack past the current row of pixels.
for bit_index in range(min(8, bitmap.width - num_bits_done)):
# Unpack the next pixel from the current glyph byte.
bit = byte_value & (1 << (7 - bit_index))
# Write the pixel to the output bytearray. We ensure that `off`
# pixels have a value of 0 and `on` pixels have a value of 1.
data[rowstart + bit_index] = 1 if bit else 0
return data
class Font(object):
def __init__(self, filename, size):
self.face = freetype.Face(filename)
self.face.set_pixel_sizes(0, size)
def glyph_for_character(self, char):
# Let FreeType load the glyph for the given character and tell it to render
# a monochromatic bitmap representation.
self.face.load_char(char, freetype.FT_LOAD_RENDER | freetype.FT_LOAD_TARGET_MONO)
return Glyph.from_glyphslot(self.face.glyph)
def render_character(self, char):
glyph = self.glyph_for_character(char)
return glyph.bitmap
def kerning_offset(self, previous_char, char):
"""
Return the horizontal kerning offset in pixels when rendering `char`
after `previous_char`.
Use the resulting offset to adjust the glyph's drawing position to
reduces extra diagonal whitespace, for example in the string "AV" the
bitmaps for "A" and "V" may overlap slightly with some fonts. In this
case the glyph for "V" has a negative horizontal kerning offset as it is
moved slightly towards the "A".
"""
kerning = self.face.get_kerning(previous_char, char)
# The kerning offset is given in FreeType's 26.6 fixed point format,
# which means that the pixel values are multiples of 64.
return kerning.x / 64
def text_dimensions(self, text):
"""Return (width, height, baseline) of `text` rendered in the current font."""
width = 0
max_ascent = 0
max_descent = 0
previous_char = None
# For each character in the text string we get the glyph
# and update the overall dimensions of the resulting bitmap.
for char in text:
glyph = self.glyph_for_character(char)
max_ascent = max(max_ascent, glyph.ascent)
max_descent = max(max_descent, glyph.descent)
kerning_x = self.kerning_offset(previous_char, char)
# With kerning, the advance width may be less than the width of the glyph's bitmap.
# Make sure we compute the total width so that all of the glyph's pixels
# fit into the returned dimensions.
width += max(glyph.advance_width + kerning_x, glyph.width + kerning_x)
previous_char = char
height = max_ascent + max_descent
return (int(width), height, max_descent)
def render_text(self, text, width=None, height=None, baseline=None):
"""
Render the given `text` into a Bitmap and return it.
If `width`, `height`, and `baseline` are not specified they are computed using
the `text_dimensions' method.
"""
if None in (width, height, baseline):
width, height, baseline = self.text_dimensions(text)
x = 0
previous_char = None
outbuffer = Bitmap(width, height)
for char in text:
glyph = self.glyph_for_character(char)
# Take kerning information into account before we render the
# glyph to the output bitmap.
x += self.kerning_offset(previous_char, char)
# The vertical drawing position should place the glyph
# on the baseline as intended.
y = height - glyph.ascent - baseline
outbuffer.bitblt(glyph.bitmap, x, y)
x += glyph.advance_width
previous_char = char
return outbuffer
if __name__ == '__main__':
# Be sure to place 'helvetica.ttf' (or any other ttf / otf font file) in the working directory.
fnt = Font('helvetica.ttf', 24)
# Single characters
ch = fnt.render_character('e')
print(repr(ch))
# Multiple characters
txt = fnt.render_text('hello')
print(repr(txt))
# Kerning
print(repr(fnt.render_text('AV Wa')))
# Choosing the baseline correctly
print(repr(fnt.render_text('hello, world.')))
================================================
FILE: requirements.txt
================================================
# install pygobject as outlined in pyobject.readthedocs.io/en/latest/getting_started.html for ui=based rendering (for development purposes, when no LEDs are attached to PC)
astral==2.2
coloredlogs==15.0.1
feedparser==6.0.5
flask-restx==0.5.1
freetype-py==2.2.0
netifaces==0.11.0
monotonic==1.6
pillow==10.3.0
rpi-ws281x==4.3.0
svgwrite==1.4.3
================================================
FILE: wordclock.py
================================================
import sys
import coloredlogs
from importlib import import_module
import logging
import netifaces
import inspect
import os
import subprocess
import time
import traceback
import threading
from shutil import copyfile
import wordclock_tools.wordclock_config as wccfg
import wordclock_tools.wordclock_display as wcd
import wordclock_interfaces.event_handler as wci
import wordclock_interfaces.web_interface as wciweb
class wordclock:
"""
The class, which makes the wordclock run...
"""
def __init__(self):
"""
Initializations, executed at every startup of the wordclock
"""
# Get path of the directory where this file is stored
self.basePath = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
self.currentGitHash = subprocess.check_output(["git", "describe", "--tags"], cwd=self.basePath).strip().decode()
logging.info("Software version: " + self.currentGitHash)
self.config = wccfg.wordclock_config(self.basePath)
# Create object to interact with the wordclock using the interface of your choice
self.wci = wci.event_handler()
self.developer_mode_active = self.config.getboolean('wordclock', 'developer_mode')
if self.developer_mode_active:
import wx
self.app = wx.App()
else:
import wordclock_interfaces.gpio_interface as wcigpio
self.gpio = wcigpio.gpio_interface(self.config, self.wci)
# Create object to display any content on the wordclock display
# Its implementation depends on your (individual) wordclock layout/wiring
self.wcd = wcd.wordclock_display(self.config, self.wci)
# Define path to general icons (not plugin-specific)
self.pathToGeneralIcons = os.path.join(self.basePath, 'icons', self.wcd.dispRes())
# Assemble path to plugin directory
plugin_dir = os.path.join(self.basePath, 'wordclock_plugins')
# Assemble list of all available plugins
plugins = (plugin for plugin in os.listdir(plugin_dir) if os.path.isdir(os.path.join(plugin_dir, plugin)))
# Import plugins, which can be operated by the wordclock:
index = 0 # A helper variable (only incremented on successful import)
self.plugins = []
for plugin in plugins:
#only neccessary when using PyCharm
if plugin == '__pycache__':
continue
# Check the config-file, whether to activate or deactivate the plugin
try:
if not self.config.getboolean('plugin_' + plugin, 'activate'):
logging.info('Skipping plugin ' + plugin + ' since it is set to activate=false in the config-file.')
continue
except:
logging.debug('No activate-flag set for plugin ' + plugin + ' within the config-file. Will be imported.')
try:
# Perform a minimal (!) validity check
# Check, if plugin is valid (if the plugin.py is provided)
if not os.path.isfile(os.path.join(plugin_dir, plugin, 'plugin.py')):
raise
self.plugins.append(import_module('wordclock_plugins.' + plugin + '.plugin').plugin(self.config))
# Search for default plugin to display the time
if plugin == 'time_default':
logging.info('Selected "' + plugin + '" as default plugin')
self.default_plugin = index
logging.info('Imported plugin ' + str(index) + ': "' + plugin + '".')
index += 1
except Exception as e:
print(e)
logging.warning('Failed to import plugin ' + plugin + '!')
#detailed error (traceback)
traceback.print_exc(limit=1)
# Create object to interact with the wordclock using the interface of your choice
self.plugin_index = 0
self.wciweb = wciweb.web_interface(self)
self.scrollenable = False
self.scrolltext = ""
self.scrolldate = ""
self.scrolltime = ""
self.scrollrepeat = 0
def startup(self):
"""
Startup behavior
"""
if self.config.getboolean('wordclock', 'show_startup_message'):
startup_message = self.config.get('wordclock', 'startup_message')
if startup_message == "ShowIP":
try:
interface = self.config.get('plugin_ip_address', 'interface')
self.wcd.showText("IP: " + netifaces.ifaddresses(interface)[2][0]['addr'])
except:
logging.warning("Failed to retrieve IP address")
self.wcd.showText("No IP")
else:
self.wcd.showText(startup_message)
def runPlugin(self):
"""
Runs the currently selected plugin
"""
try:
logging.info('Running plugin ' + self.plugins[self.plugin_index].name + '.')
self.plugins[self.plugin_index].run(self.wcd, self.wci)
except:
logging.error('Error in plugin ' + self.plugins[self.plugin_index].name + '.')
logging.error('PLEASE PROVIDE THE CURRENT SOFTWARE VERSION (GIT HASH), WHEN REPORTING THIS ERROR: ' + self.currentGitHash)
self.wcd.setImage(os.path.join(self.pathToGeneralIcons, 'error.png'))
traceback.print_exc()
raise
time.sleep(2)
#goto menu afterwards to prevent being stuck in an error loop
event = self.wci.BUTTONS.get("return")
self.wci.getNextAction(event)
# Cleanup display after exiting plugin
self.wcd.resetDisplay()
def runNext(self, plugin_index=None):
if(plugin_index == self.plugin_index):
return
self.plugin_index = plugin_index if plugin_index is not None else self.default_plugin
self.wci.setEvent(self.wci.EVENT_NEXT_PLUGIN_REQUESTED)
def run(self):
"""
Makes the wordclock run...
"""
# Run the default plugin
self.plugin_index = self.default_plugin
# Run the wordclock forever
while True:
self.runPlugin()
# If no plugin was requested yet, loop through menu to select next plugin
if self.wci.nextAction == wci.next_action.RUN_DEFAULT_PLUGIN:
self.plugin_index = self.default_plugin
elif self.wci.nextAction == wci.next_action.GOTO_MENU:
while True:
# The showIcon-command expects to have a plugin logo available
self.wcd.showIcon(plugin=self.plugins[self.plugin_index].name, iconName='logo')
time.sleep(self.wci.lock_time)
evt = self.wci.waitForEvent()
if evt == self.wci.EVENT_BUTTON_LEFT:
self.plugin_index -= 1
if self.plugin_index == -1:
self.plugin_index = len(self.plugins) - 1
time.sleep(self.wci.lock_time)
if evt == self.wci.EVENT_BUTTON_RETURN:
time.sleep(self.wci.lock_time)
break
if evt == self.wci.EVENT_EXIT_PLUGIN or evt == self.wci.EVENT_NEXT_PLUGIN_REQUESTED:
break
if evt == self.wci.EVENT_BUTTON_RIGHT:
self.plugin_index += 1
if self.plugin_index == len(self.plugins):
self.plugin_index = 0
time.sleep(self.wci.lock_time)
def run_forever(self):
self.startup()
self.run()
if __name__ == '__main__':
if sys.version_info.major != 3:
print('Run \"sudo python3 wordclock.py\"')
raise Exception('python version unsupported')
# Setup logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s: %(message)s')
coloredlogs.install()
word_clock = wordclock()
developer_mode = word_clock.developer_mode_active
if not developer_mode:
word_clock.run_forever()
else:
print("We are not on raspberry...open simulation window")
wordclock_thread = threading.Thread(target=word_clock.run_forever)
# Exit the server thread when the main thread terminates
wordclock_thread.daemon = True
wordclock_thread.start()
word_clock.app.MainLoop()
================================================
FILE: wordclock_config/wordclock_config.reference.cfg
================================================
# -*- coding: utf-8 -*-
# This is an examplary configuration file.
# Copy this to wordclock_config/wordclock_config.cfg for customization
[wordclock]
show_startup_message = True
# Can be a string like "Hello world" or the keyword "ShowIP" to display the wordclocks IP-address (to access the web interface)
startup_message = ShowIP
# set animation fps (0 will not animate)
animation_fps = 25
# Set to True to run the software with GTK on a linux system
# * Does not require any wordclock hardware
# * Maps the port for web-access to 8080
developer_mode = False
# Additionally available after parsing by the wordclock-software:
# base_path = "/path/to/wordclock.py"
# e.g.: base_path = "/home/pi/rpi_wordclock"
[wordclock_display]
# set language option
language = german
# Choose wiring layout here. Options are: bernds_wiring, christians_wiring, ... (possibly you need your own wiring layout)
wiring_layout = bernds_wiring
# Fonts available at /usr/share/fonts/... (e.g. some types listed in truetype/freefont)
# FreeMono FreeMonoBoldOblique FreeSans FreeSansBoldOblique FreeSerif FreeSerifBoldItalic
# FreeMonoBold FreeMonoOblique FreeSansBold FreeSansOblique FreeSerifBold FreeSerifItalic
default_font = wcfont
# Set the brightness of the display (between 1 and 255)
brightness = 255
# Supported sensor: TSL2561
use_brightness_sensor = False
# Sensor I2C address in decimal: 41 (0x29), 57 (0x39), 73 (0x49)
sensor_address = 57
[wordclock_interface]
# Defines type of interface (gpio_low: pin is set to low on event, gpio_high: pin is set to high on event, no_gpio: no pins are read at all (= disabled hardware buttons))
type = gpio_low
pin_button_left = 17
pin_button_return = 22
pin_button_right = 24
# Optional value. Uncomment, if temperature sensor is attached. E.g. at pin 4
# pin_temp_sensor = 4
# Number of seconds a button is locked after beeing pressed (insensitivity to further touch)
lock_time = 0.2
### Below here, the wordclocks plugin parameter are provided in alphabetical order
[plugin_feed_parser]
activate = True
# Set url to rss-feedparser
rss_url = http://www.tagesschau.de/xml/rss2
[plugin_ip_address]
activate = True
# Get ip to access the raspberry. Possible interfaces: wlan0, eth0, ...
interface = wlan0
[plugin_matrix]
activate = True
[plugin_rainbow]
activate = True
[plugin_time_in_seconds]
activate = True
[plugin_leds_off]
activate = True
[plugin_restart]
activate = True
[plugin_sunrise]
activate = True
# Choose your city from https://astral.readthedocs.io/en/latest/#cities
location = Berlin
[plugin_shutdown]
activate = True
[plugin_tetris]
activate = True
[plugin_snake]
activate = True
[plugin_time_as_words_dutch]
activate = True
[plugin_time_as_words_german]
activate = True
[plugin_time_default]
activate = True
# animation in : typewriter, fadeOutIn, none
animation = fadeOutIn
animation_speed = 5
# should every minute be animated or only every 5 minutes
play_animation_each_minute = False
# Default foreground/background colors
# BLACK, WHITE, WWHITE, RED, YELLOW, LIME, GREEN, BLUE
default_fg_color = WWHITE
default_bg_color = BLACK
# Choose the order of the pins for the minutes
# Like an analogic clock : 1,3,2,0
# ___________
# | |
# | 0 1 |
# | |
# | 2 3 |
# |___________|
minutes_map = 0,1,2,3
# show time without prefix IT IS/ES IST/etc.
purist = False
# define sleep times when the display brightness is turned down [define any time with format hour:minute [0-23]:[0-59], e.g. 20:30
sleep_begin = 00:00
sleep_end = 00:00
sleep_brightness = 10
[plugin_time_matrix]
activate = True
[plugin_weather_forecast]
activate = True
# choose weather service to retrieve forecast (options: meteoswiss (note: openweathermap, only for swiss cities))
#Data for the OpenWeatherMap service
weather_service = openweathermap
api_key = Your API-key here
city = Your city here
#Data for the meteoswiss service
#weather_service = meteoswiss
#zipcode = 8606
### Below here, the wordclocks stencil parameter are provided
### E.g. to create your own/custom stencils
[stencil_parameter]
# All measures in mm
# Absolute height of the wordclock in mm
height=450
# Absolute width of the wordclock in mm
width=450
# Margin between edge and minute leds
minute_margin=20
# Diameter of the minutes
minute_diameter=5
# Height of the wordclock array
wca_height=300
# Width of the wordclock array
wca_width=300
# Font-type
font_type=Arial
# Font-size
font_size=22
[language_options]
german=["ESKISTLFÜNF",
"ZEHNZWANZIG",
"DREIVIERTEL",
"TGNACHVORJM",
"HALBQZWÖLFP",
"ZWEINSIEBEN",
"KDREIRHFÜNF",
"ELFNEUNVIER",
"WACHTZEHNRS",
"BSECHSFMUHR"]
german2=["ESKISTAFÜNF",
"ZEHNZWANZIG",
"DREIVIERTEL",
"VORFUNKNACH",
"HALBAELFÜNF",
"EINSXAMZWEI",
"DREIPMJVIER",
"SECHSNLACHT",
"SIEBENZWÖLF",
"ZEHNEUNKUHR"]
english=["ITLISBFAMPM",
"ACQUARTERDC",
"TWENTYFIVEX",
"HALFBTENFTO",
"PASTERUNINE",
"ONESIXTHREE",
"FOURFIVETWO",
"EIGHTELEVEN",
"SEVENTWELVE",
"TENSEOCLOCK"]
spanish=["ESONELASUNA",
"DOSITRESORE",
"CUATROCINCO",
"SEISASIETEN",
"OCHONUEVEYO",
"LADIEZSONCE",
"DOCELYMENOS",
"OVEINTEDIEZ",
"VEINTICINCO",
"MEDIACUARTO"]
french=["ILNESTOUNER",
"DEUXNUTROIS",
"QUATREDOUZE",
"CINQSIXSEPT",
"HUITNEUFDIX",
"ONZERHEURES",
"MOINSOLEDIX",
"ETRQUARTRED",
"VINGT-CINQU",
"ETSDEMIEPAN"]
italian=["SONORLEBORE",
"ÈRĹUNASDUEZ",
"TREOTTONOVE",
"DIECIUNDICI",
"DODICISETTE",
"QUATTROCSEI",
"CINQUESMENO",
"ECUNOQUARTO",
"VENTICINQUE",
"DIECIEMEZZA"]
romanian=["ESTEZORAPMO",
"DOUĂNSPREAM",
"UNSPREZECEL",
"NOUĂOPTȘASE",
"PATRUNUTREI",
"ȘAPTECINCIA",
"ȘIBTREIZECI",
"FĂRĂOZECEUN",
"DOUĂZECIVȘI",
"CINCIUSFERT"]
turkish=["SAATRONUÜÇÜ",
"BİRİALTIYID",
"İKİYİDOKUZU",
"DÖRDÜYEDİYİ",
"SEKİZİYARIM",
"DÖRTAMSBEŞİ",
"KPMOTUZKIRK",
"ELLİONYİRMİ",
"BUÇUKÇEYREK",
"BEŞMGEÇİYOR"]
dutch=["HETEISGVIJF",
"TIENSWZVOOR",
"OVERMTKWART",
"HALFSPHOVER",
"VOORTHGEENS",
"TWEEPVCDRIE",
"VIERVIJFZES",
"ZEVENONEGEN",
"ACHTIENSELF",
"TWAALFBFUUR"]
dutch109=["HETMISMNUL",
"MVIJFTIENM",
"KWARTMOVER",
"MVOORHALFM",
"ACHTWEEZES",
"DRIELFTIEN",
"MZEVENEGEN",
"VIERTWAALF",
"ÉÉNVIJFUUR"]
swiss_german=["ESKISCHAFÜF",
"VIERTUBFZÄÄ",
"ZWÄNZGSIVOR",
"ABOHAUBIEPM",
"EISZWÖISDRÜ",
"VIERIFÜFIQT",
"SÄCHSISIBNI",
"ACHTINÜNIEL",
"ZÄNIERBEUFI",
"ZWÖUFIAMUHR"]
swiss_german2=["DMZYTLISCHB",
"PFÜFVIERTUX",
"ZWÄNZGKZÄÄG",
"VORABJHAUBI",
"ZWÖISÄCHSIQ",
"ACHTIMVOUFI",
"FÜFIRSIBLIT",
"ONZÄNIADRÜY",
"VIERIFNÜNIB",
"HEISUZWÖLFI"]
swedish=["KLOCKANTÄRK",
"FEMYISTIONI",
"KVARTQIENZO",
"TJUGOLIVIPM",
"ÖVERKAMHALV",
"ETTUSVLXTVÅ",
"TREMYKYFYRA",
"FEMSFLORSEX",
"SJUÅTTAINIO",
"TIOELVATOLV"]
================================================
FILE: wordclock_interfaces/__init__.py
================================================
================================================
FILE: wordclock_interfaces/event_handler.py
================================================
import threading
from monotonic import monotonic as _time
class next_action:
NEXT_PLUGIN = 1
GOTO_MENU = 2
RUN_DEFAULT_PLUGIN = 3
class event_handler:
EVENT_INVALID = -1
EVENT_BUTTON_LEFT = 0
EVENT_BUTTON_RIGHT = 1
EVENT_BUTTON_RETURN = 2
EVENT_EXIT_PLUGIN = 3
EVENT_NEXT_PLUGIN_REQUESTED = 4
BUTTONS = {'left': EVENT_BUTTON_LEFT, 'right': EVENT_BUTTON_RIGHT, 'return': EVENT_BUTTON_RETURN}
def __init__(self):
self.condition = threading.Condition()
self.event = self.EVENT_INVALID
self.lock_time = 0.1
self.nextAction = next_action.RUN_DEFAULT_PLUGIN
def getNextAction(self, evt):
if evt == self.EVENT_NEXT_PLUGIN_REQUESTED:
self.nextAction = next_action.NEXT_PLUGIN
elif evt == self.EVENT_BUTTON_RETURN:
self.nextAction = next_action.GOTO_MENU
else:
self.nextAction = next_action.RUN_DEFAULT_PLUGIN
def waitForEvent(self, seconds=None):
self.condition.acquire()
self.__wait_for(lambda: self.event != self.EVENT_INVALID, seconds)
evt = self.event
self.getNextAction(evt)
self.event = self.EVENT_INVALID
self.condition.release()
return evt
def setEvent(self, evt):
self.condition.acquire()
if self.event != self.EVENT_EXIT_PLUGIN and self.event != self.EVENT_NEXT_PLUGIN_REQUESTED:
self.event = evt
self.condition.notifyAll()
self.condition.release()
def waitForExit(self, seconds=None):
self.condition.acquire()
exitWasTriggered = self.__wait_for(
lambda: self.event == self.EVENT_EXIT_PLUGIN or self.event == self.EVENT_NEXT_PLUGIN_REQUESTED, seconds)
self.getNextAction(self.event)
self.event = self.EVENT_INVALID
self.condition.release()
return True if exitWasTriggered else False
def __wait_for(self, predicate, timeout=None):
"""
Wait until a condition evaluates to True.
predicate should be a callable which result will be interpreted as a
boolean value. A timeout may be provided giving the maximum time to
wait.
"""
endtime = None
waittime = timeout
result = predicate()
while not result:
if waittime is not None:
if endtime is None:
endtime = _time() + waittime
else:
waittime = endtime - _time()
if waittime <= 0:
break
self.condition.wait(waittime)
result = predicate()
return result
================================================
FILE: wordclock_interfaces/gpio_interface.py
================================================
import RPi.GPIO as GPIO
import logging
class gpio_interface:
def __init__(self, config, evtHandler):
'''
Initialization
'''
interface_type = config.get('wordclock_interface', 'type')
if interface_type == 'no_gpio':
logging.info('GPIO interface disabled. If hardware buttons are attached, any input is ignored. Webinterface can be used instead.')
return
self.evtHandler = evtHandler
# 3 buttons are required to run the wordclock.
# Below, for each button, the corresponding GPIO-pin is specified.
self.button_left = int(config.get('wordclock_interface', 'pin_button_left'))
self.button_return = int(config.get('wordclock_interface', 'pin_button_return'))
self.button_right = int(config.get('wordclock_interface', 'pin_button_right'))
# Initializations for GPIO-input
GPIO.setmode(GPIO.BCM)
GPIO.setup([self.button_left, self.button_return, self.button_right], GPIO.IN)
if interface_type == 'gpio_high':
self.polarity = GPIO.FALLING
else:
if interface_type != 'gpio_low':
logging.warning('Unknown interface_type ' + interface_type)
logging.warning(' Falling back to default')
interface_type = 'gpio_low'
self.polarity = GPIO.RISING
logging.info('Interface type set to ' + interface_type)
GPIO.add_event_detect(self.button_left,
self.polarity,
callback=lambda channel: self._left(),
bouncetime=100)
GPIO.add_event_detect(self.button_return,
self.polarity,
callback=lambda channel: self._return(),
bouncetime=100)
GPIO.add_event_detect(self.button_right,
self.polarity,
callback=lambda channel: self._right(),
bouncetime=100)
def _left(self):
self.evtHandler.setEvent(self.evtHandler.EVENT_BUTTON_LEFT)
def _return(self):
self.evtHandler.setEvent(self.evtHandler.EVENT_BUTTON_RETURN)
def _right(self):
self.evtHandler.setEvent(self.evtHandler.EVENT_BUTTON_RIGHT)
================================================
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/LICENSE.txt
================================================
Font Awesome Free License
-------------------------
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license.
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
In the Font Awesome Free download, the SIL OLF license applies to all icons
packaged as web and desktop font files.
# Code: MIT License (https://opensource.org/licenses/MIT)
In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.
# Attribution
Attribution is required by MIT, SIL OLF, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.
We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.
# Brand Icons
All brand icons are trademarks of their respective owners. The use of these
trademarks does not indicate endorsement of the trademark holder by Font
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
to represent the company, product, or service to which they refer.**
================================================
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/all.css
================================================
/*!
* Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:a 2s infinite linear}.fa-pulse{animation:a 1s infinite steps(8)}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-open:before{content:"\f518"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-concierge-bell:before{content:"\f562"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-credit-card:before{content:"\f09d"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-deviantart:before{content:"\f1bd"}.fa-diagnoses:before{content:"\f470"}.fa-dice:before{content:"\f522"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-old-republic:before{content:"\f510"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-people-carry:before{content:"\f4ce"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poo:before{content:"\f2fe"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-r-project:before{content:"\f4f7"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-ribbon:before{content:"\f4d6"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skull:before{content:"\f54c"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toolbox:before{content:"\f552"}.fa-tooth:before{content:"\f5c9"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-moving:before{content:"\f4df"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}
================================================
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/brands.css
================================================
/*!
* Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}
================================================
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/fontawesome.css
================================================
/*!
* Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:a 2s infinite linear}.fa-pulse{animation:a 1s infinite steps(8)}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-open:before{content:"\f518"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-concierge-bell:before{content:"\f562"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-credit-card:before{content:"\f09d"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-deviantart:before{content:"\f1bd"}.fa-diagnoses:before{content:"\f470"}.fa-dice:before{content:"\f522"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-old-republic:before{content:"\f510"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-people-carry:before{content:"\f4ce"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poo:before{content:"\f2fe"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-r-project:before{content:"\f4f7"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-ribbon:before{content:"\f4d6"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skull:before{content:"\f54c"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{conte
gitextract_znmu2q1n/
├── .gitignore
├── LICENSE
├── README.md
├── create_layout.py
├── docs/
│ ├── Makefile
│ ├── _config.yml
│ ├── conf.py
│ ├── doc_further_reading.rst
│ ├── doc_general_considerations.rst
│ ├── doc_hardware_setup.rst
│ ├── doc_software_setup.rst
│ ├── doc_troubleshooting.rst
│ ├── index.rst
│ └── wiring.odp
├── fontdemo.py
├── requirements.txt
├── wordclock.py
├── wordclock_config/
│ └── wordclock_config.reference.cfg
├── wordclock_interfaces/
│ ├── __init__.py
│ ├── event_handler.py
│ ├── gpio_interface.py
│ ├── static/
│ │ ├── fontawesome-free-5.1.0-web/
│ │ │ ├── LICENSE.txt
│ │ │ ├── css/
│ │ │ │ ├── all.css
│ │ │ │ ├── brands.css
│ │ │ │ ├── fontawesome.css
│ │ │ │ ├── regular.css
│ │ │ │ ├── solid.css
│ │ │ │ ├── svg-with-js.css
│ │ │ │ └── v4-shims.css
│ │ │ ├── js/
│ │ │ │ ├── all.js
│ │ │ │ ├── brands.js
│ │ │ │ ├── fontawesome.js
│ │ │ │ ├── regular.js
│ │ │ │ ├── solid.js
│ │ │ │ └── v4-shims.js
│ │ │ ├── less/
│ │ │ │ ├── _animated.less
│ │ │ │ ├── _bordered-pulled.less
│ │ │ │ ├── _core.less
│ │ │ │ ├── _fixed-width.less
│ │ │ │ ├── _icons.less
│ │ │ │ ├── _larger.less
│ │ │ │ ├── _list.less
│ │ │ │ ├── _mixins.less
│ │ │ │ ├── _rotated-flipped.less
│ │ │ │ ├── _screen-reader.less
│ │ │ │ ├── _shims.less
│ │ │ │ ├── _stacked.less
│ │ │ │ ├── _variables.less
│ │ │ │ ├── fa-brands.less
│ │ │ │ ├── fa-regular.less
│ │ │ │ ├── fa-solid.less
│ │ │ │ ├── fontawesome.less
│ │ │ │ └── v4-shims.less
│ │ │ ├── metadata/
│ │ │ │ ├── categories.yml
│ │ │ │ ├── icons.json
│ │ │ │ ├── icons.yml
│ │ │ │ ├── shims.json
│ │ │ │ ├── shims.yml
│ │ │ │ └── sponsors.yml
│ │ │ └── scss/
│ │ │ ├── _animated.scss
│ │ │ ├── _bordered-pulled.scss
│ │ │ ├── _core.scss
│ │ │ ├── _fixed-width.scss
│ │ │ ├── _icons.scss
│ │ │ ├── _larger.scss
│ │ │ ├── _list.scss
│ │ │ ├── _mixins.scss
│ │ │ ├── _rotated-flipped.scss
│ │ │ ├── _screen-reader.scss
│ │ │ ├── _shims.scss
│ │ │ ├── _stacked.scss
│ │ │ ├── _variables.scss
│ │ │ ├── fa-brands.scss
│ │ │ ├── fa-regular.scss
│ │ │ ├── fa-solid.scss
│ │ │ ├── fontawesome.scss
│ │ │ └── v4-shims.scss
│ │ ├── js/
│ │ │ ├── scripts.js
│ │ │ ├── vue-resource.js
│ │ │ └── vuetify.js
│ │ ├── material-design-icons/
│ │ │ └── iconfont/
│ │ │ ├── MaterialIcons-Regular.ijmap
│ │ │ ├── README.md
│ │ │ ├── codepoints
│ │ │ └── material-icons.css
│ │ ├── style.css
│ │ └── styles.css
│ ├── templates/
│ │ └── app.html
│ └── web_interface.py
├── wordclock_layouts/
│ └── wordclock_sceleton/
│ ├── LED-Base--LED-Mount-BL.stl
│ ├── LED-Base--LED-Mount-BM.stl
│ ├── LED-Base--LED-Mount-BR.stl
│ ├── LED-Base--LED-Mount-ML.stl
│ ├── LED-Base--LED-Mount-MM-Bot.stl
│ ├── LED-Base--LED-Mount-MM-Top.stl
│ ├── LED-Base--LED-Mount-MR.stl
│ ├── LED-Base--LED-Mount-TL.stl
│ ├── LED-Base--LED-Mount-TM.stl
│ └── LED-Base--LED-Mount-TR.stl
├── wordclock_plugins/
│ ├── __init__.py
│ ├── feed_parser/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── ip_address/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── leds_off/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── matrix/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── rainbow/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── restart/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── shutdown/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── snake/
│ │ ├── Snakeobject.py
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── sunrise/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── test_strip/
│ │ ├── __init__.py
│ │ └── plugin.py
│ ├── tetris/
│ │ ├── __init__.py
│ │ ├── brick.py
│ │ └── plugin.py
│ ├── time_as_words_dutch/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_as_words_dutch.py
│ ├── time_as_words_german/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_as_words_german.py
│ ├── time_default/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ ├── time_bavarian.py
│ │ ├── time_dutch.py
│ │ ├── time_dutch_10-9.py
│ │ ├── time_english.py
│ │ ├── time_french.py
│ │ ├── time_german.py
│ │ ├── time_german2.py
│ │ ├── time_italian.py
│ │ ├── time_romanian.py
│ │ ├── time_swabian.py
│ │ ├── time_swabian2.py
│ │ ├── time_swedish.py
│ │ ├── time_swiss_german.py
│ │ └── time_swiss_german2.py
│ ├── time_in_seconds/
│ │ ├── __init__.py
│ │ ├── plugin.py
│ │ └── time_seconds.py
│ ├── time_matrix/
│ │ ├── __init__.py
│ │ └── plugin.py
│ └── weather_forecast/
│ ├── __init__.py
│ └── plugin.py
├── wordclock_tools/
│ ├── __init__.py
│ ├── wiring.py
│ ├── wordclock_colors.py
│ ├── wordclock_config.py
│ ├── wordclock_display.py
│ ├── wordclock_interface.py
│ ├── wordclock_screen.py
│ ├── wordclock_strip_base.py
│ ├── wordclock_strip_neopixel.py
│ └── wordclock_strip_wx.py
└── wordclock_webinterface/
├── __init__.py
├── css/
│ ├── bootstrap-theme.css
│ ├── bootstrap.css
│ └── wordclock-theme.css
├── index.html
├── js/
│ └── fastclick.js
└── web_interface.py
SYMBOL INDEX (561 symbols across 58 files)
FILE: create_layout.py
function searchInWCA (line 10) | def searchInWCA(wcl, index):
function searchInMinutes (line 18) | def searchInMinutes(wcl, index):
function get_letter_coords (line 26) | def get_letter_coords(wca_top_left, x, x_spacing, y, y_spacing, side, co...
function get_min_coords (line 33) | def get_min_coords(width, height, minute_margin, min_num, side):
function create_svg (line 46) | def create_svg(lang, config, side='front', mode='stencil'):
function main (line 222) | def main():
FILE: fontdemo.py
class Bitmap (line 33) | class Bitmap(object):
method __init__ (line 39) | def __init__(self, width, height, pixels=None):
method __repr__ (line 44) | def __repr__(self):
method bitblt (line 53) | def bitblt(self, src, x, y):
class Glyph (line 71) | class Glyph(object):
method __init__ (line 72) | def __init__(self, pixels, width, height, top, advance_width):
method width (line 89) | def width(self):
method height (line 93) | def height(self):
method from_glyphslot (line 97) | def from_glyphslot(slot):
method unpack_mono_bitmap (line 110) | def unpack_mono_bitmap(bitmap):
class Font (line 151) | class Font(object):
method __init__ (line 152) | def __init__(self, filename, size):
method glyph_for_character (line 156) | def glyph_for_character(self, char):
method render_character (line 162) | def render_character(self, char):
method kerning_offset (line 166) | def kerning_offset(self, previous_char, char):
method text_dimensions (line 183) | def text_dimensions(self, text):
method render_text (line 208) | def render_text(self, text, width=None, height=None, baseline=None):
FILE: wordclock.py
class wordclock (line 19) | class wordclock:
method __init__ (line 24) | def __init__(self):
method startup (line 105) | def startup(self):
method runPlugin (line 121) | def runPlugin(self):
method runNext (line 144) | def runNext(self, plugin_index=None):
method run (line 150) | def run(self):
method run_forever (line 187) | def run_forever(self):
FILE: wordclock_interfaces/event_handler.py
class next_action (line 5) | class next_action:
class event_handler (line 11) | class event_handler:
method __init__ (line 22) | def __init__(self):
method getNextAction (line 28) | def getNextAction(self, evt):
method waitForEvent (line 36) | def waitForEvent(self, seconds=None):
method setEvent (line 45) | def setEvent(self, evt):
method waitForExit (line 52) | def waitForExit(self, seconds=None):
method __wait_for (line 61) | def __wait_for(self, predicate, timeout=None):
FILE: wordclock_interfaces/gpio_interface.py
class gpio_interface (line 5) | class gpio_interface:
method __init__ (line 6) | def __init__(self, config, evtHandler):
method _left (line 52) | def _left(self):
method _return (line 55) | def _return(self):
method _right (line 58) | def _right(self):
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/all.js
function z (line 5) | function z(c,l){for(var h=0;h<l.length;h++){var z=l[h];z.enumerable=z.en...
function Y (line 5) | function Y(c){if(c&&M){var l=i.createElement("style");l.setAttribute("ty...
function X (line 5) | function X(){return++D}
function B (line 5) | function B(c){for(var l=[],h=(c||[]).length>>>0;h--;)l[h]=c[h];return l}
function U (line 5) | function U(c){return c.classList?B(c.classList):(c.getAttribute("class")...
function K (line 5) | function K(c,l){var h,z=l.split("-"),v=z[0],m=z.slice(1).join("-");retur...
function G (line 5) | function G(c){return(""+c).replace(/&/g,"&").replace(/"/g,""")....
function J (line 5) | function J(h){return Object.keys(h||{}).reduce(function(c,l){return c+(l...
function Q (line 5) | function Q(c){return c.size!==W.size||c.x!==W.x||c.y!==W.y||c.rotate!==W...
function Z (line 5) | function Z(c){var l=c.transform,h=c.containerWidth,z=c.iconWidth;return{...
function vc (line 5) | function vc(c){var l=c.icons,h=l.main,z=l.mask,v=c.prefix,m=c.iconName,s...
function mc (line 5) | function mc(c){var l=c.content,h=c.width,z=c.height,v=c.transform,m=c.ti...
function Cc (line 5) | function Cc(c,l){return Hc[c][l]}
function dc (line 5) | function dc(c){return c.reduce(function(c,l){var h=K(E.familyPrefix,l);i...
function pc (line 5) | function pc(c,l,h){if(c&&c[l]&&c[l][h])return{prefix:l,iconName:h,icon:c...
function bc (line 5) | function bc(c){var h,l=c.tag,z=c.attributes,v=void 0===z?{}:z,m=c.childr...
function Sc (line 5) | function Sc(c){return"string"==typeof(c.getAttribute?c.getAttribute(g):n...
function yc (line 5) | function yc(h,c){var z="function"==typeof c?c:gc;0===h.length?z():(r.req...
function Ac (line 5) | function Ac(c){if(e&&E.observeMutations){var v=c.treeCallback,m=c.nodeCa...
function jc (line 5) | function jc(c){for(var l="",h=0;h<c.length;h++){l+=("000"+c.charCodeAt(h...
function Fc (line 5) | function Fc(c){this.name="MissingIcon",this.message=c||"Icon unavailable...
function Qc (line 5) | function Qc(c,l){var h={found:!1,width:512,height:512,icon:Xc};if(c&&l&&...
function Zc (line 5) | function Zc(c){var l,h,z,v,m,s,e,a,t,M,f,r,i,H,n,V,o,C,L,u=(h=Oc(l=c),z=...
function $c (line 5) | function $c(c){if(M){var l=Mc.begin("searchPseudoElements");kc=!0,functi...
function cl (line 5) | function cl(c){var l=1<arguments.length&&void 0!==arguments[1]?arguments...
function ll (line 5) | function ll(c){var l=1<arguments.length&&void 0!==arguments[1]?arguments...
function zl (line 5) | function zl(c){return{found:!0,width:c[0],height:c[1],icon:{tag:"path",a...
function vl (line 5) | function vl(){E.autoAddCss&&!tl&&(Y(hl()),tl=!0)}
function ml (line 5) | function ml(l,c){return Object.defineProperty(l,"abstract",{get:c}),Obje...
function sl (line 5) | function sl(c){var l=c.prefix,h=void 0===l?"fa":l,z=c.iconName;if(z)retu...
function c (line 5) | function c(){k(this,c),this.definitions={}}
FILE: wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/fontawesome.js
function a (line 5) | function a(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.en...
function X (line 5) | function X(t){if(t&&c){var e=d.createElement("style");e.setAttribute("ty...
function B (line 5) | function B(){return++q}
function U (line 5) | function U(t){for(var e=[],r=(t||[]).length>>>0;r--;)e[r]=t[r];return e}
function V (line 5) | function V(t){return t.classList?U(t.classList):(t.getAttribute("class")...
function K (line 5) | function K(t,e){var r,a=e.split("-"),n=a[0],i=a.slice(1).join("-");retur...
function G (line 5) | function G(t){return(""+t).replace(/&/g,"&").replace(/"/g,""")....
function J (line 5) | function J(r){return Object.keys(r||{}).reduce(function(t,e){return t+(e...
function Q (line 5) | function Q(t){return t.size!==W.size||t.x!==W.x||t.y!==W.y||t.rotate!==W...
function Z (line 5) | function Z(t){var e=t.transform,r=t.containerWidth,a=t.iconWidth;return{...
function nt (line 5) | function nt(t){var e=t.icons,r=e.main,a=e.mask,n=t.prefix,i=t.iconName,o...
function it (line 5) | function it(t){var e=t.content,r=t.width,a=t.height,n=t.transform,i=t.ti...
function bt (line 5) | function bt(t,e){return gt[t][e]}
function xt (line 5) | function xt(t){return t.reduce(function(t,e){var r=K(T.familyPrefix,e);i...
function kt (line 5) | function kt(t,e,r){if(t&&t[e]&&t[e][r])return{prefix:e,iconName:r,icon:t...
function Ct (line 5) | function Ct(t){var r,e=t.tag,a=t.attributes,n=void 0===a?{}:a,i=t.childr...
function Nt (line 5) | function Nt(t){return"string"==typeof(t.getAttribute?t.getAttribute(A):n...
function Mt (line 5) | function Mt(r,t){var a="function"==typeof t?t:At;0===r.length?a():(m.req...
function Et (line 5) | function Et(t){if(s&&T.observeMutations){var n=t.treeCallback,i=t.nodeCa...
function Pt (line 5) | function Pt(t){for(var e="",r=0;r<t.length;r++){e+=("000"+t.charCodeAt(r...
function Yt (line 5) | function Yt(t){this.name="MissingIcon",this.message=t||"Icon unavailable...
function Qt (line 5) | function Qt(t,e){var r={found:!1,width:512,height:512,icon:Bt};if(t&&e&&...
function Zt (line 5) | function Zt(t){var e,r,a,n,i,o,s,l,f,c,u,m,d,g,h,p,v,b,y,w=(r=jt(e=t),a=...
function $t (line 5) | function $t(t){if(c){var e=ct.begin("searchPseudoElements");St=!0,functi...
function te (line 5) | function te(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments...
function ee (line 5) | function ee(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments...
function ae (line 5) | function ae(t){return{found:!0,width:t[0],height:t[1],icon:{tag:"path",a...
function ne (line 5) | function ne(){T.autoAddCss&&!fe&&(X(re()),fe=!0)}
function ie (line 5) | function ie(e,t){return Object.defineProperty(e,"abstract",{get:t}),Obje...
function oe (line 5) | function oe(t){var e=t.prefix,r=void 0===e?"fa":e,a=t.iconName;if(a)retu...
function t (line 5) | function t(){S(this,t),this.definitions={}}
FILE: wordclock_interfaces/static/js/scripts.js
method beforeMount (line 150) | beforeMount(){
FILE: wordclock_interfaces/static/js/vue-resource.js
function s (line 7) | function s(t){this.state=2,this.value=void 0,this.deferred=[];var e=this...
function a (line 7) | function a(t,e){t instanceof Promise?this.promise=t:this.promise=new Pro...
function f (line 7) | function f(t){return t?t.replace(/^\s*|\s*$/g,""):""}
function h (line 7) | function h(t){return t?t.toLowerCase():""}
function d (line 7) | function d(t){return"string"==typeof t}
function l (line 7) | function l(t){return"function"==typeof t}
function m (line 7) | function m(t){return null!==t&&"object"==typeof t}
function v (line 7) | function v(t){return m(t)&&Object.getPrototypeOf(t)==Object.prototype}
function y (line 7) | function y(t,e,n){t=a.resolve(t);return arguments.length<2?t:t.then(e,n)}
function b (line 7) | function b(t,e,n){return l(n=n||{})&&(n=n.call(e)),T(t.bind({$vm:e,$opti...
function g (line 7) | function g(t,e){var n,o;if(p(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],...
function T (line 7) | function T(e){return i.call(arguments,1).forEach(function(t){j(e,t,!0)}),e}
function j (line 7) | function j(t,e,n){for(var o in e)n&&(v(e[o])||p(e[o]))?(v(e[o])&&!v(t[o]...
function x (line 7) | function x(t,e,n){var o,s,u,t=(o=t,s=["+","#",".","/",";","?","&"],{vars...
function E (line 7) | function E(t){return null!=t}
function P (line 7) | function P(t){return";"===t||"&"===t||"?"===t}
function O (line 7) | function O(t,e,n){return e=("+"===t||"#"===t?C:encodeURIComponent)(e),n?...
function C (line 7) | function C(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){retur...
function $ (line 7) | function $(t,e){var r,i=this||{},n=t;return d(t)&&(n={url:t,params:e}),n...
function U (line 7) | function U(r){return new a(function(n){function t(t){var e=t.type,t=0;"l...
function e (line 7) | function e(s){return new a(function(n){var o,t=s.jsonp||"callback",r=s.j...
function n (line 7) | function n(r){return new a(function(n){function t(t){var e=r.respondWith...
function A (line 7) | function A(s){var u=require("got");return new a(function(e){var n,t=s.ge...
function S (line 7) | function S(r){var o=[k],i=[];function t(t){for(;o.length;){var n=o.pop()...
function k (line 7) | function k(t){return(t.client||(c?n:A))(t)}
function t (line 7) | function t(t){var n=this;this.map={},g(t,function(t,e){return n.append(e...
function L (line 7) | function L(t,n){return Object.keys(t).reduce(function(t,e){return h(n)==...
function t (line 7) | function t(t,e){var n,o=e.url,r=e.headers,i=e.status,e=e.statusText;this...
function t (line 7) | function t(t){this.body=null,this.params={},w(this,t,{method:(t=t.method...
function B (line 7) | function B(t){var e=this||{},n=S(e.$vm);return function(n){i.call(argume...
function M (line 7) | function M(n,o,t,r){var i=this||{},s={};return g(t=w({},M.actions,t),fun...
function N (line 7) | function N(n){var t,e;N.installed||(e=(t=n).config,t=t.nextTick,o=t,u=e....
FILE: wordclock_interfaces/static/js/vuetify.js
function __webpack_require__ (line 16) | function __webpack_require__(moduleId) {
function validateNumber (line 2699) | function validateNumber(input) {
function getStartOfWeek (line 2772) | function getStartOfWeek(timestamp, weekdays, today) {
function getEndOfWeek (line 2781) | function getEndOfWeek(timestamp, weekdays, today) {
function getStartOfMonth (line 2790) | function getStartOfMonth(timestamp) {
function getEndOfMonth (line 2797) | function getEndOfMonth(timestamp) {
function parseTime (line 2804) | function parseTime(input) {
function validateTimestamp (line 2826) | function validateTimestamp(input) {
function parseTimestamp (line 2829) | function parseTimestamp(input, now) {
function parseDate (line 2855) | function parseDate(date) {
function getDayIdentifier (line 2872) | function getDayIdentifier(timestamp) {
function getTimeIdentifier (line 2875) | function getTimeIdentifier(timestamp) {
function updateRelative (line 2878) | function updateRelative(timestamp, now, time) {
function updateMinutes (line 2895) | function updateMinutes(timestamp, minutes, now) {
function updateWeekday (line 2905) | function updateWeekday(timestamp) {
function updateFormatted (line 2909) | function updateFormatted(timestamp) {
function getWeekday (line 2914) | function getWeekday(timestamp) {
function isLeapYear (line 2925) | function isLeapYear(year) {
function daysInMonth (line 2928) | function daysInMonth(year, month) {
function copyTimestamp (line 2931) | function copyTimestamp(timestamp) {
function padNumber (line 2947) | function padNumber(x, length) {
function getDate (line 2954) | function getDate(timestamp) {
function getTime (line 2959) | function getTime(timestamp) {
function nextMinutes (line 2965) | function nextMinutes(timestamp, minutes) {
function nextDay (line 2977) | function nextDay(timestamp) {
function prevDay (line 2990) | function prevDay(timestamp) {
function relativeDays (line 3003) | function relativeDays(timestamp, mover, days) {
function findWeekday (line 3014) | function findWeekday(timestamp, weekday, mover, maxDays) {
function getWeekdaySkips (line 3025) | function getWeekdaySkips(weekdays) {
function createDayList (line 3044) | function createDayList(start, end, now, weekdaySkips, max, min) {
function createIntervalList (line 3074) | function createIntervalList(timestamp, first, minutes, count, now) {
function createNativeLocaleFormatter (line 3083) | function createNativeLocaleFormatter(locale, getOptions) {
function sanitizeDateString (line 4875) | function sanitizeDateString(dateString, type) {
function createNativeLocaleFormatter (line 6140) | function createNativeLocaleFormatter(locale, options, substrOptions) {
function isDateAllowed (line 6201) | function isDateAllowed(date, min, max, allowedFn) {
function Grid (line 7423) | function Grid(name) {
function isFontAwesome5 (line 7650) | function isFontAwesome5(iconType) {
function genPoints (line 14150) | function genPoints(points, boundary, type) {
function int (line 14188) | function int(value) {
function checkCollinear (line 14196) | function checkCollinear(p0, p1, p2) {
function getDistance (line 14199) | function getDistance(p1, p2) {
function moveTo (line 14202) | function moveTo(to, from, radius) {
function genPath (line 14229) | function genPath(points, radius, fill, height) {
function filterTreeItem (line 18676) | function filterTreeItem(item, search, textKey) {
function filterTreeItems (line 18680) | function filterTreeItems(filter, item, search, idKey, textKey, childrenK...
function goTo (line 19096) | function goTo(_target, _settings) {
function getOffset (line 19142) | function getOffset(target) {
function getContainer (line 19157) | function getContainer(container) {
function type (line 19162) | function type(el) {
function $ (line 19165) | function $(el) {
function checkVueVersion (line 19257) | function checkVueVersion(Vue, requiredVue) {
function breakpoint (line 19361) | function breakpoint(opts) {
function getClientWidth (line 19463) | function getClientWidth() {
function getClientHeight (line 19467) | function getClientHeight() {
function convertToComponentDeclarations (line 19602) | function convertToComponentDeclarations(component, iconSet) {
function icons (line 19621) | function icons(iconfont, icons) {
function getTranslation (line 19678) | function getTranslation(locale, key, usingFallback) {
function lang (line 19695) | function lang(config) {
function options (line 19747) | function options(options) {
function theme (line 19788) | function theme(theme) {
function afterLeave (line 20277) | function afterLeave(el) {
function resetStyles (line 20281) | function resetStyles(el) {
function closeConditional (line 20388) | function closeConditional() {
function directive (line 20391) | function directive(e, el, binding) {
function inserted (line 20501) | function inserted(el, binding) {
function unbind (line 20513) | function unbind(el) {
function transform (line 20566) | function transform(el, value) {
function opacity (line 20570) | function opacity(el, value) {
function isTouchEvent (line 20573) | function isTouchEvent(e) {
function isRippleEnabled (line 20667) | function isRippleEnabled(value) {
function rippleShow (line 20670) | function rippleShow(e) {
function rippleHide (line 20683) | function rippleHide(e) {
function updateRipple (line 20693) | function updateRipple(el, binding, wasEnabled) {
function removeListeners (line 20723) | function removeListeners(el) {
function directive (line 20732) | function directive(el, binding, node) {
function unbind (line 20743) | function unbind(el) {
function update (line 20747) | function update(el, binding) {
function inserted (line 20771) | function inserted(el, binding) {
function unbind (line 20783) | function unbind(el) {
function _touchstart (line 20828) | function _touchstart(event, wrapper) {
function _touchend (line 20834) | function _touchend(event, wrapper) {
function _touchmove (line 20841) | function _touchmove(event, wrapper) {
function createHandlers (line 20847) | function createHandlers(value) {
function inserted (line 20877) | function inserted(el, binding, vnode) {
function unbind (line 20890) | function unbind(el, binding, vnode) {
function applicationable (line 20995) | function applicationable(value, events) {
function isCssColor (line 21190) | function isCssColor(color) {
function searchChildren (line 21853) | function searchChildren(children) {
function validateAttachTarget (line 21924) | function validateAttachTarget(val) {
function factory (line 22094) | function factory(namespace, child, parent) {
function factory (line 23058) | function factory(selected) {
function factory (line 23111) | function factory(prop, event) {
function generateWarning (line 23172) | function generateWarning(child, parent) {
function inject (line 23177) | function inject(namespace, child, parent) {
function provide (line 23190) | function provide(namespace) {
function functionalThemeClasses (line 23736) | function functionalThemeClasses(context) {
function factory (line 23840) | function factory(prop, event) {
function fromXYZ (line 25046) | function fromXYZ(xyz) {
function toXYZ (line 25051) | function toXYZ(lab) {
function clamp (line 25082) | function clamp(value) {
function fromXYZ (line 25085) | function fromXYZ(xyz) {
function toXYZ (line 25096) | function toXYZ(rgb) {
function colorToInt (line 25127) | function colorToInt(color) {
function intToHex (line 25154) | function intToHex(color) {
function colorToHex (line 25159) | function colorToHex(color) {
function createMessage (line 25178) | function createMessage(message, vm, parent) {
function consoleInfo (line 25194) | function consoleInfo(message, vm, parent) {
function consoleWarn (line 25198) | function consoleWarn(message, vm, parent) {
function consoleError (line 25202) | function consoleError(message, vm, parent) {
function deprecate (line 25206) | function deprecate(original, replacement, vm, parent) {
function formatComponentName (line 25218) | function formatComponentName(vm, includeFile) {
function generateComponentTrace (line 25231) | function generateComponentTrace(vm) {
function dedupeModelListeners (line 25276) | function dedupeModelListeners(data) {
function createSimpleFunctional (line 25341) | function createSimpleFunctional(c, el, name) {
function mergeTransitions (line 25356) | function mergeTransitions(transitions, array) {
function createSimpleTransition (line 25361) | function createSimpleTransition(name, origin, mode) {
function createJavaScriptTransition (line 25429) | function createJavaScriptTransition(name, functions, mode) {
function directiveConfig (line 25451) | function directiveConfig(binding, defaults) {
function addOnceEventListener (line 25457) | function addOnceEventListener(el, event, cb) {
function addPassiveEventListener (line 25479) | function addPassiveEventListener(el, event, cb, options) {
function getNestedValue (line 25482) | function getNestedValue(obj, path, fallback) {
function deepEqual (line 25494) | function deepEqual(a, b) {
function getObjectValueByPath (line 25513) | function getObjectValueByPath(obj, path, fallback) {
function getPropertyFromItem (line 25520) | function getPropertyFromItem(item, property, fallback) {
function createRange (line 25529) | function createRange(length) {
function getZIndex (line 25534) | function getZIndex(el) {
function escapeHTML (line 25545) | function escapeHTML(str) {
function filterObjectOnKeys (line 25550) | function filterObjectOnKeys(obj, keys) {
function filterChildren (line 25560) | function filterChildren(array, tag) {
function convertToUnit (line 25568) | function convertToUnit(str, unit) {
function kebabCase (line 25580) | function kebabCase(str) {
function isObject (line 25583) | function isObject(obj) {
function remapInternalIcon (line 25608) | function remapInternalIcon(vm, iconName) {
function keys (line 25615) | function keys(o) {
function arrayDiff (line 25630) | function arrayDiff(a, b) {
function upperFirst (line 25640) | function upperFirst(str) {
function getSlotType (line 25649) | function getSlotType(vm, name, split) {
function mixins (line 25784) | function mixins() {
function rebuildFunctionalSlots (line 25804) | function rebuildFunctionalSlots(slots, h) {
function parse (line 25858) | function parse(theme, isItem) {
function genStyles (line 25906) | function genStyles(theme, cssVar) {
function genVariations (line 25936) | function genVariations(name, value) {
function lighten (line 25948) | function lighten(value, amount) {
function darken (line 25953) | function darken(value, amount) {
FILE: wordclock_interfaces/web_interface.py
class web_interface (line 9) | class web_interface:
method __init__ (line 64) | def __init__(self, wordclock):
method threaded_app (line 69) | def threaded_app(self):
method scrolltext_task (line 73) | def scrolltext_task():
function index (line 78) | def index():
class Plugins (line 83) | class Plugins(Resource):
method get (line 92) | def get(self):
class Plugin (line 97) | class Plugin(Resource):
method get (line 106) | def get(self):
method post (line 116) | def post(self):
class Button (line 128) | class Button(Resource):
method post (line 135) | def post(self):
class Color (line 143) | class Color(Resource):
method get (line 149) | def get(self):
method post (line 166) | def post(self):
class Brightness (line 192) | class Brightness(Resource):
method get (line 198) | def get(self):
method post (line 207) | def post(self):
class ColorTemperature (line 215) | class ColorTemperature(Resource):
method post (line 222) | def post(self):
class scrolltext (line 235) | class scrolltext(Resource):
method get (line 241) | def get(self):
method post (line 256) | def post(self):
FILE: wordclock_plugins/feed_parser/plugin.py
class plugin (line 5) | class plugin:
method __init__ (line 10) | def __init__(self, config):
method run (line 20) | def run(self, wcd, wci):
FILE: wordclock_plugins/ip_address/plugin.py
class plugin (line 5) | class plugin:
method __init__ (line 10) | def __init__(self, config):
method run (line 20) | def run(self, wcd, wci):
FILE: wordclock_plugins/leds_off/plugin.py
class plugin (line 4) | class plugin:
method __init__ (line 9) | def __init__(self, config):
method run (line 18) | def run(self, wcd, wci):
FILE: wordclock_plugins/matrix/plugin.py
class plugin (line 8) | class plugin:
method __init__ (line 13) | def __init__(self, config):
method run (line 33) | def run(self, wcd, wci):
FILE: wordclock_plugins/rainbow/plugin.py
class plugin (line 4) | class plugin:
method __init__ (line 12) | def __init__(self, config):
method run (line 21) | def run(self, wcd, wci):
method wheel (line 37) | def wheel(self, pos):
FILE: wordclock_plugins/restart/plugin.py
class plugin (line 5) | class plugin:
method __init__ (line 10) | def __init__(self, config):
method run (line 19) | def run(self, wcd, wci):
FILE: wordclock_plugins/shutdown/plugin.py
class plugin (line 5) | class plugin:
method __init__ (line 12) | def __init__(self, config):
method run (line 21) | def run(self, wcd, wci):
FILE: wordclock_plugins/snake/Snakeobject.py
class Snakeobject (line 4) | class Snakeobject:
method __init__ (line 6) | def __init__(self, cols, rows):
FILE: wordclock_plugins/snake/plugin.py
class plugin (line 12) | class plugin:
method __init__ (line 17) | def __init__(self, config):
method updatePoints (line 26) | def updatePoints(self, sn, wcd):
method keyPressed (line 43) | def keyPressed(self, event, sn, wcd, wci):
method moveSnake (line 54) | def moveSnake(self, sn, drow, dcol):
method removeTail (line 131) | def removeTail(self, sn):
method gameOver (line 143) | def gameOver(self, sn):
method drawSnakeCell (line 146) | def drawSnakeCell(self, sn, snakeBoard, row, col, headRow, headCol, wcd):
method drawSnakeBoard (line 159) | def drawSnakeBoard(self, sn, wcd):
method redrawAll (line 173) | def redrawAll(self, sn, wcd):
method placeFood (line 190) | def placeFood(self, sn):
method findSnakeHead (line 204) | def findSnakeHead(self, sn):
method findSnakeTail (line 220) | def findSnakeTail(self, sn):
method loadSnakeBoard (line 236) | def loadSnakeBoard(self, sn):
method init (line 257) | def init(self, sn, wcd):
method run (line 267) | def run(self, wcd, wci):
FILE: wordclock_plugins/sunrise/plugin.py
class plugin (line 8) | class plugin:
method __init__ (line 14) | def __init__(self, config):
method run (line 30) | def run(self, wcd, wci):
FILE: wordclock_plugins/test_strip/plugin.py
class plugin (line 5) | class plugin:
method __init__ (line 10) | def __init__(self, config):
method run (line 19) | def run(self, wcd, wci):
FILE: wordclock_plugins/tetris/brick.py
class brick (line 9) | class brick:
method __init__ (line 10) | def __init__(self, layout, color):
method clone (line 25) | def clone(self):
method rotate_cw (line 28) | def rotate_cw(self):
method rotate_ccw (line 31) | def rotate_ccw(self):
function padTop (line 35) | def padTop(layout):
function rot_left (line 45) | def rot_left(layout):
function rot_right (line 49) | def rot_right(layout):
function rot_twice (line 53) | def rot_twice(layout):
FILE: wordclock_plugins/tetris/plugin.py
class plugin (line 13) | class plugin:
method __init__ (line 18) | def __init__(self, config):
method run (line 58) | def run(self, wcd, wci):
method clear_lines (line 148) | def clear_lines(self, wcd):
method gameover (line 170) | def gameover(self, wcd):
method draw (line 181) | def draw(self, wcd):
method carve (line 188) | def carve(self, brick, x, y):
method collision (line 196) | def collision(self, brick, x, y):
method uncarve (line 206) | def uncarve(self, brick, x, y):
FILE: wordclock_plugins/time_as_words_dutch/plugin.py
class plugin (line 7) | class plugin:
method __init__ (line 12) | def __init__(self, config):
method run (line 24) | def run(self, wcd, wci):
FILE: wordclock_plugins/time_as_words_dutch/time_as_words_dutch.py
class time_as_words_dutch (line 2) | class time_as_words_dutch():
method __init__ (line 7) | def __init__(self):
method get_time (line 36) | def get_time(self, time, withPrefix=True):
FILE: wordclock_plugins/time_as_words_german/plugin.py
class plugin (line 7) | class plugin:
method __init__ (line 12) | def __init__(self, config):
method run (line 25) | def run(self, wcd, wci):
FILE: wordclock_plugins/time_as_words_german/time_as_words_german.py
class time_as_words_german (line 2) | class time_as_words_german():
method __init__ (line 7) | def __init__(self):
method get_time (line 36) | def get_time(self, time, withPrefix=True):
FILE: wordclock_plugins/time_default/plugin.py
class plugin (line 9) | class plugin:
method __init__ (line 17) | def __init__(self, config):
method run (line 135) | def run(self, wcd, wci):
method show_time (line 218) | def show_time(self, wcd, wci, animation=None, animation_speed=25):
method color_selection (line 228) | def color_selection(self, wcd, wci):
FILE: wordclock_plugins/time_default/time_bavarian.py
class time_bavarian (line 2) | class time_bavarian:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_dutch.py
class time_dutch (line 2) | class time_dutch:
method __init__ (line 38) | def __init__(self):
method get_time (line 67) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_dutch_10-9.py
class time_dutch (line 2) | class time_dutch:
method __init__ (line 37) | def __init__(self):
method get_time (line 66) | def get_time(self, time, withPrefix=True):
FILE: wordclock_plugins/time_default/time_english.py
class time_english (line 4) | class time_english:
method __init__ (line 10) | def __init__(self):
method get_time (line 64) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_french.py
class time_french (line 1) | class time_french:
method __init__ (line 7) | def __init__(self):
method get_time (line 63) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_german.py
class time_german (line 2) | class time_german:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_german2.py
class time_german2 (line 1) | class time_german2:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_italian.py
class time_italian (line 3) | class time_italian():
method __init__ (line 9) | def __init__(self):
method get_time (line 38) | def get_time(self, time, withPrefix=True):
FILE: wordclock_plugins/time_default/time_romanian.py
class time_romanian (line 4) | class time_romanian:
method __init__ (line 10) | def __init__(self):
method get_time (line 63) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_swabian.py
class time_swabian (line 2) | class time_swabian:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_swabian2.py
class time_swabian2 (line 1) | class time_swabian2:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_swedish.py
class time_swedish (line 2) | class time_swedish:
method __init__ (line 8) | def __init__(self):
method get_time (line 37) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_swiss_german.py
class time_swiss_german (line 4) | class time_swiss_german:
method __init__ (line 10) | def __init__(self):
method get_time (line 63) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_default/time_swiss_german2.py
class time_swiss_german2 (line 3) | class time_swiss_german2:
method __init__ (line 9) | def __init__(self):
method get_time (line 61) | def get_time(self, time, purist):
FILE: wordclock_plugins/time_in_seconds/plugin.py
class plugin (line 8) | class plugin:
method __init__ (line 15) | def __init__(self, config):
method run (line 30) | def run(self, wcd, wci):
method show_time (line 50) | def show_time(self, wcd, wci, currentSecond):
FILE: wordclock_plugins/time_in_seconds/time_seconds.py
class time_seconds (line 1) | class time_seconds:
method __init__ (line 7) | def __init__(self):
method get_time (line 35) | def get_time(self, seconds):
FILE: wordclock_plugins/time_matrix/plugin.py
class plugin (line 11) | class plugin:
method __init__ (line 19) | def __init__(self, config):
method run (line 44) | def run(self, wcd, wci):
FILE: wordclock_plugins/weather_forecast/plugin.py
class plugin (line 9) | class plugin:
method __init__ (line 15) | def __init__(self, config):
method run (line 40) | def run(self, wcd, wci):
FILE: wordclock_tools/wiring.py
class wiring (line 4) | class wiring:
method __init__ (line 13) | def __init__(self, config):
method setColorBy1DCoordinate (line 66) | def setColorBy1DCoordinate(self, strip, i, color):
method setColorBy1DCoordinates (line 72) | def setColorBy1DCoordinates(self, strip, ledCoordinates, color):
method setColorBy2DCoordinates (line 79) | def setColorBy2DCoordinates(self, strip, x, y, color):
method setColorToMinute (line 85) | def setColorToMinute(self, strip, min, color):
method getStripIndexFrom2D (line 91) | def getStripIndexFrom2D(self, x, y):
method mapMinutes (line 94) | def mapMinutes(self, min):
class base_wiring (line 101) | class base_wiring:
method __init__ (line 109) | def __init__(self, WCA_WIDTH, WCA_HEIGHT):
method getStripIndexFrom2D (line 114) | def getStripIndexFrom2D(self, x, y):
method mapMinutes (line 127) | def mapMinutes(self, min):
method mapMinutesInternal (line 138) | def mapMinutesInternal(self, min):
method mapMinutesInternalAtBegin (line 148) | def mapMinutesInternalAtBegin(self, min):
method mapMinutesInternalLedsAtEnd (line 154) | def mapMinutesInternalLedsAtEnd(self, min):
class bernds_wiring (line 161) | class bernds_wiring(base_wiring):
class gtk_wiring (line 164) | class gtk_wiring(base_wiring):
method getStripIndexFrom2D (line 166) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 169) | def mapMinutesInternal(self, min):
class christians_wiring (line 173) | class christians_wiring(base_wiring):
method getStripIndexFrom2D (line 175) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 181) | def mapMinutesInternal(self, min):
class timos_wiring (line 185) | class timos_wiring(base_wiring):
method getStripIndexFrom2D (line 187) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 193) | def mapMinutesInternal(self, min):
class mini_wiring (line 207) | class mini_wiring(base_wiring):
method __init__ (line 209) | def __init__(self, WCA_WIDTH, WCA_HEIGHT):
method getStripIndexFrom2D (line 214) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 220) | def mapMinutesInternal(self, min):
class sebastians_wiring (line 224) | class sebastians_wiring(base_wiring):
method __init__ (line 230) | def __init__(self, WCA_WIDTH, WCA_HEIGHT):
method getStripIndexFrom2D (line 235) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 241) | def mapMinutesInternal(self, min):
class mini_wiring2 (line 255) | class mini_wiring2(base_wiring):
method __init__ (line 261) | def __init__(self, WCA_WIDTH, WCA_HEIGHT):
method getStripIndexFrom2D (line 266) | def getStripIndexFrom2D(self, x, y):
class micro_net_wiring (line 273) | class micro_net_wiring(base_wiring):
method getStripIndexFrom2D (line 279) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 285) | def mapMinutesInternal(self, min):
class webdisaster_wiring (line 299) | class webdisaster_wiring(base_wiring):
method getStripIndexFrom2D (line 305) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 311) | def mapMinutesInternal(self, min):
class momonunu_wiring (line 317) | class momonunu_wiring(base_wiring):
method getStripIndexFrom2D (line 322) | def getStripIndexFrom2D(self, x, y):
method mapMinutesInternal (line 328) | def mapMinutesInternal(self, min):
FILE: wordclock_tools/wordclock_colors.py
class Color (line 4) | class Color:
method __init__ (line 6) | def __init__(self, r, g, b):
method __sub__ (line 11) | def __sub__(self, other):
method brightness (line 21) | def brightness(self):
function color_temperature_to_rgb (line 49) | def color_temperature_to_rgb(color_temperature):
FILE: wordclock_tools/wordclock_config.py
class wordclock_config (line 6) | class wordclock_config:
method __init__ (line 8) | def __init__(self, basePath):
method loadConfig (line 11) | def loadConfig(self, basePath):
method request (line 34) | def request(self, method, *args):
method getboolean (line 41) | def getboolean(self, *args):
method getint (line 44) | def getint(self, *args):
method get (line 47) | def get(self, *args):
FILE: wordclock_tools/wordclock_display.py
class wordclock_display (line 30) | class wordclock_display:
method __init__ (line 36) | def __init__(self, config, wci):
method getBrightness (line 152) | def getBrightness(self):
method setBrightness (line 158) | def setBrightness(self, brightness):
method setBrightnessAndShow (line 164) | def setBrightnessAndShow(self, brightness):
method setColorBy1DCoordinates (line 172) | def setColorBy1DCoordinates(self, ledCoordinates, color):
method setColorBy2DCoordinates (line 179) | def setColorBy2DCoordinates(self, x, y, color):
method setColorByMinute (line 185) | def setColorByMinute(self, min, color):
method get_wca_height (line 189) | def get_wca_height(self):
method get_wca_width (line 195) | def get_wca_width(self):
method get_led_count (line 201) | def get_led_count(self):
method dispRes (line 207) | def dispRes(self):
method setColorToAll (line 214) | def setColorToAll(self, color, includeMinutes=True):
method setColorTemperatureToAll (line 226) | def setColorTemperatureToAll(self, temperature, includeMinutes=True):
method resetDisplay (line 233) | def resetDisplay(self):
method showIcon (line 239) | def showIcon(self, plugin, iconName):
method setImage (line 247) | def setImage(self, absPathToImage):
method animate (line 260) | def animate(self, plugin, animationName, fps=10, count=1, invert=False):
method showText (line 283) | def showText(self, text, font=None, fg_color=None, bg_color=None, fps=...
method setMinutes (line 327) | def setMinutes(self, time, color):
method apply_brightness (line 332) | def apply_brightness(self, color):
method render_transition_step (line 337) | def render_transition_step(self, transition_cache_step):
method show (line 345) | def show(self, animation = None, animation_speed = 5):
FILE: wordclock_tools/wordclock_interface.py
class wordclock_interface (line 4) | class wordclock_interface:
method __init__ (line 10) | def __init__(self, config):
method getPinState (line 40) | def getPinState(self, pin):
method waitForEvent (line 47) | def waitForEvent(self, pinrange_to_listen, cps=10):
method waitSecondsForEvent (line 66) | def waitSecondsForEvent(self, pinrange_to_listen, seconds, cps=10):
class button_settings (line 86) | class button_settings:
method __init__ (line 91) | def __init__(self, config):
method pinState (line 145) | def pinState(self, i):
FILE: wordclock_tools/wordclock_screen.py
class wordclock_screen (line 5) | class wordclock_screen:
method __init__ (line 7) | def __init__(self, wcd):
method __sub__ (line 21) | def __sub__(self, other):
FILE: wordclock_tools/wordclock_strip_base.py
class wordclock_strip_base (line 2) | class wordclock_strip_base:
FILE: wordclock_tools/wordclock_strip_neopixel.py
class wordclock_strip_neopixel (line 6) | class wordclock_strip_neopixel(Adafruit_NeoPixel):
method __init__ (line 8) | def __init__(self, wcl):
method setPixelColor (line 16) | def setPixelColor(self, index, color):
FILE: wordclock_tools/wordclock_strip_wx.py
class WxStripWindow (line 13) | class WxStripWindow(wx.Frame):
method __init__ (line 15) | def __init__(self, parent, title,weh):
method onKeyPress (line 27) | def onKeyPress(self, event=None):
method updateDisplay (line 36) | def updateDisplay(self):
class WxStrip (line 42) | class WxStrip():
method __init__ (line 43) | def __init__(self, weh):
method delete_event (line 85) | def delete_event(self, widget, event, data=None):
method setBrightness (line 88) | def setBrightness(self, brightness):
method getBrightness (line 91) | def getBrightness(self):
method begin (line 94) | def begin(self):
method setPixelColor (line 99) | def setPixelColor(self, index, color):
method update (line 102) | def update(self):
method show (line 110) | def show(self):
FILE: wordclock_webinterface/js/fastclick.js
function FastClick (line 23) | function FastClick(layer, options) {
FILE: wordclock_webinterface/web_interface.py
class wordclock_webinterface (line 20) | class wordclock_webinterface:
method __init__ (line 24) | def __init__(self, wordclock):
class static (line 32) | class static:
method GET (line 36) | def GET(self, media, file):
class web_interface (line 44) | class web_interface:
method __init__ (line 48) | def __init__(self):
method send_json (line 53) | def send_json(self, jsonobj):
method recv_msg (line 60) | def recv_msg(self):
method __recvall (line 69) | def __recvall(self, n):
method POST (line 79) | def POST(self):
method GET (line 92) | def GET(self):
Condensed preview — 169 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6,896K chars).
[
{
"path": ".gitignore",
"chars": 307,
"preview": "# ignore pyc-files\n*.pyc\n\n# ignore build of documentation (to build latest documentation on your own)\ndoc/_build*\ndoc/_a"
},
{
"path": "LICENSE",
"chars": 35145,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 2157,
"preview": "## Software to create a Raspberry Pi based wordclock\n\n### :vertical_traffic_light: Repo status\n\n<p align=\"left\">\n <img a"
},
{
"path": "create_layout.py",
"chars": 11455,
"preview": "import ast\nimport configparser\nimport getopt\nimport os\nimport svgwrite\nimport sys\nimport wordclock_tools.wiring as wirin"
},
{
"path": "docs/Makefile",
"chars": 5658,
"preview": "# Makefile for Sphinx documentation\n#\n\n# You can set these variables from the command line.\nSPHINXOPTS =\nSPHINXBUILD "
},
{
"path": "docs/_config.yml",
"chars": 29,
"preview": "theme: jekyll-theme-architect"
},
{
"path": "docs/conf.py",
"chars": 7942,
"preview": "# -*- coding: utf-8 -*-\n#\n# wordclock_for_rpi documentation build configuration file, created by\n# sphinx-quickstart on "
},
{
"path": "docs/doc_further_reading.rst",
"chars": 3160,
"preview": ".. _further_reading:\nFurther reading\n===============\n\n.. _concepts:\nConcepts and background\n+++++++++++++++++++++++\n\n.. "
},
{
"path": "docs/doc_general_considerations.rst",
"chars": 4193,
"preview": ".. _general_considerations:\nGeneral considerations\n======================\n\n.. _building_a_wordclock:\nIf you want to buil"
},
{
"path": "docs/doc_hardware_setup.rst",
"chars": 3333,
"preview": ".. _hardware_setup:\n.. _hardware_setup_steps:\nHardware setup\n==============\n\n.. _skeleton_setup:\nSkeleton setup\n++++++++"
},
{
"path": "docs/doc_software_setup.rst",
"chars": 4282,
"preview": ".. _software_installation:\n\nSoftware setup\n==============\n\n\nSetup your raspberry pi \n+++++++++++\n\nSetup your raspberry p"
},
{
"path": "docs/doc_troubleshooting.rst",
"chars": 2345,
"preview": ".. _trouble-shooting:\nTrouble shooting\n================\n\nSomething is not working?\n\n* The command::\n\n sudo pip instal"
},
{
"path": "docs/index.rst",
"chars": 1133,
"preview": ".. wordclock_for_rpi documentation master file, created by\n sphinx-quickstart on Sun Nov 30 00:50:53 2014.\n You can "
},
{
"path": "fontdemo.py",
"chars": 10141,
"preview": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# Needs freetype-py>=1.0\n\n# For more info see:\n# http://dbader.org/blog/mo"
},
{
"path": "requirements.txt",
"chars": 342,
"preview": "# install pygobject as outlined in pyobject.readthedocs.io/en/latest/getting_started.html for ui=based rendering (for de"
},
{
"path": "wordclock.py",
"chars": 8621,
"preview": "import sys\nimport coloredlogs\nfrom importlib import import_module\nimport logging\nimport netifaces\nimport inspect\nimport "
},
{
"path": "wordclock_config/wordclock_config.reference.cfg",
"chars": 7012,
"preview": "# -*- coding: utf-8 -*-\n\n# This is an examplary configuration file.\n# Copy this to wordclock_config/wordclock_config.cfg"
},
{
"path": "wordclock_interfaces/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_interfaces/event_handler.py",
"chars": 2667,
"preview": "import threading\nfrom monotonic import monotonic as _time\n\n\nclass next_action:\n NEXT_PLUGIN = 1\n GOTO_MENU = 2\n "
},
{
"path": "wordclock_interfaces/gpio_interface.py",
"chars": 2350,
"preview": "import RPi.GPIO as GPIO\nimport logging\n\n\nclass gpio_interface:\n def __init__(self, config, evtHandler):\n '''\n "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/LICENSE.txt",
"chars": 1544,
"preview": "Font Awesome Free License\n-------------------------\n\nFont Awesome Free is free, open source, and GPL friendly. You can u"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/all.css",
"chars": 45687,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/brands.css",
"chars": 637,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/fontawesome.css",
"chars": 44314,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/regular.css",
"chars": 652,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/solid.css",
"chars": 644,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/svg-with-js.css",
"chars": 4815,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/css/v4-shims.css",
"chars": 41293,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/all.js",
"chars": 914267,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/brands.js",
"chars": 353804,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/fontawesome.js",
"chars": 29932,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/regular.js",
"chars": 105763,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/solid.js",
"chars": 425311,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/js/v4-shims.js",
"chars": 15205,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_animated.less",
"chars": 297,
"preview": "// Animated Icons\n// --------------------------\n\n.@{fa-css-prefix}-spin {\n animation: fa-spin 2s infinite linear;\n}\n\n.@"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_bordered-pulled.less",
"chars": 422,
"preview": "// Bordered & Pulled\n// -------------------------\n\n.@{fa-css-prefix}-border {\n border-radius: .1em;\n border: solid .08"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_core.less",
"chars": 291,
"preview": "// Base Class Definition\n// -------------------------\n\n.@{fa-css-prefix}, .fas, .far, .fal, .fab {\n -moz-osx-font-smoot"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_fixed-width.less",
"chars": 119,
"preview": "// Fixed Width Icons\n// -------------------------\n.@{fa-css-prefix}-fw {\n text-align: center;\n width: (20em / 16);\n}\n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_icons.less",
"chars": 75518,
"preview": "/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen\n readers do not read off random characters th"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_larger.less",
"chars": 454,
"preview": "// Icon Sizes\n// -------------------------\n\n.larger(@factor) when (@factor > 0) {\n .larger((@factor - 1));\n\n .@{fa-css"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_list.less",
"chars": 320,
"preview": "// List Icons\n// -------------------------\n\n.@{fa-css-prefix}-ul {\n list-style-type: none;\n margin-left: @fa-li-width "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_mixins.less",
"chars": 1264,
"preview": "// Mixins\n// --------------------------\n\n.fa-icon() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: an"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_rotated-flipped.less",
"chars": 711,
"preview": "// Rotated & Flipped Icons\n// -------------------------\n\n.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }\n.@"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_screen-reader.less",
"chars": 118,
"preview": "// Screen Readers\n// -------------------------\n\n.sr-only { .sr-only(); }\n.sr-only-focusable { .sr-only-focusable(); }\n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_shims.less",
"chars": 60686,
"preview": ".@{fa-css-prefix}.@{fa-css-prefix}-glass:before { content: @fa-var-glass-martini; }\n\n.@{fa-css-prefix}.@{fa-css-prefix}-"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_stacked.less",
"chars": 478,
"preview": "// Stacked Icons\n// -------------------------\n\n.@{fa-css-prefix}-stack {\n display: inline-block;\n height: 2em;\n line-"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/_variables.less",
"chars": 31852,
"preview": "// Variables\n// --------------------------\n\n@fa-font-path: \"../webfonts\";\n@fa-font-size-base: 16px;\n@fa-line-he"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/fa-brands.less",
"chars": 574,
"preview": "@import \"_variables.less\";\n\n@font-face {\n font-family: 'Font Awesome 5 Brands';\n font-style: normal;\n font-weight: no"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/fa-regular.less",
"chars": 593,
"preview": "@import \"_variables.less\";\n\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 400;"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/fa-solid.less",
"chars": 586,
"preview": "@import \"_variables.less\";\n\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 900;"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/fontawesome.less",
"chars": 499,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/less/v4-shims.less",
"chars": 218,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/categories.yml",
"chars": 23437,
"preview": "accessibility:\n icons:\n - accessible-icon\n - american-sign-language-interpreting\n - assistive-listening-system"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/icons.json",
"chars": 2396346,
"preview": "{\n \"500px\": {\n \"changes\": [\n \"4.4\",\n \"5.0.0\"\n ],\n \"ligatures\": [],\n \"search\": {\n \"terms\": []"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/icons.yml",
"chars": 169418,
"preview": "500px:\n changes:\n - '4.4'\n - 5.0.0\n label: 500px\n search:\n terms: []\n styles:\n - brands\n unicode: f26e\n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/shims.json",
"chars": 23578,
"preview": "[\n [\n \"glass\",\n null,\n \"glass-martini\"\n ],\n [\n \"meetup\",\n \"fab\",\n null\n ],\n [\n \"star-o\",\n \""
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/shims.yml",
"chars": 4620,
"preview": "area-chart:\n name: chart-area\narrow-circle-o-down:\n name: arrow-alt-circle-down\n prefix: far\narrow-circle-o-left:\n n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/metadata/sponsors.yml",
"chars": 9633,
"preview": "accusoft:\n icons:\n - accusoft\n label: Accusoft\n url: 'https://www.accusoft.com'\nadministrator-technology:\n icons:"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_animated.scss",
"chars": 300,
"preview": "// Animated Icons\n// --------------------------\n\n.#{$fa-css-prefix}-spin {\n animation: fa-spin 2s infinite linear;\n}\n\n."
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_bordered-pulled.scss",
"chars": 428,
"preview": "// Bordered & Pulled\n// -------------------------\n\n.#{$fa-css-prefix}-border {\n border: solid .08em $fa-border-color;\n "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_core.scss",
"chars": 292,
"preview": "// Base Class Definition\n// -------------------------\n\n.#{$fa-css-prefix},\n.fas,\n.far,\n.fal,\n.fab {\n -moz-osx-font-smoo"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_fixed-width.scss",
"chars": 120,
"preview": "// Fixed Width Icons\n// -------------------------\n.#{$fa-css-prefix}-fw {\n text-align: center;\n width: (20em / 16);\n}\n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_icons.scss",
"chars": 89958,
"preview": "/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen\nreaders do not read off random characters that "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_larger.scss",
"chars": 393,
"preview": "// Icon Sizes\n// -------------------------\n\n// makes the font 33% larger relative to the icon container\n.#{$fa-css-prefi"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_list.scss",
"chars": 322,
"preview": "// List Icons\n// -------------------------\n\n.#{$fa-css-prefix}-ul {\n list-style-type: none;\n margin-left: $fa-li-width"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_mixins.scss",
"chars": 1293,
"preview": "// Mixins\n// --------------------------\n\n@mixin fa-icon {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothi"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_rotated-flipped.scss",
"chars": 771,
"preview": "// Rotated & Flipped Icons\n// -------------------------\n\n.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_screen-reader.scss",
"chars": 130,
"preview": "// Screen Readers\n// -------------------------\n\n.sr-only { @include sr-only; }\n.sr-only-focusable { @include sr-only-foc"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_shims.scss",
"chars": 65282,
"preview": ".#{$fa-css-prefix}.#{$fa-css-prefix}-glass:before { content: fa-content($fa-var-glass-martini); }\n\n.#{$fa-css-prefix}.#{"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_stacked.scss",
"chars": 492,
"preview": "// Stacked Icons\n// -------------------------\n\n.#{$fa-css-prefix}-stack {\n display: inline-block;\n height: 2em;\n line"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/_variables.scss",
"chars": 29851,
"preview": "// Variables\n// --------------------------\n\n$fa-font-path: \"../webfonts\" !default;\n$fa-font-size-base: "
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/fa-brands.scss",
"chars": 566,
"preview": "@import 'variables';\n\n@font-face {\n font-family: 'Font Awesome 5 Brands';\n font-style: normal;\n font-weight: normal;\n"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/fa-regular.scss",
"chars": 585,
"preview": "@import 'variables';\n\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 400;\n src"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/fa-solid.scss",
"chars": 578,
"preview": "@import 'variables';\n\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 900;\n src"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/fontawesome.scss",
"chars": 427,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/fontawesome-free-5.1.0-web/scss/v4-shims.scss",
"chars": 218,
"preview": "/*!\n * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (I"
},
{
"path": "wordclock_interfaces/static/js/scripts.js",
"chars": 5367,
"preview": "var IroColorPicker = window.iro.ColorPicker(\"#color-picker-container\", {\n\twidth: 320,\n\tcolor: \"#fcc\"\n });\n\nvar vm = new"
},
{
"path": "wordclock_interfaces/static/js/vue-resource.js",
"chars": 15067,
"preview": "/*!\n * vue-resource v1.5.3\n * https://github.com/pagekit/vue-resource\n * Released under the MIT License.\n */\n\n!function("
},
{
"path": "wordclock_interfaces/static/js/vuetify.js",
"chars": 1101235,
"preview": "(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object"
},
{
"path": "wordclock_interfaces/static/material-design-icons/iconfont/MaterialIcons-Regular.ijmap",
"chars": 28416,
"preview": "{\"icons\":{\"e84d\":{\"name\":\"3d Rotation\"},\"eb3b\":{\"name\":\"Ac Unit\"},\"e190\":{\"name\":\"Access Alarm\"},\"e191\":{\"name\":\"Access "
},
{
"path": "wordclock_interfaces/static/material-design-icons/iconfont/README.md",
"chars": 316,
"preview": "The recommended way to use the Material Icons font is by linking to the web font hosted on Google Fonts:\n\n```html\n<link "
},
{
"path": "wordclock_interfaces/static/material-design-icons/iconfont/codepoints",
"chars": 16289,
"preview": "3d_rotation e84d\nac_unit eb3b\naccess_alarm e190\naccess_alarms e191\naccess_time e192\naccessibility e84e\naccessible e914\na"
},
{
"path": "wordclock_interfaces/static/material-design-icons/iconfont/material-icons.css",
"chars": 970,
"preview": "@font-face {\n font-family: 'Material Icons';\n font-style: normal;\n font-weight: 400;\n src: url(MaterialIcons-Regular"
},
{
"path": "wordclock_interfaces/static/style.css",
"chars": 337,
"preview": "html {\n position: relative;\n min-height: 100%;\n}\nbody {\n /* Margin bottom by footer height */\n margin-bottom: 60px;\n"
},
{
"path": "wordclock_interfaces/static/styles.css",
"chars": 337,
"preview": "html {\n position: relative;\n min-height: 100%;\n}\nbody {\n /* Margin bottom by footer height */\n margin-bottom: 60px;\n"
},
{
"path": "wordclock_interfaces/templates/app.html",
"chars": 19939,
"preview": "<!DOCTYPE html>\n<html>\n <head>\n <title>Word Clock</title>\n <meta name=\"mobile-web-app-capable\" content=\"yes\""
},
{
"path": "wordclock_interfaces/web_interface.py",
"chars": 11932,
"preview": "from flask import Flask, render_template\r\nimport _thread\r\nimport logging\r\nfrom flask_restx import Api, Resource, fields\r"
},
{
"path": "wordclock_plugins/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/feed_parser/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/feed_parser/plugin.py",
"chars": 740,
"preview": "import os\nimport feedparser\n\n\nclass plugin:\n \"\"\"\n A class to display the latest headline from rss-feed\n \"\"\"\n\n "
},
{
"path": "wordclock_plugins/ip_address/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/ip_address/plugin.py",
"chars": 793,
"preview": "import os\nimport netifaces\n\n\nclass plugin:\n \"\"\"\n A class to restart the RPI\n \"\"\"\n\n def __init__(self, config"
},
{
"path": "wordclock_plugins/leds_off/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/leds_off/plugin.py",
"chars": 658,
"preview": "import os\n\n\nclass plugin:\n \"\"\"\n A class to switch off the LEDs temporarily.\n \"\"\"\n\n def __init__(self, config"
},
{
"path": "wordclock_plugins/matrix/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/matrix/plugin.py",
"chars": 2464,
"preview": "# Authored by Markus E.\n\nimport os\nimport wordclock_tools.wordclock_colors as wcc\nimport random\n\n\nclass plugin:\n \"\"\"\n"
},
{
"path": "wordclock_plugins/rainbow/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/rainbow/plugin.py",
"chars": 1734,
"preview": "import os\nimport wordclock_tools.wordclock_colors as wcc\n\nclass plugin:\n \"\"\"\n A class to display the current time "
},
{
"path": "wordclock_plugins/restart/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/restart/plugin.py",
"chars": 689,
"preview": "import os\nimport time\n\n\nclass plugin:\n \"\"\"\n A class to restart the RPI\n \"\"\"\n\n def __init__(self, config):\n "
},
{
"path": "wordclock_plugins/shutdown/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/shutdown/plugin.py",
"chars": 791,
"preview": "import os\nimport time\n\n\nclass plugin:\n \"\"\"\n A class to shutdown the RPI\n\n ..note:: This should be done before d"
},
{
"path": "wordclock_plugins/snake/Snakeobject.py",
"chars": 211,
"preview": "# Authored by Bernhard Weyrauch\n# http://www.bernhardweyrauch.de\n\nclass Snakeobject:\n\n def __init__(self, cols, rows)"
},
{
"path": "wordclock_plugins/snake/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/snake/plugin.py",
"chars": 11380,
"preview": "# Authored by Bernhard Weyrauch\n# http://www.bernhardweyrauch.de\n\nimport os\nimport time\nimport random\nimport sys\nimport "
},
{
"path": "wordclock_plugins/sunrise/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/sunrise/plugin.py",
"chars": 2360,
"preview": "from astral import moon, sun, geocoder\nimport datetime\nimport logging\nimport os\nimport pytz\nimport wordclock_tools.wordc"
},
{
"path": "wordclock_plugins/test_strip/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/test_strip/plugin.py",
"chars": 1466,
"preview": "import os\nimport time\nimport wordclock_tools.wordclock_colors as wcc\n\nclass plugin:\n \"\"\"\n A class to test the led "
},
{
"path": "wordclock_plugins/tetris/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/tetris/brick.py",
"chars": 1270,
"preview": "# Authored by Markus E.\n# https://github.com/mrksngl\n\n\nimport copy\nfrom functools import reduce\n\n\nclass brick:\n def _"
},
{
"path": "wordclock_plugins/tetris/plugin.py",
"chars": 8144,
"preview": "# Authored by Markus E.\n# https://github.com/mrksngl\n\nimport os\nimport wordclock_tools.wordclock_colors as wcc\nimport ra"
},
{
"path": "wordclock_plugins/time_as_words_dutch/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/time_as_words_dutch/plugin.py",
"chars": 1173,
"preview": "import datetime\nimport os\nfrom . import time_as_words_dutch\nimport wordclock_tools.wordclock_colors as wcc\n\n\nclass plugi"
},
{
"path": "wordclock_plugins/time_as_words_dutch/time_as_words_dutch.py",
"chars": 1379,
"preview": "\nclass time_as_words_dutch():\n \"\"\"\n This class returns a given time as words (string)::\n \"\"\"\n\n def __init__("
},
{
"path": "wordclock_plugins/time_as_words_german/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/time_as_words_german/plugin.py",
"chars": 1179,
"preview": "import datetime\nimport os\nfrom . import time_as_words_german\nimport wordclock_tools.wordclock_colors as wcc\n\n\nclass plug"
},
{
"path": "wordclock_plugins/time_as_words_german/time_as_words_german.py",
"chars": 1378,
"preview": "\nclass time_as_words_german():\n \"\"\"\n This class returns a given time as words (string)::\n \"\"\"\n\n def __init__"
},
{
"path": "wordclock_plugins/time_default/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/time_default/plugin.py",
"chars": 12287,
"preview": "import datetime\nimport logging\nimport os\nimport time\nimport wordclock_tools.wordclock_colors as wcc\nimport wordclock_too"
},
{
"path": "wordclock_plugins/time_default/time_bavarian.py",
"chars": 1819,
"preview": "\nclass time_bavarian:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs"
},
{
"path": "wordclock_plugins/time_default/time_dutch.py",
"chars": 2808,
"preview": "\nclass time_dutch:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs re"
},
{
"path": "wordclock_plugins/time_default/time_dutch_10-9.py",
"chars": 2815,
"preview": "\nclass time_dutch:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs re"
},
{
"path": "wordclock_plugins/time_default/time_english.py",
"chars": 2400,
"preview": "\"\"\" Provided by Alexandre\"\"\"\n\n\nclass time_english:\n \"\"\"\n This class returns a given time as a range of LED-indices"
},
{
"path": "wordclock_plugins/time_default/time_french.py",
"chars": 2118,
"preview": "class time_french:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs re"
},
{
"path": "wordclock_plugins/time_default/time_german.py",
"chars": 1817,
"preview": "\nclass time_german:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs r"
},
{
"path": "wordclock_plugins/time_default/time_german2.py",
"chars": 1871,
"preview": "class time_german2:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs r"
},
{
"path": "wordclock_plugins/time_default/time_italian.py",
"chars": 1889,
"preview": "import datetime as dt\n\nclass time_italian():\n '''\n This class returns a given time as a range of LED-indices.\n "
},
{
"path": "wordclock_plugins/time_default/time_romanian.py",
"chars": 2347,
"preview": "\"\"\" Provided by Darius\"\"\"\n\n\nclass time_romanian:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n"
},
{
"path": "wordclock_plugins/time_default/time_swabian.py",
"chars": 1807,
"preview": "\nclass time_swabian:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs "
},
{
"path": "wordclock_plugins/time_default/time_swabian2.py",
"chars": 1885,
"preview": "class time_swabian2:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs "
},
{
"path": "wordclock_plugins/time_default/time_swedish.py",
"chars": 1829,
"preview": "\nclass time_swedish:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs "
},
{
"path": "wordclock_plugins/time_default/time_swiss_german.py",
"chars": 2323,
"preview": "# coding: utf8\n\n\nclass time_swiss_german:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Ill"
},
{
"path": "wordclock_plugins/time_default/time_swiss_german2.py",
"chars": 2299,
"preview": "# coding: utf8\n\nclass time_swiss_german2:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Ill"
},
{
"path": "wordclock_plugins/time_in_seconds/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/time_in_seconds/plugin.py",
"chars": 2423,
"preview": "import datetime\nimport os\nimport time\nfrom .time_seconds import time_seconds\nimport wordclock_tools.wordclock_colors as "
},
{
"path": "wordclock_plugins/time_in_seconds/time_seconds.py",
"chars": 3206,
"preview": "class time_seconds:\n \"\"\"\n This class returns a given time as a range of LED-indices.\n Illuminating these LEDs r"
},
{
"path": "wordclock_plugins/time_matrix/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/time_matrix/plugin.py",
"chars": 3858,
"preview": "# Authored by Markus E.\n# https://github.com/mrksngl\n\nimport datetime\nimport logging\nimport os\nimport wordclock_tools.wo"
},
{
"path": "wordclock_plugins/weather_forecast/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_plugins/weather_forecast/plugin.py",
"chars": 3125,
"preview": "import logging\nimport os\nimport requests\nimport json\nimport time\nimport wordclock_tools.wordclock_colors as wcc\n\n\nclass "
},
{
"path": "wordclock_tools/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_tools/wiring.py",
"chars": 11744,
"preview": "import ast\nimport logging\n\nclass wiring:\n \"\"\"\n A class, holding all information of the wordclock's layout to map g"
},
{
"path": "wordclock_tools/wordclock_colors.py",
"chars": 2733,
"preview": "import math\nimport logging\n\nclass Color:\n\n def __init__(self, r, g, b):\n self.r = r\n self.g = g\n "
},
{
"path": "wordclock_tools/wordclock_config.py",
"chars": 1847,
"preview": "import configparser\nimport logging\nimport os\nfrom shutil import copyfile\n\nclass wordclock_config:\n\n def __init__(self"
},
{
"path": "wordclock_tools/wordclock_display.py",
"chars": 14899,
"preview": "import configparser\nimport fontdemo\nimport itertools\nimport logging\nimport os\nfrom copy import deepcopy\nfrom PIL import "
},
{
"path": "wordclock_tools/wordclock_interface.py",
"chars": 6593,
"preview": "import RPi.GPIO as GPIO\nimport time\n\nclass wordclock_interface:\n '''\n A class taking control of the interface of t"
},
{
"path": "wordclock_tools/wordclock_screen.py",
"chars": 837,
"preview": "\nimport wordclock_tools.wordclock_colors as wcc\nimport logging\n\nclass wordclock_screen:\n\n def __init__(self, wcd):\n "
},
{
"path": "wordclock_tools/wordclock_strip_base.py",
"chars": 106,
"preview": "\nclass wordclock_strip_base:\n \"\"\"\n A class, used to select the required led strip.\n \"\"\"\n pass\n"
},
{
"path": "wordclock_tools/wordclock_strip_neopixel.py",
"chars": 965,
"preview": "from rpi_ws281x import Adafruit_NeoPixel, ws\nfrom rpi_ws281x import Color as NeoPixelColor\nimport wordclock_tools.wordcl"
},
{
"path": "wordclock_tools/wordclock_strip_wx.py",
"chars": 3864,
"preview": "# coding: utf8\n\nimport threading\nimport os\nimport sys\nfrom wordclock_interfaces import event_handler as weh\nfrom wordclo"
},
{
"path": "wordclock_webinterface/__init__.py",
"chars": 0,
"preview": ""
},
{
"path": "wordclock_webinterface/css/bootstrap-theme.css",
"chars": 26132,
"preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
},
{
"path": "wordclock_webinterface/css/bootstrap.css",
"chars": 146010,
"preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
},
{
"path": "wordclock_webinterface/css/wordclock-theme.css",
"chars": 723,
"preview": ".btn-control {\n display: block; \n width: 100%; \n height: 40%; \n margin-bottom: 10px;\n font-size: 50px;"
},
{
"path": "wordclock_webinterface/index.html",
"chars": 11159,
"preview": "$def with (plugins,pluginDescriptions,activePlugin)\n<html> \n <head>\n <title>Wordclock Remote Control</title>\n "
},
{
"path": "wordclock_webinterface/js/fastclick.js",
"chars": 25965,
"preview": ";(function () {\n\t'use strict';\n\n\t/**\n\t * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs"
},
{
"path": "wordclock_webinterface/web_interface.py",
"chars": 3203,
"preview": "import json\nimport struct\nimport threading\nimport web\nimport socket\nimport struct\nimport threading\nimport os\n\nurls = (\n "
}
]
// ... and 11 more files (download for full content)
About this extraction
This page contains the full source code of the bk1285/rpi_wordclock GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 169 files (6.3 MB), approximately 1.7M tokens, and a symbol index with 561 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.