Dfour Storage for frictionless-py
Project description
Frictionless dfour
An extension to add dfour storage support in frictionless-py.
Guide
Load the package
Release version
pip install frictionless_dfour
Dev version
python3 -V # should be > 3.6
# download project
git clone git@github.com:cividi/frictionless-dfour.git
cd frictionless-dfour
# Load dynamic dev version
make dev # or python3 -m pip install -e .
Read from dfour
from frictionless import system
from pprint import pprint
source = "https://sandbox.dfour.space"
dialect = DfourDialect(snapshot="<SNAPSHOTHASH>", workspace="<WORKSPACEHASH>", credentials={"username":"<YOURUSER>","password":"<YOURPASSWORD>"})
storage = system.create_storage("dfour", source, dialect=dialect)
pkg = storage.read_package()
Write to dfour
from frictionless import system
from pprint import pprint
target = "https://sandbox.dfour.space"
dialect = DfourDialect(snapshot="<SNAPSHOTHASH>", workspace="<WORKSPACEHASH>", credentials={"username":"<YOURUSER>","password":"<YOURPASSWORD>"})
storage = system.create_storage("dfour", target, dialect=dialect)
pkg = storage.read_package()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frictionless-dfour-0.1.0b1.tar.gz
(12.5 kB
view hashes)
Close
Hashes for frictionless-dfour-0.1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 629c5908960f2ae89147ba31c9e107edf07ecfef2f34d9c34691a93de07c9bcf |
|
MD5 | 12207202fd529d5962d923779ddc91ec |
|
BLAKE2b-256 | 9a83652d4f7f681a4e6ff83f556e8f98ac031402cf48fa65f77ae5550971b3f0 |