diff options
author | petrus comestor <petrus@comestor.org> | 2024-12-07 21:29:25 -0500 |
---|---|---|
committer | petrus comestor <petrus@comestor.org> | 2024-12-07 21:29:25 -0500 |
commit | dfa024f5cc22f561ac37220e251a6125b35b6e43 (patch) | |
tree | 173d2caed72f5dc770c7b41631b72661a8b3d050 | |
parent | 0289e79af8c37e25b343b038fe8b06904a35c52f (diff) |
idnex
-rwxr-xr-x | generate-schedule.py | 34 | ||||
-rw-r--r-- | index.html | 159 |
2 files changed, 162 insertions, 31 deletions
diff --git a/generate-schedule.py b/generate-schedule.py index 7a9a745..c77d6dd 100755 --- a/generate-schedule.py +++ b/generate-schedule.py @@ -130,6 +130,12 @@ sunsetpark = Location( "Sunset Park", ) +canarsielibrary = Location( + "Canarsie Library", + "https://maps.app.goo.gl/G7ek4jPEWDVSMevB9", + "Canarsie", +) + schedule = [ # Event(jefferson, date(2024, 10, 30)), # Event(nook, date(2024, 11, 2)), @@ -151,19 +157,35 @@ schedule = [ # Event(jefferson, date(2024, 11, 27), info='<strong>Cancelled due to Thanksgiving.</strong>', cancelled=True), # Event(nook, date(2024, 11, 30)), # Event(bookclub, date(2024, 12, 1)), - Event(mccarren, date(2024, 12, 2)), - Event(liz, date(2024, 12, 3)), - Event(jefferson, date(2024, 12, 4)), - Event(nook, date(2024, 12, 7)), + # Event(mccarren, date(2024, 12, 2)), + # Event(liz, date(2024, 12, 3)), + # Event(jefferson, date(2024, 12, 4)), + # Event(nook, date(2024, 12, 7)), Event(mccarren, date(2024, 12, 9)), Event(jefferson, date(2024, 12, 11)), Event(nook, date(2024, 12, 14)), Event(mccarren, date(2024, 12, 16)), + Event(canarsielibrary, date(2024, 12, 17), time='5p', special=True), Event(jefferson, date(2024, 12, 18)), + Event(dekalblibrary, date(2024, 12, 19), time='6p', special=True), Event(bushwicklibrary, date(2024, 12, 19), time='6p', special=True), Event(nook, date(2024, 12, 21)), - Event(sunsetpark, date(2024, 1, 2), time='6p', special=True), - Event(sunsetpark, date(2024, 1, 16), time='6p', special=True), + Event(mccarren, date(2024, 12, 23)), + Event(jefferson, date(2024, 12, 25), info='<strong>Cancelled.</strong>', cancelled=True), + Event(nook, date(2024, 12, 28)), + Event(mccarren, date(2024, 12, 30)), + Event(jefferson, date(2025, 1, 1), info='<strong>Cancelled.</strong>', cancelled=True), + Event(sunsetpark, date(2025, 1, 2), time='6p', special=True), + Event(nook, date(2025, 1, 4)), + Event(bookclub, date(2025, 1, 5)), + Event(mccarren, date(2025, 1, 6)), + Event(jefferson, date(2025, 1, 8)), + Event(nook, date(2025, 1, 11)), + Event(mccarren, date(2025, 1, 13)), + Event(jefferson, date(2025, 1, 15)), + Event(dekalblibrary, date(2025, 1, 16), time='6p', special=True), + Event(sunsetpark, date(2025, 1, 16), time='6p', special=True), + Event(nook, date(2025, 1, 18)), ] # maybe autosort it and sort code by event? with open('index.base') as base: @@ -34,7 +34,7 @@ <div class="event "> <div class="event-data"> - <strong>Monday, December 2</strong> · 6:30p + <strong>Monday, December 9</strong> · 6:30p </div> <div class="instance"> <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, @@ -43,25 +43,71 @@ </div> </div><div class="event "> <div class="event-data"> - <strong>Tuesday, December 3</strong> · 7p + <strong>Wednesday, December 11</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, + <span class="neighborhood">Greenwich Village</span> + <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> + </div> +</div><div class="event "> + <div class="event-data"> + <strong>Saturday, December 14</strong> · 9a </div> <div class="instance"> - <a href="https://maps.app.goo.gl/6hgstJRcd2TKa96x5">Liz’s Book Bar</a>, - <span class="neighborhood">Carroll Gardens</span> + <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, + <span class="neighborhood">Bushwick</span> + + </div> +</div><br> +<div class="event "> + <div class="event-data"> + <strong>Monday, December 16</strong> · 6:30p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, + <span class="neighborhood">Williamsburg</span> + + </div> +</div><div class="event special "> + <div class="event-data"> + <strong>Tuesday, December 17</strong> · 5p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/G7ek4jPEWDVSMevB9">Canarsie Library</a>, + <span class="neighborhood">Canarsie</span> </div> </div><div class="event "> <div class="event-data"> - <strong>Wednesday, December 4</strong> · 6p + <strong>Wednesday, December 18</strong> · 6p </div> <div class="instance"> <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, <span class="neighborhood">Greenwich Village</span> <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> </div> +</div><div class="event special "> + <div class="event-data"> + <strong>Thursday, December 19</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/G3D2hQ6og5DkBQH86">Dekalb Library</a>, + <span class="neighborhood">Bushwick</span> + + </div> +</div><div class="event special "> + <div class="event-data"> + <strong>Thursday, December 19</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/2mnX1sDSrBv1jKQ3A">Bushwick Library</a>, + <span class="neighborhood">Bushwick</span> + + </div> </div><div class="event "> <div class="event-data"> - <strong>Saturday, December 7</strong> · 9a + <strong>Saturday, December 21</strong> · 9a </div> <div class="instance"> <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, @@ -71,25 +117,25 @@ </div><br> <div class="event "> <div class="event-data"> - <strong>Monday, December 9</strong> · 6:30p + <strong>Monday, December 23</strong> · 6:30p </div> <div class="instance"> <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, <span class="neighborhood">Williamsburg</span> </div> -</div><div class="event "> +</div><div class="event cancelled "> <div class="event-data"> - <strong>Wednesday, December 11</strong> · 6p + <strong>Wednesday, December 25</strong> · 6p </div> <div class="instance"> <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, <span class="neighborhood">Greenwich Village</span> - <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> + <br><div class="info"><strong>Cancelled.</strong></div> </div> </div><div class="event "> <div class="event-data"> - <strong>Saturday, December 14</strong> · 9a + <strong>Saturday, December 28</strong> · 9a </div> <div class="instance"> <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, @@ -99,60 +145,123 @@ </div><br> <div class="event "> <div class="event-data"> - <strong>Monday, December 16</strong> · 6:30p + <strong>Monday, December 30</strong> · 6:30p </div> <div class="instance"> <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, <span class="neighborhood">Williamsburg</span> </div> -</div><div class="event "> +</div><div class="event cancelled "> <div class="event-data"> - <strong>Wednesday, December 18</strong> · 6p + <strong>Wednesday, January 1</strong> · 6p </div> <div class="instance"> <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, <span class="neighborhood">Greenwich Village</span> - <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> + <br><div class="info"><strong>Cancelled.</strong></div> </div> </div><div class="event special "> <div class="event-data"> - <strong>Thursday, December 19</strong> · 6p + <strong>Thursday, January 2</strong> · 6p </div> <div class="instance"> - <a href="https://maps.app.goo.gl/2mnX1sDSrBv1jKQ3A">Bushwick Library</a>, - <span class="neighborhood">Bushwick</span> + <a href="https://maps.app.goo.gl/ck5NMcK7nC189KCZ6">Sunset Park Library</a>, + <span class="neighborhood">Sunset Park</span> </div> </div><div class="event "> <div class="event-data"> - <strong>Saturday, December 21</strong> · 9a + <strong>Saturday, January 4</strong> · 9a </div> <div class="instance"> <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, <span class="neighborhood">Bushwick</span> </div> +</div><div class="event "> + <div class="event-data"> + <strong>Sunday, January 5</strong> · 9p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/ewGbWuEjp7cedMrb7">Book Club Bar</a>, + <span class="neighborhood">East Village</span> + + </div> </div><br> -<div class="event special "> +<div class="event "> <div class="event-data"> - <strong>Tuesday, January 2</strong> · 6p + <strong>Monday, January 6</strong> · 6:30p </div> <div class="instance"> - <a href="https://maps.app.goo.gl/ck5NMcK7nC189KCZ6">Sunset Park Library</a>, - <span class="neighborhood">Sunset Park</span> + <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, + <span class="neighborhood">Williamsburg</span> + + </div> +</div><div class="event "> + <div class="event-data"> + <strong>Wednesday, January 8</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, + <span class="neighborhood">Greenwich Village</span> + <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> + </div> +</div><div class="event "> + <div class="event-data"> + <strong>Saturday, January 11</strong> · 9a + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, + <span class="neighborhood">Bushwick</span> </div> </div><br> -<div class="event special "> +<div class="event "> <div class="event-data"> - <strong>Tuesday, January 16</strong> · 6p + <strong>Monday, January 13</strong> · 6:30p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/4jKTTTJ3h61dGPyz6">Spritzenhaus33</a>, + <span class="neighborhood">Williamsburg</span> + + </div> +</div><div class="event "> + <div class="event-data"> + <strong>Wednesday, January 15</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/UTNUqUdEjYCssiMx5">Jefferson Market Library</a>, + <span class="neighborhood">Greenwich Village</span> + <br><div class="info">1<sup>st</sup> floor Willa Cather Room; take a left at entrance, straight through children’s room</div> + </div> +</div><div class="event special "> + <div class="event-data"> + <strong>Thursday, January 16</strong> · 6p + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/G3D2hQ6og5DkBQH86">Dekalb Library</a>, + <span class="neighborhood">Bushwick</span> + + </div> +</div><div class="event special "> + <div class="event-data"> + <strong>Thursday, January 16</strong> · 6p </div> <div class="instance"> <a href="https://maps.app.goo.gl/ck5NMcK7nC189KCZ6">Sunset Park Library</a>, <span class="neighborhood">Sunset Park</span> </div> +</div><div class="event "> + <div class="event-data"> + <strong>Saturday, January 18</strong> · 9a + </div> + <div class="instance"> + <a href="https://maps.app.goo.gl/X2fYE3EpeHhQhgYD8">Nook</a>, + <span class="neighborhood">Bushwick</span> + + </div> </div> <br> |