OctoPrint | OctoPrint is the snappy web interface for your 3D printer | 3D Printing library

 by   OctoPrint Python Version: 1.10.1 License: AGPL-3.0

kandi X-RAY | OctoPrint Summary

kandi X-RAY | OctoPrint Summary

OctoPrint is a Python library typically used in Modeling, 3D Printing, Raspberry Pi applications. OctoPrint has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has medium support. You can install using 'pip install OctoPrint' or download it from GitHub, PyPI.

OctoPrint provides a snappy web interface for controlling consumer 3D printers. It is Free Software and released under the GNU Affero General Public License V3. Its website can be found at octoprint.org. The community forum is available at community.octoprint.org. It also serves as central knowledge base. An invite to the Discord server can be found at discord.octoprint.org. The FAQ can be accessed by following faq.octoprint.org. The documentation is located at docs.octoprint.org. The official plugin repository can be reached at plugins.octoprint.org. You are currently looking at the source code repository of OctoPrint. If you already installed it (e.g. by using the Raspberry Pi targeted distribution OctoPi) and only want to find out how to use it, the documentation might be of more interest for you. You might also want to subscribe to join the community forum at community.octoprint.org where there are other active users who might be able to help you with any questions you might have.

            kandi-support Support

              OctoPrint has a medium active ecosystem.
              It has 7457 star(s) with 1642 fork(s). There are 348 watchers for this library.
              There were 6 major release(s) in the last 6 months.
              There are 272 open issues and 3540 have been closed. On average issues are closed in 199 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of OctoPrint is 1.10.1

            kandi-Quality Quality

              OctoPrint has 0 bugs and 0 code smells.

            kandi-Security Security

              OctoPrint has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              OctoPrint code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              OctoPrint is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              OctoPrint releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 82301 lines of code, 4143 functions and 405 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed OctoPrint and discovered the below as its top functions. This is intended to give you an instant insight into OctoPrint implemented functionality, and help decide if they suit your requirements.
            • Monitor the device .
            • Saves the settings to the Settings API .
            • get template data
            • Gcode a file .
            • Sets up the assets .
            • Main entrypoint .
            • Install an archive .
            • Upload a file to Gcode .
            • Restore a backup .
            • Get the settings .
            Get all kandi verified functions for this library.

            OctoPrint Key Features

            No Key Features are available at this moment for OctoPrint.

            OctoPrint Examples and Code Snippets

            OctoPrint-Webhooks,Advanced Configuration
            Pythondot img1Lines of Code : 140dot img1License : Strong Copyleft (AGPL-3.0)
            copy iconCopy
              "Content-Type": "application/json"
              "custom1":"my custom data",
              "custom2":"my second piece of custom dat  
            Pythondot img2Lines of Code : 99dot img2License : Strong Copyleft (AGPL-3.0)
            copy iconCopy
              The registration mechanism has changed slightly with OctoPrint 1.3.2 due to an otherwise unsolvable issue with
              allowing multiple clients to exist concurrently and still keeping the existing architecture intact.
              The old mechanism works fine as   
            Pythondot img3Lines of Code : 90dot img3License : Strong Copyleft (AGPL-3.0)
            copy iconCopy
                  .done(function(response) {
                      if (response.result) {
                          // check passed
                      } else {
                          // check failed
            OctoPrint API, error 400 when making a POST request
            Pythondot img4Lines of Code : 2dot img4License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            requests.post(api_link, headers=headers, json=params)
            pyinstaller stops python from reading from script directory
            Pythondot img5Lines of Code : 11dot img5License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            import os
            CONFIG_FILE_PATH = f"{os.path.dirname(__file__)}{os.sep}config.ini"
            if os.path.exists(CONFIG_FILE_PATH): # If the file already exists
                config.read(CONFIG_FILE_PATH) # Read it
            else: # If a config file does not exist
                # E
            Microstepping for Steppermotor Z-axis
            Pythondot img6Lines of Code : 40dot img6License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            import RPi.GPIO as GPIO
            import time
            from time import sleep
            GPIO.setup(21,GPIO.OUT) # direction
            GPIO.setup(20,GPIO.OUT) # step
            step_count = 72727  # number of step to run  change this to cha
            Upload Large files to S3 without authentication in Python
            Pythondot img7Lines of Code : 4dot img7License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            # first pip install environ
            import environ
            SOME_KEY = env('SOME_KEY', default='')

            Community Discussions


            OctoPrint API, error 400 when making a POST request
            Asked 2021-Oct-28 at 01:21

            I'm working with Octoprint's API. I'm struggling trying to issue commands to the 3d printer.

            For example, I want to issue a command that makes the 3d printer jog the X-axis.



            Answered 2021-Oct-28 at 01:21

            From the API documentation:

            If not otherwise stated, OctoPrint’s API expects request bodies and issues response bodies as Content-Type: application/json.

            Your request is not sending JSON. Use this instead:

            Source https://stackoverflow.com/questions/69747094


            How to run a command (like a git pull) from the web browser from a webserver runnint on the Raspberry Pi?
            Asked 2021-Mar-05 at 16:50

            I have a Raspberry Pi that is a web server that I run on my local network similar to how Octoprint works. That is, it creates a web server (and in my case a WiFi access point) that is only accessible on a local network. I'd like to have the web interface be able to update some of the software on the Raspberry Pi, if the Raspberry Pi is connected to the internet, similar to how Octoprint does it. You can see it pops up a terminal-looking output box and it'll do a git pull. Is this something that could be done with pure Javascript, PHP, or something else?

            I'd like to do something similar, where the user could click on a button, and it would pop up a window and do a git pull command and show the output.



            Answered 2021-Mar-05 at 16:50

            If you want to use PHP you can try this library

            PHP Wrapper around GIT Git Wrapper provides a readable API that abstracts challenges of executing Git commands from within a PHP process for you.

            Or you can try another library like

            isomorphic-git A pure JavaScript implementation of git for node and browsers!

            Source https://stackoverflow.com/questions/66496352


            How do bind/map a device to Rancher?
            Asked 2020-Aug-17 at 03:58

            When I run the command on my SBC:



            Answered 2020-Aug-17 at 03:58

            Assuming you are talking about Kubernetes Rancher. The common way is to use privileged in the SecurityContext of your Pod or Container.

            For example:

            Source https://stackoverflow.com/questions/63443369


            How to convert http request to Python?
            Asked 2020-Jan-15 at 13:44

            I need your help.

            I am looking to communicate with a REST API containing sensor data at port number 3. I have a Json (POST) request that works perfectly executed on a REST client like Insomnia.

            My request :



            Answered 2020-Jan-15 at 13:42

            You should pass 'portNumber': '3' in data not in header:

            Source https://stackoverflow.com/questions/59752459

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install OctoPrint

            Installation instructions for installing from source for different operating systems can be found on the forum. If you want to run OctoPrint on a Raspberry Pi, you really should take a look at OctoPi which is a custom SD card image that includes OctoPrint plus dependencies.
            Create a user-owned virtual environment therein: virtualenv venv. If you want to specify a specific python to use instead of whatever version your system defaults to, you can also explicitly require that via the --python parameter, e.g. virtualenv --python=python3 venv.
            Install OctoPrint into that virtual environment: ./venv/bin/pip install OctoPrint


            Contributions of all kinds are welcome, not only in the form of code but also with regards to the official documentation, debugging help in the bug tracker, support of other users on the community forum at community.octoprint.org or the official discord at discord.octoprint.org and also financially. If you think something is bad about OctoPrint or its documentation the way it is, please help in any way to make it better instead of just complaining about it -- this is an Open Source Project after all :). For information about how to go about submitting bug reports or pull requests, please see the project's Contribution Guidelines.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • PyPI

            pip install OctoPrint

          • CLONE
          • HTTPS


          • CLI

            gh repo clone OctoPrint/OctoPrint

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular 3D Printing Libraries


            by OctoPrint


            by openscad


            by YadiraF


            by prusa3d


            by openMVG

            Try Top Libraries by OctoPrint


            by OctoPrintPython


            by OctoPrintPython


            by OctoPrintHTML


            by OctoPrintPython


            by OctoPrintShell