This OctoPrint plugin makes it easy to manage your inventory of filament spools. You can add all your spools and assign them to print jobs. The Filament Manager will automatically track the amount of extruded filament so you can always see how much is left on your spools.
If you have questions or encounter issues please take a look at the Frequently Asked Questions first. There might be already an answer. In case you haven't found what you are looking for, feel free to open a ticket and I'll try to help. Since OctoPrint provides an own community forum questions and requests for help should be placed there.
Install this plugin via the bundled Plugin Manager or manually using this URL:
https://github.com/malnvenshorn/OctoPrint-FilamentManager/archive/master.zip
For PostgreSQL support you need to install an additional dependency:
pip install psycopg2