Python script to extract your filaments and bring them into a SpoolmanDB format to participate in creating an comprehensive and centralized filament database. This database is used in Spoolman by Donkie.
Just clone the repo and install deps
pip install -r requirements.txt
Create an .env
file according to the .env.example
and add your spoolman url.
API_URL
Just simply execute the script
py main.py
The script will create a output_filaments
folder which contains JSON files. One JSON file per manufacturer according to the JSON schemas of SpoolmanDB.