An extension to add dfour storage support in frictionless-py.
pip install frictionless_dfour
python3 -V # should be > 3.6
# download project
git clone [email protected]:cividi/frictionless-dfour.git
cd frictionless-dfour
# Load dynamic dev version
make dev # or python3 -m pip install -e .
export DFOUR_USERNAME=your-dfour-username
export DFOUR_PASSWORD=your-dfour-password
dfour workspace dfour-workspace-hash path-to-local-folder-to-sync -e https://sandbox.dfour.space
from frictionless import system
from pprint import pprint
source = "https://sandbox.dfour.space"
dialect = DfourDialect(snapshotHash="<SNAPSHOT-HASH>", username:"<YOUR-USER>", password: "<YOUR-PASSWORD>")
storage = system.create_storage("dfour", source, dialect=dialect)
pkg = storage.read_package()
from frictionless import system
from pprint import pprint
target = "https://sandbox.dfour.space"
dialect = DfourDialect(workspaceHash:"<WORKSPACE-HASH>", username:"<YOUR-USER>", password: "<YOUR-PASSWORD>")
storage = system.create_storage("dfour", target, dialect=dialect)
storage.write_package(pkg.to_copy(), force=True)