OctoPrint-Wrapped 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ <h3>OctoPrint Wrapped!</h3>
2
+
3
+ <div data-bind="visible: withinWrappedSeason">
4
+ <div data-bind="visible: currentWrappedAvailable">
5
+ <img data-bind="src.svgtopng: currentSvgUrl()"
6
+ alt="OctoPrint Wrapped sharepic"
7
+ width="400"
8
+ height="400" />
9
+ </div>
10
+
11
+ <p data-bind="visible: !currentWrappedAvailable()">
12
+ {% trans %}
13
+ Sadly, there are no stats available to generate your current OctoPrint Wrapped for you.
14
+ OctoPrint Wrapped depends on the stats collection done by the Achievements plugin,
15
+ so if you disabled that, that would explain it. Make sure to enable the Achievements
16
+ plugin if you want to get your OctoPrint Wrapped next time!
17
+ {% endtrans %}
18
+ </p>
19
+ </div>
20
+ <p data-bind="visible: !withinWrappedSeason()">
21
+ {% trans %}
22
+ Nothing to see here at the moment! Come back between December 1st and January 10th!
23
+ {% endtrans %}
24
+ </p>
@@ -0,0 +1,7 @@
1
+ <a class="pull-right"
2
+ href="javascript:void(0)"
3
+ data-bind="click: function() { toggleSnowfall(); }, hidden: !$root.withinWrappedSeason()"
4
+ title="{{ _('Let it snow!') |edq }}"
5
+ aria-label="{{ _('Toggle snowfall') |edq }}">
6
+ <i class="fas fa-snowflake"></i>
7
+ </a>
@@ -0,0 +1,7 @@
1
+ <a class="pull-right"
2
+ href="javascript:void(0)"
3
+ data-bind="click: function() { showWrapped(); }, hidden: !$root.currentWrappedAvailable()"
4
+ title="{{ _('OctoPrint Wrapped!') |edq }}"
5
+ aria-label="{{ _('OctoPrint Wrapped') |edq }}">
6
+ <i class="fas fa-gift"></i>
7
+ </a>
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.4
2
+ Name: OctoPrint-Wrapped
3
+ Version: 1.0.0
4
+ Summary: Get your yearly OctoPrint stats and let it snow! Depends on the Achievements plugin.
5
+ Author-email: Gina Häußge <gina@octoprint.org>
6
+ License: AGPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/OctoPrint/OctoPrint-Wrapped
8
+ Requires-Python: <4,>=3.9
9
+ Description-Content-Type: text/markdown
10
+ Provides-Extra: develop
11
+ Requires-Dist: go-task-bin; extra == "develop"
12
+ Dynamic: license
13
+
14
+ # OctoPrint Wrapped! 🎁
15
+
16
+ Get your yearly OctoPrint stats a shareable "wrapped" picture - and let it snow! ❄️
17
+
18
+ <img src="https://raw.githubusercontent.com/OctoPrint/OctoPrint-Wrapped/main/extras/wrapped-demo.png" width="400" height="400" alt="Demo OctoPrint Wrapped share picture" />
19
+
20
+ ![Demo of snow effect](https://raw.githubusercontent.com/OctoPrint/OctoPrint-Wrapped/main/extras/snowfall-demo.gif)
21
+
22
+ The stats picture depends on the Achievements plugin being enabled (as it takes care of
23
+ the stats collection during the year) and can be opened via the little gift package icon
24
+ in the navbar.
25
+
26
+ The snow effect can always be toggled during the season using the little snowflake icon
27
+ in the navbar, and its setting persists through the browser's local storage.
28
+
29
+ Both wrapped and snowfall are only available from December 1st until January 10th.
30
+
31
+ ## Setup
32
+
33
+ Install via the bundled [Plugin Manager](https://docs.octoprint.org/en/main/bundledplugins/pluginmanager.html)
34
+ or manually using this URL:
35
+
36
+ https://github.com/OctoPrint/OctoPrint-Wrapped/archive/main.zip
37
+
38
+ ## Configuration
39
+
40
+ The plugin does not have any configuration options.
41
+
42
+ ## Acknowledgements
43
+
44
+ The snowfall is implemented with a slightly customized version of [pure-snow.js](https://github.com/hyperstown/pure-snow.js),
45
+ released under the MIT license and bundled here under `octoprint_wrapped/static/pure-snow`.
@@ -0,0 +1,16 @@
1
+ octoprint_wrapped/__init__.py,sha256=NfitC-DP7ZEqZxFZAmoB8sD3oWN77_aVKs6kldX4zjc,7349
2
+ octoprint_wrapped/static/clientjs/wrapped.js,sha256=yoEmqSkmLrwBB7K6iZjicpUuQEBdOf_uwL3ikCXTut0,836
3
+ octoprint_wrapped/static/js/ko.src.svgtopng.js,sha256=ubZUiCymWWNR43LsFx7J85PJmD2vB8QOjksFy0ppffU,1183
4
+ octoprint_wrapped/static/js/wrapped.js,sha256=G1eFi6dVBr5dgh_6OO9gD3ne7XQ97TjHr-Pe3-7omgM,5941
5
+ octoprint_wrapped/static/pure-snow/LICENSE,sha256=nDNbOMh1fRHtkKdPc97ofGj9M2u1ys5AgQ2CtE8d0RY,1111
6
+ octoprint_wrapped/static/pure-snow/pure-snow.css,sha256=oE88bnqnS179JHfN7a3eaQl9cIoQOLWNw9-zi_4-ZIg,268
7
+ octoprint_wrapped/static/pure-snow/pure-snow.js,sha256=J0odzRHNHDp1FJ7KVRRLvfajv1jcV4oeme141Ll3Lrk,4425
8
+ octoprint_wrapped/templates/wrapped.svg.jinja2,sha256=iN_EgNqGdP6D8mY8uwahJgOfo1323G2GZpfE6Px4G9o,197507
9
+ octoprint_wrapped/templates/wrapped_about.jinja2,sha256=akXy51C_YB2z7DaIB4jCv_EkTCKTQ44a3-y1N3xOXAM,925
10
+ octoprint_wrapped/templates/wrapped_navbar_snowfall.jinja2,sha256=ln8wqiYJUMWJo6SyblBnlmm3BOxVbxr6iO8yLtmFZtk,275
11
+ octoprint_wrapped/templates/wrapped_navbar_wrapped.jinja2,sha256=F8qqcr4__cV3MFK2aJE6MeNvvyzAYsRki4HHaPVoswU,279
12
+ octoprint_wrapped-1.0.0.dist-info/METADATA,sha256=oGt-7x-r0WeIrvIjQDqXh29Oyf-R9tsWZbKTHY4u3Ew,1835
13
+ octoprint_wrapped-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ octoprint_wrapped-1.0.0.dist-info/entry_points.txt,sha256=xQ62aUD0yPRRLufT5CfMKvXl-VDGQag1s6ooOXI6psc,47
15
+ octoprint_wrapped-1.0.0.dist-info/top_level.txt,sha256=d6Rw7m_ZQ3UXfvhgx6Czeb-0xY50nPbvd4so-WrGJGo,18
16
+ octoprint_wrapped-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [octoprint.plugin]
2
+ wrapped = octoprint_wrapped
@@ -0,0 +1 @@
1
+ octoprint_wrapped