<p align="center"><img src="https://octoprint.org/assets/img/logo.png" alt="OctoPrint's logo" /></p>
<h1 align="center">OctoPrint</h1>
<p align="center">
<img src="https://img.shields.io/github/v/release/OctoPrint/OctoPrint?logo=github&logoColor=white" alt="GitHub release"/>
<img src="https://img.shields.io/pypi/v/OctoPrint?logo=python&logoColor=white" alt="PyPI"/>
<img src="https://img.shields.io/github/actions/workflow/status/OctoPrint/OctoPrint/build.yml?branch=master" alt="Build status"/>
<a href="https://community.octoprint.org"><img src="https://img.shields.io/discourse/users?label=forum&logo=discourse&logoColor=white&server=https%3A%2F%2Fcommunity.octoprint.org" alt="Community Forum"/></a>
<a href="https://discord.octoprint.org"><img src="https://img.shields.io/discord/704958479194128507?label=discord&logo=discord&logoColor=white" alt="Discord"/></a>
<a href="https://octoprint.org/conduct/"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant"/></a>
<a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black"/></a>
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" alt="Code style: prettier"/></a>
<a href="https://pycqa.github.io/isort/"><img src="https://img.shields.io/badge/%20imports-isort-%231674b1" alt="Imports: isort"/></a>
<a href="https://github.com/pre-commit/pre-commit"><img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white" alt="pre-commit"/></a>
</p>
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](https://www.gnu.org/licenses/agpl-3.0.html).
Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme).
The community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme). It also serves as a central knowledge base.
An invite to the Discord server can be found at [discord.octoprint.org](https://discord.octoprint.org).
The FAQ can be accessed by following [faq.octoprint.org](https://faq.octoprint.org/?utm_source=github&utm_medium=readme).
The documentation is located at [docs.octoprint.org](https://docs.octoprint.org).
The official plugin repository can be reached at [plugins.octoprint.org](https://plugins.octoprint.org/?utm_source=github&utm_medium=readme).
**OctoPrint's development wouldn't be possible without the [financial support by its community](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme).
If you enjoy OctoPrint, please consider becoming a regular supporter!**
![Screenshot](https://octoprint.org/assets/img/screenshot-readme.png)
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](https://github.com/guysoft/OctoPi)) and only
want to find out how to use it, [the documentation](https://docs.octoprint.org/) might be of more interest for you. You might also want to subscribe to join
[the community forum at community.octoprint.org](https://community.octoprint.org) where there are other active users who might be
able to help you with any questions you might have.
## Contributing
Contributions of all kinds are welcome, not only in the form of code but also with regards to the
[official documentation](https://docs.octoprint.org/), debugging help
in the [bug tracker](https://github.com/OctoPrint/OctoPrint/issues), support of other users on
[the community forum at community.octoprint.org](https://community.octoprint.org) or
[the official discord at discord.octoprint.org](https://discord.octoprint.org)
and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme).
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](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md).
## Installation
Installation instructions for installing from source for different operating
systems can be found [on the forum](https://community.octoprint.org/tags/c/support/guides/15/setup).
If you want to run OctoPrint on a Raspberry Pi, you really should take a look at [OctoPi](https://github.com/guysoft/OctoPi)
which is a custom SD card image that includes OctoPrint plus dependencies.
The generic steps that should basically be done regardless of operating system
and runtime environment are the following (as *regular
user*, please keep your hands *off* of the `sudo` command here!) - this assumes
you already have Python 3.7+, pip and virtualenv and their dependencies set up on your system:
1. 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`.
2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint`
You may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage)
for details.
After installation, please make sure you follow the first-run wizard and set up
access control as necessary.
## Dependencies
OctoPrint depends on a few python modules to do its job. Those are automatically installed when installing
OctoPrint via `pip`.
OctoPrint currently supports Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.
## Usage
Running the pip install via
pip install OctoPrint
installs the `octoprint` script in your Python installation's scripts folder
(which, depending on whether you installed OctoPrint globally or into a virtual env, will be in your `PATH` or not). The
following usage examples assume that the `octoprint` script is on your `PATH`.
You can start the server via
octoprint serve
By default it binds to all interfaces on port 5000 (so pointing your browser to `http://127.0.0.1:5000`
will do the trick). If you want to change that, use the additional command line parameters `host` and `port`,
which accept the host ip to bind to and the numeric port number respectively. If for example you want the server
to only listen on the local interface on port 8080, the command line would be
octoprint serve --host=127.0.0.1 --port=8080
Alternatively, the host and port on which to bind can be defined via the config file.
If you want to run OctoPrint as a daemon (only supported on Linux), use
octoprint daemon {start|stop|restart} [--pid PIDFILE]
If you do not supply a custom pidfile location via `--pid PIDFILE`, it will be created at `/tmp/octoprint.pid`.
You can also specify the config file or the base directory (for basing off the `uploads`, `timelapse` and `logs` folders),
e.g.:
octoprint serve --config /path/to/another/config.yaml --basedir /path/to/my/basedir
To start OctoPrint in safe mode - which disables all third party plugins that do not come bundled with OctoPrint - use
the ``--safe`` flag:
octoprint serve --safe
See `octoprint --help` for more information on the available command line parameters.
OctoPrint also ships with a `run` script in its source directory. You can invoke it to start the server. It
takes the same command line arguments as the `octoprint` script.
## Configuration
If not specified via the command line, the config file `config.yaml` for OctoPrint is expected in the settings folder,
which is located at `~/.octoprint` on Linux, at `%APPDATA%/OctoPrint` on Windows and
at `~/Library/Application Support/OctoPrint` on MacOS.
A comprehensive overview of all available configuration settings can be found
[in the docs](https://docs.octoprint.org/en/master/configuration/config_yaml.html).
Please note that the most commonly used configuration settings can also easily
be edited from OctoPrint's settings dialog.
## Special Thanks
Cross-browser testing services are kindly provided by [BrowserStack](https://www.browserstack.com/).
Profiling is done with the help of [PyVmMonitor](https://www.pyvmmonitor.com).
Error tracking is powered and sponsored by [Sentry](https://sentry.io).
Raw data
{
"_id": null,
"home_page": "https://octoprint.org",
"name": "OctoPrint",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.7",
"maintainer_email": null,
"keywords": "3dprinting 3dprinter 3d-printing 3d-printer octoprint",
"author": "Gina H\u00e4u\u00dfge",
"author_email": "gina@octoprint.org",
"download_url": "https://files.pythonhosted.org/packages/97/f7/97c9ab9841aa294cf3376045cc8e40399874183c407f18966fd43a4670d8/octoprint-1.10.2.tar.gz",
"platform": null,
"description": "<p align=\"center\"><img src=\"https://octoprint.org/assets/img/logo.png\" alt=\"OctoPrint's logo\" /></p>\n\n<h1 align=\"center\">OctoPrint</h1>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/github/v/release/OctoPrint/OctoPrint?logo=github&logoColor=white\" alt=\"GitHub release\"/>\n <img src=\"https://img.shields.io/pypi/v/OctoPrint?logo=python&logoColor=white\" alt=\"PyPI\"/>\n <img src=\"https://img.shields.io/github/actions/workflow/status/OctoPrint/OctoPrint/build.yml?branch=master\" alt=\"Build status\"/>\n <a href=\"https://community.octoprint.org\"><img src=\"https://img.shields.io/discourse/users?label=forum&logo=discourse&logoColor=white&server=https%3A%2F%2Fcommunity.octoprint.org\" alt=\"Community Forum\"/></a>\n <a href=\"https://discord.octoprint.org\"><img src=\"https://img.shields.io/discord/704958479194128507?label=discord&logo=discord&logoColor=white\" alt=\"Discord\"/></a>\n <a href=\"https://octoprint.org/conduct/\"><img src=\"https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg\" alt=\"Contributor Covenant\"/></a>\n <a href=\"https://github.com/psf/black\"><img src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code style: black\"/></a>\n <a href=\"https://github.com/prettier/prettier\"><img src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\" alt=\"Code style: prettier\"/></a>\n <a href=\"https://pycqa.github.io/isort/\"><img src=\"https://img.shields.io/badge/%20imports-isort-%231674b1\" alt=\"Imports: isort\"/></a>\n <a href=\"https://github.com/pre-commit/pre-commit\"><img src=\"https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\" alt=\"pre-commit\"/></a>\n</p>\n\nOctoPrint provides a snappy web interface for controlling consumer 3D printers. It is Free Software\nand released under the [GNU Affero General Public License V3](https://www.gnu.org/licenses/agpl-3.0.html).\n\nIts website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme).\n\nThe community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme). It also serves as a central knowledge base.\n\nAn invite to the Discord server can be found at [discord.octoprint.org](https://discord.octoprint.org).\n\nThe FAQ can be accessed by following [faq.octoprint.org](https://faq.octoprint.org/?utm_source=github&utm_medium=readme).\n\nThe documentation is located at [docs.octoprint.org](https://docs.octoprint.org).\n\nThe official plugin repository can be reached at [plugins.octoprint.org](https://plugins.octoprint.org/?utm_source=github&utm_medium=readme).\n\n**OctoPrint's development wouldn't be possible without the [financial support by its community](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme).\nIf you enjoy OctoPrint, please consider becoming a regular supporter!**\n\n![Screenshot](https://octoprint.org/assets/img/screenshot-readme.png)\n\nYou are currently looking at the source code repository of OctoPrint. If you already installed it\n(e.g. by using the Raspberry Pi targeted distribution [OctoPi](https://github.com/guysoft/OctoPi)) and only\nwant to find out how to use it, [the documentation](https://docs.octoprint.org/) might be of more interest for you. You might also want to subscribe to join\n[the community forum at community.octoprint.org](https://community.octoprint.org) where there are other active users who might be\nable to help you with any questions you might have.\n\n## Contributing\n\nContributions of all kinds are welcome, not only in the form of code but also with regards to the\n[official documentation](https://docs.octoprint.org/), debugging help\nin the [bug tracker](https://github.com/OctoPrint/OctoPrint/issues), support of other users on\n[the community forum at community.octoprint.org](https://community.octoprint.org) or\n[the official discord at discord.octoprint.org](https://discord.octoprint.org)\nand also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme).\n\nIf you think something is bad about OctoPrint or its documentation the way it is, please help\nin any way to make it better instead of just complaining about it -- this is an Open Source Project\nafter all :)\n\nFor information about how to go about submitting bug reports or pull requests, please see the project's\n[Contribution Guidelines](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md).\n\n## Installation\n\nInstallation instructions for installing from source for different operating\nsystems can be found [on the forum](https://community.octoprint.org/tags/c/support/guides/15/setup).\n\nIf you want to run OctoPrint on a Raspberry Pi, you really should take a look at [OctoPi](https://github.com/guysoft/OctoPi)\nwhich is a custom SD card image that includes OctoPrint plus dependencies.\n\nThe generic steps that should basically be done regardless of operating system\nand runtime environment are the following (as *regular\nuser*, please keep your hands *off* of the `sudo` command here!) - this assumes\nyou already have Python 3.7+, pip and virtualenv and their dependencies set up on your system:\n\n1. Create a user-owned virtual environment therein: `virtualenv venv`. If you want to specify a specific python\n to use instead of whatever version your system defaults to, you can also explicitly require that via the `--python`\n parameter, e.g. `virtualenv --python=python3 venv`.\n2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint`\n\nYou may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage)\nfor details.\n\nAfter installation, please make sure you follow the first-run wizard and set up\naccess control as necessary.\n\n## Dependencies\n\nOctoPrint depends on a few python modules to do its job. Those are automatically installed when installing\nOctoPrint via `pip`.\n\nOctoPrint currently supports Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.\n\n## Usage\n\nRunning the pip install via\n\n pip install OctoPrint\n\ninstalls the `octoprint` script in your Python installation's scripts folder\n(which, depending on whether you installed OctoPrint globally or into a virtual env, will be in your `PATH` or not). The\nfollowing usage examples assume that the `octoprint` script is on your `PATH`.\n\nYou can start the server via\n\n octoprint serve\n\nBy default it binds to all interfaces on port 5000 (so pointing your browser to `http://127.0.0.1:5000`\nwill do the trick). If you want to change that, use the additional command line parameters `host` and `port`,\nwhich accept the host ip to bind to and the numeric port number respectively. If for example you want the server\nto only listen on the local interface on port 8080, the command line would be\n\n octoprint serve --host=127.0.0.1 --port=8080\n\nAlternatively, the host and port on which to bind can be defined via the config file.\n\nIf you want to run OctoPrint as a daemon (only supported on Linux), use\n\n octoprint daemon {start|stop|restart} [--pid PIDFILE]\n\nIf you do not supply a custom pidfile location via `--pid PIDFILE`, it will be created at `/tmp/octoprint.pid`.\n\nYou can also specify the config file or the base directory (for basing off the `uploads`, `timelapse` and `logs` folders),\ne.g.:\n\n octoprint serve --config /path/to/another/config.yaml --basedir /path/to/my/basedir\n\nTo start OctoPrint in safe mode - which disables all third party plugins that do not come bundled with OctoPrint - use\nthe ``--safe`` flag:\n\n octoprint serve --safe\n\nSee `octoprint --help` for more information on the available command line parameters.\n\nOctoPrint also ships with a `run` script in its source directory. You can invoke it to start the server. It\ntakes the same command line arguments as the `octoprint` script.\n\n## Configuration\n\nIf not specified via the command line, the config file `config.yaml` for OctoPrint is expected in the settings folder,\nwhich is located at `~/.octoprint` on Linux, at `%APPDATA%/OctoPrint` on Windows and\nat `~/Library/Application Support/OctoPrint` on MacOS.\n\nA comprehensive overview of all available configuration settings can be found\n[in the docs](https://docs.octoprint.org/en/master/configuration/config_yaml.html).\nPlease note that the most commonly used configuration settings can also easily\nbe edited from OctoPrint's settings dialog.\n\n## Special Thanks\n\nCross-browser testing services are kindly provided by [BrowserStack](https://www.browserstack.com/).\n\nProfiling is done with the help of [PyVmMonitor](https://www.pyvmmonitor.com).\n\nError tracking is powered and sponsored by [Sentry](https://sentry.io).\n",
"bugtrack_url": null,
"license": "GNU Affero General Public License v3",
"summary": "The snappy web interface for your 3D printer",
"version": "1.10.2",
"project_urls": {
"Bug Reports": "https://github.com/OctoPrint/OctoPrint/issues",
"Community Forum": "https://community.octoprint.org",
"Funding": "https://support.octoprint.org",
"Homepage": "https://octoprint.org",
"Source": "https://github.com/OctoPrint/OctoPrint"
},
"split_keywords": [
"3dprinting",
"3dprinter",
"3d-printing",
"3d-printer",
"octoprint"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a700ce811ba2e3e76119e3f728b10cd2f98c2c162e46c749b8f9760bc34d0452",
"md5": "34fed1cc01a9d89d2f23dcc3a29156db",
"sha256": "6778db7ef5db3b7ad14adc3012b92fa4d9b5fe27a46bf5c42292fdcbbd584ec8"
},
"downloads": -1,
"filename": "OctoPrint-1.10.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "34fed1cc01a9d89d2f23dcc3a29156db",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": "<3.13,>=3.7",
"size": 3368658,
"upload_time": "2024-06-18T08:19:01",
"upload_time_iso_8601": "2024-06-18T08:19:01.302726Z",
"url": "https://files.pythonhosted.org/packages/a7/00/ce811ba2e3e76119e3f728b10cd2f98c2c162e46c749b8f9760bc34d0452/OctoPrint-1.10.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "97f797c9ab9841aa294cf3376045cc8e40399874183c407f18966fd43a4670d8",
"md5": "c47f4b658f7a9533b7cc2e3256c243b7",
"sha256": "9661bbf811137f9ff7fdf3ede42313dc58f76401e96cd017115a9d47f02a2671"
},
"downloads": -1,
"filename": "octoprint-1.10.2.tar.gz",
"has_sig": false,
"md5_digest": "c47f4b658f7a9533b7cc2e3256c243b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.7",
"size": 3127351,
"upload_time": "2024-06-18T08:19:05",
"upload_time_iso_8601": "2024-06-18T08:19:05.055776Z",
"url": "https://files.pythonhosted.org/packages/97/f7/97c9ab9841aa294cf3376045cc8e40399874183c407f18966fd43a4670d8/octoprint-1.10.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-18 08:19:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OctoPrint",
"github_project": "OctoPrint",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "octoprint"
}