<commit_before># octoprint-printer-connection-plugin-for-cura
OctoPrint Printer Connection Plugin for Cura to allow direct printing from Cura to OctoPrint. In practice, this means that the Save icon will change to a WiFi looking icon, which when pressed will upload the gcode to your OctoPrint, and open a dialog, from which the Print button will actually start the print.

Installation
============
1. Create a new directory in your Cura installation's plugin directory, the name does not matter, but recommended is "OctoPrintPrinterConnection".
2. Edit the OctoPrintPrinterConnection.py file and search for the "addHeader" method call on the http client - change the line to use your OctoPrint Api Key.
3. Enable [discovery](https://github.com/foosel/OctoPrint/wiki/Plugin:-Discovery) on OctoPrint, which currently requires running on OctoPrint's devel branch.

Dependencies
============
* OctoPrint devel branch installation
* Cura with two pull requests
  * [Adding filename to the printer connection](https://github.com/daid/Cura/pull/1163)
  * [Adding printer connection plugins](https://github.com/daid/Cura/pull/1162)
<commit_msg>Updating to add Credits<commit_after># octoprint-printer-connection-plugin-for-cura
OctoPrint Printer Connection Plugin for Cura to allow direct printing from Cura to OctoPrint. In practice, this means that the Save icon will change to a WiFi looking icon, which when pressed will upload the gcode to your OctoPrint, and open a dialog, from which the Print button will actually start the print.

Installation
============
1. Create a new directory in your Cura installation's plugin directory, the name does not matter, but recommended is "OctoPrintPrinterConnection".
2. Edit the OctoPrintPrinterConnection.py file and search for the "addHeader" method call on the http client - change the line to use your OctoPrint Api Key.
3. Enable [discovery](https://github.com/foosel/OctoPrint/wiki/Plugin:-Discovery) on OctoPrint, which currently requires running on OctoPrint's devel branch.

Dependencies
============
* OctoPrint devel branch installation
* Cura with two pull requests
  * [Adding filename to the printer connection](https://github.com/daid/Cura/pull/1163)
  * [Adding printer connection plugins](https://github.com/daid/Cura/pull/1162)

Credit
======
* Includes [ssdp library](https://gist.github.com/dankrause/6000248) writen by [<NAME>](https://gist.github.com/dankrause), released using the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0)
* Inspired by the PrinterConnection work in [Cura](https://github.com/daid/Cura) by [<NAME>](https://github.com/daid)

{'fraction_non_alphanumeric': 0.100114198705748, 'fraction_numerical': 0.012561857632280167, 'mean_word_length': 5.154566744730679, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6140530', 'n_tokens_mistral': 757, 'n_tokens_neox': 723, 'n_words': 293}