Migration from Devine - unshackle-dl/unshackle GitHub Wiki

Services

To migrate from Devine to Unshackle in your service modules, you can use the following one-liner to update all occurrences of "from devine" to "from unshackle" in files inside the services directory:

Unix

find unshackle/services/ -type f -name "*.py" -exec sed -i 's/from devine/from unshackle/g' {} +

Windows

Get-ChildItem "unshackle/services" -Recurse -Filter *.py |
  ForEach-Object {
      (Get-Content -Raw $_) -replace 'from devine', 'from unshackle' |
      Set-Content $_
  }

MacOS

find unshackle/services -type f -name '*.py' \
     -exec sed -i '' 's/from devine/from unshackle/g' {} +

This command will recursively search for Python files in services and replace all instances of from devine with from unshackle.

Configuration Files

Your devine.yaml will function the same—just place its contents into unshackle.yaml. All service, credential, and CDM mappings will be recognized by Unshackle without modification. No need to rename keys or restructure; simply copy the configuration over.