qrm2/dev-notes/test_resource_manager.py
0x5c 0241d1856a
Added and switched to the Resource Manager
- Added Resource Manager
- Migrated most exts to it
- Added config entry for the resources URL
- Added my ID to template
- Bumped copyright on edited files

Fixes #246
2021-03-18 09:17:30 -04:00

19 lines
410 B
Python

from pathlib import Path
from utils.resources_manager import ResourcesManager
path = Path("./data/resources")
url = "https://qrmresources.miaow.io/resources/"
versions = {
"bandcharts": "v1",
"img": "v1",
"maps": "v1",
"morse": "v1",
"phonetics": "v1",
"qcodes": "v1",
"funetics": "v1"
}
rm = ResourcesManager(path, url, versions)
print(rm.index)