summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-07-16 22:24:55 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-07-16 22:24:55 +0200
commit6985b205d60dc78d53b0d30ab0a94d203e06aae8 (patch)
tree201850f98c9312d504443c9cb897a612b90e4fc3
downloadsignal-event-notifier-6985b205d60dc78d53b0d30ab0a94d203e06aae8.tar.gz
signal-event-notifier-6985b205d60dc78d53b0d30ab0a94d203e06aae8.zip
initial commit
-rw-r--r--.gitignore2
-rw-r--r--LICENSE674
-rw-r--r--Makefile20
-rw-r--r--Pipfile16
-rw-r--r--Pipfile.lock419
-rwxr-xr-xsignal_event_notifier.py151
-rw-r--r--test.py43
-rw-r--r--test/cal.ics704
-rwxr-xr-xtools/check-pylint22
9 files changed, 2051 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b3c9e26
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.cache
+__pycache__
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f288702
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://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 <https://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:
+
+ <program> Copyright (C) <year> <name of author>
+ 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
+<https://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
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ac1418a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+PYTHONFILES = $(shell find -name "*.py" -not -path "./.git/*")
+
+.PHONY: format check check-format check-pylint check-mypy test
+
+format:
+ yapf -i $(PYTHONFILES)
+
+check-pylint:
+ pylint -j 0 $(PYTHONFILES) || ./tools/check-pylint $$?
+
+check-format:
+ yapf -d $(PYTHONFILES)
+
+check-mypy:
+ mypy --ignore-missing-imports $(PYTHONFILES)
+
+check: check-pylint check-format check-mypy
+
+test:
+ python3 test.py
diff --git a/Pipfile b/Pipfile
new file mode 100644
index 0000000..23b61df
--- /dev/null
+++ b/Pipfile
@@ -0,0 +1,16 @@
+[[source]]
+url = "https://pypi.org/simple"
+verify_ssl = true
+name = "pypi"
+
+[packages]
+icalevents = "*"
+
+[dev-packages]
+yapf = "*"
+mypy = "*"
+pylint = "*"
+pytest = "*"
+
+[requires]
+python_version = "3.11"
diff --git a/Pipfile.lock b/Pipfile.lock
new file mode 100644
index 0000000..5f0d9ea
--- /dev/null
+++ b/Pipfile.lock
@@ -0,0 +1,419 @@
+{
+ "_meta": {
+ "hash": {
+ "sha256": "46edf0de41505ee4ea40158b268b5bf75dfb2f82de7f21b3ad69d7b599b84c25"
+ },
+ "pipfile-spec": 6,
+ "requires": {
+ "python_version": "3.11"
+ },
+ "sources": [
+ {
+ "name": "pypi",
+ "url": "https://pypi.org/simple",
+ "verify_ssl": true
+ }
+ ]
+ },
+ "default": {
+ "datetime": {
+ "hashes": [
+ "sha256:29d346bf3ecad5ee1aad74fa2eb03de55fa298434e2f27db6dcaa12a44385681",
+ "sha256:ed114f161d7b8ec04b84f398de3fc3b973b2b7273f812aa109ee64358a01db64"
+ ],
+ "version": "==4.9"
+ },
+ "httplib2": {
+ "hashes": [
+ "sha256:58a98e45b4b1a48273073f905d2961666ecf0fbac4250ea5b47aef259eb5c585",
+ "sha256:8b6a905cb1c79eefd03f8669fd993c36dc341f7c558f056cb5a33b5c2f458543"
+ ],
+ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
+ "version": "==0.20.4"
+ },
+ "icalendar": {
+ "hashes": [
+ "sha256:cc73fa9c848744843046228cb66ea86cd8c18d73a51b140f7c003f760b84a997",
+ "sha256:cf1446ffdf1b6ad469451a8966cfa7694f5fac796ac6fc7cd93e28c51a637d2c"
+ ],
+ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
+ "version": "==4.0.9"
+ },
+ "icalevents": {
+ "hashes": [
+ "sha256:5ca6bafe5b405a44f483187e90a2443624fec62740c47d18babf860f5e232cfb",
+ "sha256:aff0f7b110d5a613f24f5bb0ac5b19d6dd96c511941b984086b681ea57d52a63"
+ ],
+ "index": "pypi",
+ "version": "==0.1.27"
+ },
+ "pyparsing": {
+ "hashes": [
+ "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb",
+ "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
+ ],
+ "markers": "python_version >= '3.1'",
+ "version": "==3.0.9"
+ },
+ "python-dateutil": {
+ "hashes": [
+ "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
+ "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
+ ],
+ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
+ "version": "==2.8.2"
+ },
+ "pytz": {
+ "hashes": [
+ "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c",
+ "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"
+ ],
+ "version": "==2021.3"
+ },
+ "setuptools": {
+ "hashes": [
+ "sha256:5df61bf30bb10c6f756eb19e7c9f3b473051f48db77fddbe06ff2ca307df9a6f",
+ "sha256:62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==67.8.0"
+ },
+ "six": {
+ "hashes": [
+ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
+ "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
+ ],
+ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
+ "version": "==1.16.0"
+ },
+ "zope.interface": {
+ "hashes": [
+ "sha256:042f2381118b093714081fd82c98e3b189b68db38ee7d35b63c327c470ef8373",
+ "sha256:0ec9653825f837fbddc4e4b603d90269b501486c11800d7c761eee7ce46d1bbb",
+ "sha256:12175ca6b4db7621aedd7c30aa7cfa0a2d65ea3a0105393e05482d7a2d367446",
+ "sha256:1592f68ae11e557b9ff2bc96ac8fc30b187e77c45a3c9cd876e3368c53dc5ba8",
+ "sha256:23ac41d52fd15dd8be77e3257bc51bbb82469cf7f5e9a30b75e903e21439d16c",
+ "sha256:424d23b97fa1542d7be882eae0c0fc3d6827784105264a8169a26ce16db260d8",
+ "sha256:4407b1435572e3e1610797c9203ad2753666c62883b921318c5403fb7139dec2",
+ "sha256:48f4d38cf4b462e75fac78b6f11ad47b06b1c568eb59896db5b6ec1094eb467f",
+ "sha256:4c3d7dfd897a588ec27e391edbe3dd320a03684457470415870254e714126b1f",
+ "sha256:5171eb073474a5038321409a630904fd61f12dd1856dd7e9d19cd6fe092cbbc5",
+ "sha256:5a158846d0fca0a908c1afb281ddba88744d403f2550dc34405c3691769cdd85",
+ "sha256:6ee934f023f875ec2cfd2b05a937bd817efcc6c4c3f55c5778cbf78e58362ddc",
+ "sha256:790c1d9d8f9c92819c31ea660cd43c3d5451df1df61e2e814a6f99cebb292788",
+ "sha256:809fe3bf1a91393abc7e92d607976bbb8586512913a79f2bf7d7ec15bd8ea518",
+ "sha256:87b690bbee9876163210fd3f500ee59f5803e4a6607d1b1238833b8885ebd410",
+ "sha256:89086c9d3490a0f265a3c4b794037a84541ff5ffa28bb9c24cc9f66566968464",
+ "sha256:99856d6c98a326abbcc2363827e16bd6044f70f2ef42f453c0bd5440c4ce24e5",
+ "sha256:aab584725afd10c710b8f1e6e208dbee2d0ad009f57d674cb9d1b3964037275d",
+ "sha256:af169ba897692e9cd984a81cb0f02e46dacdc07d6cf9fd5c91e81f8efaf93d52",
+ "sha256:b39b8711578dcfd45fc0140993403b8a81e879ec25d53189f3faa1f006087dca",
+ "sha256:b3f543ae9d3408549a9900720f18c0194ac0fe810cecda2a584fd4dca2eb3bb8",
+ "sha256:d0583b75f2e70ec93f100931660328965bb9ff65ae54695fb3fa0a1255daa6f2",
+ "sha256:dfbbbf0809a3606046a41f8561c3eada9db811be94138f42d9135a5c47e75f6f",
+ "sha256:e538f2d4a6ffb6edfb303ce70ae7e88629ac6e5581870e66c306d9ad7b564a58",
+ "sha256:eba51599370c87088d8882ab74f637de0c4f04a6d08a312dce49368ba9ed5c2a",
+ "sha256:ee4b43f35f5dc15e1fec55ccb53c130adb1d11e8ad8263d68b1284b66a04190d",
+ "sha256:f2363e5fd81afb650085c6686f2ee3706975c54f331b426800b53531191fdf28",
+ "sha256:f299c020c6679cb389814a3b81200fe55d428012c5e76da7e722491f5d205990",
+ "sha256:f72f23bab1848edb7472309e9898603141644faec9fd57a823ea6b4d1c4c8995",
+ "sha256:fa90bac61c9dc3e1a563e5babb3fd2c0c1c80567e815442ddbe561eadc803b30"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==6.0"
+ }
+ },
+ "develop": {
+ "astroid": {
+ "hashes": [
+ "sha256:078e5212f9885fa85fbb0cf0101978a336190aadea6e13305409d099f71b2324",
+ "sha256:1039262575027b441137ab4a62a793a9b43defb42c32d5670f38686207cd780f"
+ ],
+ "markers": "python_full_version >= '3.7.2'",
+ "version": "==2.15.5"
+ },
+ "dill": {
+ "hashes": [
+ "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0",
+ "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"
+ ],
+ "markers": "python_version >= '3.11'",
+ "version": "==0.3.6"
+ },
+ "importlib-metadata": {
+ "hashes": [
+ "sha256:43dd286a2cd8995d5eaef7fee2066340423b818ed3fd70adf0bad5f1fac53fed",
+ "sha256:92501cdf9cc66ebd3e612f1b4f0c0765dfa42f0fa38ffb319b6bd84dd675d705"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==6.6.0"
+ },
+ "iniconfig": {
+ "hashes": [
+ "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3",
+ "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==2.0.0"
+ },
+ "isort": {
+ "hashes": [
+ "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504",
+ "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6"
+ ],
+ "markers": "python_full_version >= '3.8.0'",
+ "version": "==5.12.0"
+ },
+ "lazy-object-proxy": {
+ "hashes": [
+ "sha256:09763491ce220c0299688940f8dc2c5d05fd1f45af1e42e636b2e8b2303e4382",
+ "sha256:0a891e4e41b54fd5b8313b96399f8b0e173bbbfc03c7631f01efbe29bb0bcf82",
+ "sha256:189bbd5d41ae7a498397287c408617fe5c48633e7755287b21d741f7db2706a9",
+ "sha256:18b78ec83edbbeb69efdc0e9c1cb41a3b1b1ed11ddd8ded602464c3fc6020494",
+ "sha256:1aa3de4088c89a1b69f8ec0dcc169aa725b0ff017899ac568fe44ddc1396df46",
+ "sha256:212774e4dfa851e74d393a2370871e174d7ff0ebc980907723bb67d25c8a7c30",
+ "sha256:2d0daa332786cf3bb49e10dc6a17a52f6a8f9601b4cf5c295a4f85854d61de63",
+ "sha256:5f83ac4d83ef0ab017683d715ed356e30dd48a93746309c8f3517e1287523ef4",
+ "sha256:659fb5809fa4629b8a1ac5106f669cfc7bef26fbb389dda53b3e010d1ac4ebae",
+ "sha256:660c94ea760b3ce47d1855a30984c78327500493d396eac4dfd8bd82041b22be",
+ "sha256:66a3de4a3ec06cd8af3f61b8e1ec67614fbb7c995d02fa224813cb7afefee701",
+ "sha256:721532711daa7db0d8b779b0bb0318fa87af1c10d7fe5e52ef30f8eff254d0cd",
+ "sha256:7322c3d6f1766d4ef1e51a465f47955f1e8123caee67dd641e67d539a534d006",
+ "sha256:79a31b086e7e68b24b99b23d57723ef7e2c6d81ed21007b6281ebcd1688acb0a",
+ "sha256:81fc4d08b062b535d95c9ea70dbe8a335c45c04029878e62d744bdced5141586",
+ "sha256:8fa02eaab317b1e9e03f69aab1f91e120e7899b392c4fc19807a8278a07a97e8",
+ "sha256:9090d8e53235aa280fc9239a86ae3ea8ac58eff66a705fa6aa2ec4968b95c821",
+ "sha256:946d27deaff6cf8452ed0dba83ba38839a87f4f7a9732e8f9fd4107b21e6ff07",
+ "sha256:9990d8e71b9f6488e91ad25f322898c136b008d87bf852ff65391b004da5e17b",
+ "sha256:9cd077f3d04a58e83d04b20e334f678c2b0ff9879b9375ed107d5d07ff160171",
+ "sha256:9e7551208b2aded9c1447453ee366f1c4070602b3d932ace044715d89666899b",
+ "sha256:9f5fa4a61ce2438267163891961cfd5e32ec97a2c444e5b842d574251ade27d2",
+ "sha256:b40387277b0ed2d0602b8293b94d7257e17d1479e257b4de114ea11a8cb7f2d7",
+ "sha256:bfb38f9ffb53b942f2b5954e0f610f1e721ccebe9cce9025a38c8ccf4a5183a4",
+ "sha256:cbf9b082426036e19c6924a9ce90c740a9861e2bdc27a4834fd0a910742ac1e8",
+ "sha256:d9e25ef10a39e8afe59a5c348a4dbf29b4868ab76269f81ce1674494e2565a6e",
+ "sha256:db1c1722726f47e10e0b5fdbf15ac3b8adb58c091d12b3ab713965795036985f",
+ "sha256:e7c21c95cae3c05c14aafffe2865bbd5e377cfc1348c4f7751d9dc9a48ca4bda",
+ "sha256:e8c6cfb338b133fbdbc5cfaa10fe3c6aeea827db80c978dbd13bc9dd8526b7d4",
+ "sha256:ea806fd4c37bf7e7ad82537b0757999264d5f70c45468447bb2b91afdbe73a6e",
+ "sha256:edd20c5a55acb67c7ed471fa2b5fb66cb17f61430b7a6b9c3b4a1e40293b1671",
+ "sha256:f0117049dd1d5635bbff65444496c90e0baa48ea405125c088e93d9cf4525b11",
+ "sha256:f0705c376533ed2a9e5e97aacdbfe04cecd71e0aa84c7c0595d02ef93b6e4455",
+ "sha256:f12ad7126ae0c98d601a7ee504c1122bcef553d1d5e0c3bfa77b16b3968d2734",
+ "sha256:f2457189d8257dd41ae9b434ba33298aec198e30adf2dcdaaa3a28b9994f6adb",
+ "sha256:f699ac1c768270c9e384e4cbd268d6e67aebcfae6cd623b4d7c3bfde5a35db59"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==1.9.0"
+ },
+ "mccabe": {
+ "hashes": [
+ "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325",
+ "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"
+ ],
+ "markers": "python_version >= '3.6'",
+ "version": "==0.7.0"
+ },
+ "mypy": {
+ "hashes": [
+ "sha256:1c4c42c60a8103ead4c1c060ac3cdd3ff01e18fddce6f1016e08939647a0e703",
+ "sha256:44797d031a41516fcf5cbfa652265bb994e53e51994c1bd649ffcd0c3a7eccbf",
+ "sha256:473117e310febe632ddf10e745a355714e771ffe534f06db40702775056614c4",
+ "sha256:4c99c3ecf223cf2952638da9cd82793d8f3c0c5fa8b6ae2b2d9ed1e1ff51ba85",
+ "sha256:550a8b3a19bb6589679a7c3c31f64312e7ff482a816c96e0cecec9ad3a7564dd",
+ "sha256:658fe7b674769a0770d4b26cb4d6f005e88a442fe82446f020be8e5f5efb2fae",
+ "sha256:6e33bb8b2613614a33dff70565f4c803f889ebd2f859466e42b46e1df76018dd",
+ "sha256:6e42d29e324cdda61daaec2336c42512e59c7c375340bd202efa1fe0f7b8f8ca",
+ "sha256:74bc9b6e0e79808bf8678d7678b2ae3736ea72d56eede3820bd3849823e7f305",
+ "sha256:76ec771e2342f1b558c36d49900dfe81d140361dd0d2df6cd71b3db1be155409",
+ "sha256:7d23370d2a6b7a71dc65d1266f9a34e4cde9e8e21511322415db4b26f46f6b8c",
+ "sha256:87df44954c31d86df96c8bd6e80dfcd773473e877ac6176a8e29898bfb3501cb",
+ "sha256:8c5979d0deb27e0f4479bee18ea0f83732a893e81b78e62e2dda3e7e518c92ee",
+ "sha256:95d8d31a7713510685b05fbb18d6ac287a56c8f6554d88c19e73f724a445448a",
+ "sha256:a22435632710a4fcf8acf86cbd0d69f68ac389a3892cb23fbad176d1cddaf228",
+ "sha256:a8763e72d5d9574d45ce5881962bc8e9046bf7b375b0abf031f3e6811732a897",
+ "sha256:c1eb485cea53f4f5284e5baf92902cd0088b24984f4209e25981cc359d64448d",
+ "sha256:c5d2cc54175bab47011b09688b418db71403aefad07cbcd62d44010543fc143f",
+ "sha256:cbc07246253b9e3d7d74c9ff948cd0fd7a71afcc2b77c7f0a59c26e9395cb152",
+ "sha256:d0b6c62206e04061e27009481cb0ec966f7d6172b5b936f3ead3d74f29fe3dcf",
+ "sha256:ddae0f39ca146972ff6bb4399f3b2943884a774b8771ea0a8f50e971f5ea5ba8",
+ "sha256:e1f4d16e296f5135624b34e8fb741eb0eadedca90862405b1f1fde2040b9bd11",
+ "sha256:e86c2c6852f62f8f2b24cb7a613ebe8e0c7dc1402c61d36a609174f63e0ff017",
+ "sha256:ebc95f8386314272bbc817026f8ce8f4f0d2ef7ae44f947c4664efac9adec929",
+ "sha256:f9dca1e257d4cc129517779226753dbefb4f2266c4eaad610fc15c6a7e14283e",
+ "sha256:faff86aa10c1aa4a10e1a301de160f3d8fc8703b88c7e98de46b531ff1276a9a"
+ ],
+ "index": "pypi",
+ "version": "==1.3.0"
+ },
+ "mypy-extensions": {
+ "hashes": [
+ "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d",
+ "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"
+ ],
+ "markers": "python_version >= '3.5'",
+ "version": "==1.0.0"
+ },
+ "packaging": {
+ "hashes": [
+ "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61",
+ "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==23.1"
+ },
+ "platformdirs": {
+ "hashes": [
+ "sha256:0ade98a4895e87dc51d47151f7d2ec290365a585151d97b4d8d6312ed6132fed",
+ "sha256:e48fabd87db8f3a7df7150a4a5ea22c546ee8bc39bc2473244730d4b56d2cc4e"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==3.5.3"
+ },
+ "pluggy": {
+ "hashes": [
+ "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159",
+ "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"
+ ],
+ "markers": "python_version >= '3.6'",
+ "version": "==1.0.0"
+ },
+ "pylint": {
+ "hashes": [
+ "sha256:5dcf1d9e19f41f38e4e85d10f511e5b9c35e1aa74251bf95cdd8cb23584e2db1",
+ "sha256:7a1145fb08c251bdb5cca11739722ce64a63db479283d10ce718b2460e54123c"
+ ],
+ "index": "pypi",
+ "version": "==2.17.4"
+ },
+ "pytest": {
+ "hashes": [
+ "sha256:cdcbd012c9312258922f8cd3f1b62a6580fdced17db6014896053d47cddf9295",
+ "sha256:ee990a3cc55ba808b80795a79944756f315c67c12b56abd3ac993a7b8c17030b"
+ ],
+ "index": "pypi",
+ "version": "==7.3.2"
+ },
+ "tomli": {
+ "hashes": [
+ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
+ "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==2.0.1"
+ },
+ "tomlkit": {
+ "hashes": [
+ "sha256:8c726c4c202bdb148667835f68d68780b9a003a9ec34167b6c673b38eff2a171",
+ "sha256:9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==0.11.8"
+ },
+ "typing-extensions": {
+ "hashes": [
+ "sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26",
+ "sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==4.6.3"
+ },
+ "wrapt": {
+ "hashes": [
+ "sha256:02fce1852f755f44f95af51f69d22e45080102e9d00258053b79367d07af39c0",
+ "sha256:077ff0d1f9d9e4ce6476c1a924a3332452c1406e59d90a2cf24aeb29eeac9420",
+ "sha256:078e2a1a86544e644a68422f881c48b84fef6d18f8c7a957ffd3f2e0a74a0d4a",
+ "sha256:0970ddb69bba00670e58955f8019bec4a42d1785db3faa043c33d81de2bf843c",
+ "sha256:1286eb30261894e4c70d124d44b7fd07825340869945c79d05bda53a40caa079",
+ "sha256:21f6d9a0d5b3a207cdf7acf8e58d7d13d463e639f0c7e01d82cdb671e6cb7923",
+ "sha256:230ae493696a371f1dbffaad3dafbb742a4d27a0afd2b1aecebe52b740167e7f",
+ "sha256:26458da5653aa5b3d8dc8b24192f574a58984c749401f98fff994d41d3f08da1",
+ "sha256:2cf56d0e237280baed46f0b5316661da892565ff58309d4d2ed7dba763d984b8",
+ "sha256:2e51de54d4fb8fb50d6ee8327f9828306a959ae394d3e01a1ba8b2f937747d86",
+ "sha256:2fbfbca668dd15b744418265a9607baa970c347eefd0db6a518aaf0cfbd153c0",
+ "sha256:38adf7198f8f154502883242f9fe7333ab05a5b02de7d83aa2d88ea621f13364",
+ "sha256:3a8564f283394634a7a7054b7983e47dbf39c07712d7b177b37e03f2467a024e",
+ "sha256:3abbe948c3cbde2689370a262a8d04e32ec2dd4f27103669a45c6929bcdbfe7c",
+ "sha256:3bbe623731d03b186b3d6b0d6f51865bf598587c38d6f7b0be2e27414f7f214e",
+ "sha256:40737a081d7497efea35ab9304b829b857f21558acfc7b3272f908d33b0d9d4c",
+ "sha256:41d07d029dd4157ae27beab04d22b8e261eddfc6ecd64ff7000b10dc8b3a5727",
+ "sha256:46ed616d5fb42f98630ed70c3529541408166c22cdfd4540b88d5f21006b0eff",
+ "sha256:493d389a2b63c88ad56cdc35d0fa5752daac56ca755805b1b0c530f785767d5e",
+ "sha256:4ff0d20f2e670800d3ed2b220d40984162089a6e2c9646fdb09b85e6f9a8fc29",
+ "sha256:54accd4b8bc202966bafafd16e69da9d5640ff92389d33d28555c5fd4f25ccb7",
+ "sha256:56374914b132c702aa9aa9959c550004b8847148f95e1b824772d453ac204a72",
+ "sha256:578383d740457fa790fdf85e6d346fda1416a40549fe8db08e5e9bd281c6a475",
+ "sha256:58d7a75d731e8c63614222bcb21dd992b4ab01a399f1f09dd82af17bbfc2368a",
+ "sha256:5c5aa28df055697d7c37d2099a7bc09f559d5053c3349b1ad0c39000e611d317",
+ "sha256:5fc8e02f5984a55d2c653f5fea93531e9836abbd84342c1d1e17abc4a15084c2",
+ "sha256:63424c681923b9f3bfbc5e3205aafe790904053d42ddcc08542181a30a7a51bd",
+ "sha256:64b1df0f83706b4ef4cfb4fb0e4c2669100fd7ecacfb59e091fad300d4e04640",
+ "sha256:74934ebd71950e3db69960a7da29204f89624dde411afbfb3b4858c1409b1e98",
+ "sha256:75669d77bb2c071333417617a235324a1618dba66f82a750362eccbe5b61d248",
+ "sha256:75760a47c06b5974aa5e01949bf7e66d2af4d08cb8c1d6516af5e39595397f5e",
+ "sha256:76407ab327158c510f44ded207e2f76b657303e17cb7a572ffe2f5a8a48aa04d",
+ "sha256:76e9c727a874b4856d11a32fb0b389afc61ce8aaf281ada613713ddeadd1cfec",
+ "sha256:77d4c1b881076c3ba173484dfa53d3582c1c8ff1f914c6461ab70c8428b796c1",
+ "sha256:780c82a41dc493b62fc5884fb1d3a3b81106642c5c5c78d6a0d4cbe96d62ba7e",
+ "sha256:7dc0713bf81287a00516ef43137273b23ee414fe41a3c14be10dd95ed98a2df9",
+ "sha256:7eebcdbe3677e58dd4c0e03b4f2cfa346ed4049687d839adad68cc38bb559c92",
+ "sha256:896689fddba4f23ef7c718279e42f8834041a21342d95e56922e1c10c0cc7afb",
+ "sha256:96177eb5645b1c6985f5c11d03fc2dbda9ad24ec0f3a46dcce91445747e15094",
+ "sha256:96e25c8603a155559231c19c0349245eeb4ac0096fe3c1d0be5c47e075bd4f46",
+ "sha256:9d37ac69edc5614b90516807de32d08cb8e7b12260a285ee330955604ed9dd29",
+ "sha256:9ed6aa0726b9b60911f4aed8ec5b8dd7bf3491476015819f56473ffaef8959bd",
+ "sha256:a487f72a25904e2b4bbc0817ce7a8de94363bd7e79890510174da9d901c38705",
+ "sha256:a4cbb9ff5795cd66f0066bdf5947f170f5d63a9274f99bdbca02fd973adcf2a8",
+ "sha256:a74d56552ddbde46c246b5b89199cb3fd182f9c346c784e1a93e4dc3f5ec9975",
+ "sha256:a89ce3fd220ff144bd9d54da333ec0de0399b52c9ac3d2ce34b569cf1a5748fb",
+ "sha256:abd52a09d03adf9c763d706df707c343293d5d106aea53483e0ec8d9e310ad5e",
+ "sha256:abd8f36c99512755b8456047b7be10372fca271bf1467a1caa88db991e7c421b",
+ "sha256:af5bd9ccb188f6a5fdda9f1f09d9f4c86cc8a539bd48a0bfdc97723970348418",
+ "sha256:b02f21c1e2074943312d03d243ac4388319f2456576b2c6023041c4d57cd7019",
+ "sha256:b06fa97478a5f478fb05e1980980a7cdf2712015493b44d0c87606c1513ed5b1",
+ "sha256:b0724f05c396b0a4c36a3226c31648385deb6a65d8992644c12a4963c70326ba",
+ "sha256:b130fe77361d6771ecf5a219d8e0817d61b236b7d8b37cc045172e574ed219e6",
+ "sha256:b56d5519e470d3f2fe4aa7585f0632b060d532d0696c5bdfb5e8319e1d0f69a2",
+ "sha256:b67b819628e3b748fd3c2192c15fb951f549d0f47c0449af0764d7647302fda3",
+ "sha256:ba1711cda2d30634a7e452fc79eabcadaffedf241ff206db2ee93dd2c89a60e7",
+ "sha256:bbeccb1aa40ab88cd29e6c7d8585582c99548f55f9b2581dfc5ba68c59a85752",
+ "sha256:bd84395aab8e4d36263cd1b9308cd504f6cf713b7d6d3ce25ea55670baec5416",
+ "sha256:c99f4309f5145b93eca6e35ac1a988f0dc0a7ccf9ccdcd78d3c0adf57224e62f",
+ "sha256:ca1cccf838cd28d5a0883b342474c630ac48cac5df0ee6eacc9c7290f76b11c1",
+ "sha256:cd525e0e52a5ff16653a3fc9e3dd827981917d34996600bbc34c05d048ca35cc",
+ "sha256:cdb4f085756c96a3af04e6eca7f08b1345e94b53af8921b25c72f096e704e145",
+ "sha256:ce42618f67741d4697684e501ef02f29e758a123aa2d669e2d964ff734ee00ee",
+ "sha256:d06730c6aed78cee4126234cf2d071e01b44b915e725a6cb439a879ec9754a3a",
+ "sha256:d5fe3e099cf07d0fb5a1e23d399e5d4d1ca3e6dfcbe5c8570ccff3e9208274f7",
+ "sha256:d6bcbfc99f55655c3d93feb7ef3800bd5bbe963a755687cbf1f490a71fb7794b",
+ "sha256:d787272ed958a05b2c86311d3a4135d3c2aeea4fc655705f074130aa57d71653",
+ "sha256:e169e957c33576f47e21864cf3fc9ff47c223a4ebca8960079b8bd36cb014fd0",
+ "sha256:e20076a211cd6f9b44a6be58f7eeafa7ab5720eb796975d0c03f05b47d89eb90",
+ "sha256:e826aadda3cae59295b95343db8f3d965fb31059da7de01ee8d1c40a60398b29",
+ "sha256:eef4d64c650f33347c1f9266fa5ae001440b232ad9b98f1f43dfe7a79435c0a6",
+ "sha256:f2e69b3ed24544b0d3dbe2c5c0ba5153ce50dcebb576fdc4696d52aa22db6034",
+ "sha256:f87ec75864c37c4c6cb908d282e1969e79763e0d9becdfe9fe5473b7bb1e5f09",
+ "sha256:fbec11614dba0424ca72f4e8ba3c420dba07b4a7c206c8c8e4e73f2e98f4c559",
+ "sha256:fd69666217b62fa5d7c6aa88e507493a34dec4fa20c5bd925e4bc12fce586639"
+ ],
+ "markers": "python_version >= '3.11'",
+ "version": "==1.15.0"
+ },
+ "yapf": {
+ "hashes": [
+ "sha256:63386557876c2686cb29d8c422b2d1e484f29f7a278821f91515b5c5adf569a7",
+ "sha256:7eeb8c404e386f16e24cbd785103dbc573f51cbb68e65a35f4392e0233f3d7bc"
+ ],
+ "index": "pypi",
+ "version": "==0.40.0"
+ },
+ "zipp": {
+ "hashes": [
+ "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b",
+ "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556"
+ ],
+ "markers": "python_version >= '3.7'",
+ "version": "==3.15.0"
+ }
+ }
+}
diff --git a/signal_event_notifier.py b/signal_event_notifier.py
new file mode 100755
index 0000000..80282f7
--- /dev/null
+++ b/signal_event_notifier.py
@@ -0,0 +1,151 @@
+#!/usr/bin/env python3
+# Copyright 2023 Florian Fischer
+# 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 <https://www.gnu.org/licenses/>.
+"""Notify the responsible people about occuring events via signal messages"""
+
+import argparse
+import datetime
+import pathlib
+import os
+import sys
+import typing as t
+import subprocess
+
+import icalevents
+from icalevents.icalevents import events
+
+RESPONSIBILITIES_ENV_VAR_NAME = 'SEN_RESPONSIBILITIES'
+
+
+def load_events(uri: str, start: datetime.datetime,
+ end: datetime.datetime) -> list[icalevents.icalparser.Event]:
+ """Retrieve all events from the specified ics calendars"""
+ evs = []
+
+ if uri.startswith("http"):
+ evs += events(url=uri, start=start, end=end)
+ elif pathlib.Path(uri).is_file():
+ evs += events(file=uri, start=start, end=end)
+
+ return evs
+
+
+def load_responsibilities(start: datetime.date,
+ resp_file_path='') -> list[str]:
+ """Load resposibility definitions
+
+ If no file path containing responsibilities is passed se tyhe environment.
+ The environment variable 'SEN_RESPONSIBILITIES' is used to pass
+ a line separated list of responsibilities per calendar week."""
+
+ all_resp = ''
+ if resp_file_path and pathlib.Path(resp_file_path).is_file():
+ with open(resp_file_path, 'r', encoding='utf-8') as resp_file:
+ all_resp = resp_file.read()
+
+ all_resp = all_resp or os.environ.get(RESPONSIBILITIES_ENV_VAR_NAME, '')
+ if not all_resp:
+ print(f'{RESPONSIBILITIES_ENV_VAR_NAME} not set', file=sys.stderr)
+ sys.exit(1)
+
+ resps_order = all_resp.splitlines()
+ cal_week = start.isocalendar()[1]
+ if len(resps_order) == 52:
+ resp = resps_order[cal_week - 1]
+ else:
+ resp = resps_order[(cal_week % len(resps_order)) - 1]
+
+ return resp.split(',')
+
+
+def fmt_mentions(responsibilities: list[str]) -> t.Tuple[str, str]:
+ """Return a string of mentions and the required cli arguments for signal-cli"""
+
+ if not responsibilities:
+ return '', ''
+
+ mention_notification_prfx = ''
+ mention_arg = ''
+ for resp in responsibilities:
+ tokens = resp.split(':')
+ if len(tokens) > 1:
+ name = tokens[0]
+ num = tokens[1]
+ else:
+ name = num = tokens[0]
+
+ mention_arg += f' --mention {len(mention_notification_prfx)+1}:{len(name)}:{num}'
+ mention_notification_prfx += f', {name}'
+
+ return mention_notification_prfx[2:], mention_arg
+
+
+def notify(notification: str,
+ signal_user: str,
+ recipients: t.Optional[list[str]] = None,
+ group: t.Optional[str] = None):
+ '''notify a group or a list of recipients about events'''
+
+ if not recipients or group:
+ return
+
+ mentions, mentions_args = fmt_mentions(recipients)
+ if mentions:
+ notification = f'{mentions} {notification}'
+
+ cmd = f'signal-cli -u {signal_user} send --message-from-stdin{mentions_args}'
+ if group:
+ cmd += f' -g {group}'
+ print(cmd)
+ cmd = 'cat -'
+
+ subprocess.run(cmd.split(), input=notification.encode(), check=True)
+
+
+def main():
+ """Programm entry point loading data from webuntis and printing the remaining lessons"""
+ parser = argparse.ArgumentParser()
+ parser.add_argument('--date', help='The date to notify for')
+ parser.add_argument('--calendar', help='The calendars URI')
+ parser.add_argument('--responsibilities-file',
+ help='A file specifying the responsibilities per line')
+ parser.add_argument('--group',
+ help='The group notifications should be send to')
+ parser.add_argument('user', help='The signal user sending messages')
+ args = parser.parse_args()
+
+ if args.date:
+ tomorrow = datetime.date.fromisoformat(args.date)
+ else:
+ tomorrow = datetime.date.today() + datetime.timedelta(days=1)
+ end = tomorrow + datetime.timedelta(days=1)
+
+ recipients = load_responsibilities(
+ tomorrow, resp_file_path=args.responsibilities_file)
+
+ # load ICS events
+ evs = load_events(args.calendar, tomorrow, end)
+ if not evs:
+ return
+
+ notification = ''
+ for event in evs:
+ if event.start.date() != tomorrow:
+ continue
+ notification += f' {event.summary}'
+
+ if notification:
+ notify(notification, args.user, recipients, args.group)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..5fbdd25
--- /dev/null
+++ b/test.py
@@ -0,0 +1,43 @@
+#!/usr/bin/env python3
+"""Test for the signal event notifier"""
+
+import datetime
+import os
+import unittest
+
+import signal_event_notifier as sen
+
+DUMMY_CYCLIC_RESPONSIBILITIES = "alice:+1234\nbob:+5678,charlie:+5679"
+
+TEST_CAL = "test/cal.ics"
+
+
+# pragma pylint: disable=missing-function-docstring,missing-class-docstring,invalid-name
+class TestCyclicRespLoading(unittest.TestCase):
+
+ def setUp(self):
+ os.environ[
+ sen.RESPONSIBILITIES_ENV_VAR_NAME] = DUMMY_CYCLIC_RESPONSIBILITIES
+
+ def test_cyclic_resp_first_week(self):
+ first = datetime.date(year=2013, month=1, day=1)
+ resp = sen.load_responsibilities(first)
+ self.assertEqual(resp, ['alice:+1234'])
+
+ def test_cyclic_resp_second_week(self):
+ second = datetime.date(year=2013, month=1, day=8)
+ resp = sen.load_responsibilities(second)
+ self.assertEqual(resp, ['bob:+5678', 'charlie:+5679'])
+
+ def test_cyclic_resp_all_weeks(self):
+ expected = [['alice:+1234'], ['bob:+5678', 'charlie:+5679']]
+ day = datetime.date(year=2013, month=1, day=1)
+ delta = datetime.timedelta(days=7)
+ for week in range(52):
+ resp = sen.load_responsibilities(day)
+ self.assertEqual(resp, expected[(week % 2)])
+ day += delta
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/cal.ics b/test/cal.ics
new file mode 100644
index 0000000..d05f1de
--- /dev/null
+++ b/test/cal.ics
@@ -0,0 +1,704 @@
+BEGIN:VCALENDAR
+PRODID:-//mein-abfallkalender.de//iCal Class MIMEDIR//EN
+VERSION:2.0
+PRODID:-//Mein-Abfallkalender.de//DE
+CALSCALE:GREGORIAN
+METHOD:PUBLISH
+X-PUBLISHED-TTL;VALUE=TEXT:P1D
+X-OWNER;VALUE=TEXT:CN="Mein-Abfallkalender.de":mailto:support@know-it.net
+X-APPLE-CALENDAR-COLOR:#1A8FD4
+X-OUTLOOK-COLOR:#1A8FD4
+X-FUNAMBOL-COLOR:#1A8FD4
+X-LOTUS-CHARSET:UTF-8
+X-WR-CALNAME:[Mein-Abfallkalender.de]
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230614
+DTEND;VALUE=DATE:20230615
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:0
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484459@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230620
+DTEND;VALUE=DATE:20230621
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:1
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484480@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230622
+DTEND;VALUE=DATE:20230623
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:2
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501666@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230627
+DTEND;VALUE=DATE:20230628
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:3
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484502@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230627
+DTEND;VALUE=DATE:20230628
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:4
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484503@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230627
+DTEND;VALUE=DATE:20230628
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Restmüll
+PRIORITY:5
+SEQUENCE:5
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:488124@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Restmüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230704
+DTEND;VALUE=DATE:20230705
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:6
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484528@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230706
+DTEND;VALUE=DATE:20230707
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:7
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501676@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230711
+DTEND;VALUE=DATE:20230712
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:8
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484552@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230711
+DTEND;VALUE=DATE:20230712
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:9
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484553@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230711
+DTEND;VALUE=DATE:20230712
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Restmüll
+PRIORITY:5
+SEQUENCE:10
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:488134@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Restmüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230718
+DTEND;VALUE=DATE:20230719
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:11
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484576@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230720
+DTEND;VALUE=DATE:20230721
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:12
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501686@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230725
+DTEND;VALUE=DATE:20230726
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:13
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484599@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230725
+DTEND;VALUE=DATE:20230726
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:14
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484600@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230725
+DTEND;VALUE=DATE:20230726
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Restmüll
+PRIORITY:5
+SEQUENCE:15
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:488144@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Restmüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230801
+DTEND;VALUE=DATE:20230802
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:16
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484625@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230803
+DTEND;VALUE=DATE:20230804
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:17
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501696@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230808
+DTEND;VALUE=DATE:20230809
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:18
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484650@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230808
+DTEND;VALUE=DATE:20230809
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:19
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484651@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230808
+DTEND;VALUE=DATE:20230809
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Restmüll
+PRIORITY:5
+SEQUENCE:20
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:488154@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Restmüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230815
+DTEND;VALUE=DATE:20230816
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:21
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484675@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230818
+DTEND;VALUE=DATE:20230819
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:22
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501706@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230822
+DTEND;VALUE=DATE:20230823
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:23
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484696@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230822
+DTEND;VALUE=DATE:20230823
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:24
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484699@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230822
+DTEND;VALUE=DATE:20230823
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Restmüll
+PRIORITY:5
+SEQUENCE:25
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:488164@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Restmüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230829
+DTEND;VALUE=DATE:20230830
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:26
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484723@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230831
+DTEND;VALUE=DATE:20230901
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Gelber Sack
+PRIORITY:5
+SEQUENCE:27
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:501716@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Gelber Sack
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230905
+DTEND;VALUE=DATE:20230906
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Biomüll
+PRIORITY:5
+SEQUENCE:28
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484746@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Biomüll
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+CLASS:PUBLIC
+CREATED:20230614T171738Z
+DTSTAMP:20230614T171738Z
+LAST-MODIFIED:20230614T171738Z
+DTSTART;VALUE=DATE:20230905
+DTEND;VALUE=DATE:20230906
+X-FUNAMBOL-ALLDAY:1
+X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
+SUMMARY:Papiertonne
+PRIORITY:5
+SEQUENCE:29
+URL:erlangen.mein-abfallkalender.de
+CONTACT:Mein-Abfallkalender.de\, support@know-it.net
+TRANSP:TRANSPARENT
+STATUS:CONFIRMED
+UID:484748@www.erlangen.mein-abfallkalender.de
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Denk-dran Papiertonne
+TRIGGER:-PT6H
+END:VALARM
+END:VEVENT
+END:VCALENDAR \ No newline at end of file
diff --git a/tools/check-pylint b/tools/check-pylint
new file mode 100755
index 0000000..9b7c7e5
--- /dev/null
+++ b/tools/check-pylint
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+PYLINT_EXIT=${1}
+
+# pylint error masks
+FATAL_MASK=1
+ERROR_MASK=2
+WARNING_MASK=4
+REFACTOR_MASK=8
+CONVENTION_MASK=16
+USAGE_ERROR_MASK=32
+
+# fail on fatal
+[[ $(( $PYLINT_EXIT & $FATAL_MASK )) -gt 0 ]] && exit $PYLINT_EXIT
+
+# fail on error
+[[ $(( $PYLINT_EXIT & $ERROR_MASK )) -gt 0 ]] && exit $PYLINT_EXIT
+
+# fail on warning
+[[ $(( $PYLINT_EXIT & $WARNING_MASK )) -gt 0 ]] && exit $PYLINT_EXIT
+
+exit 0