Pre-release
This release is a pre-release and may not be stable for production use.
Frictionless dfour
An extension to add dfour storage support in frictionless-py.
Guide
Install 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 .
Command Line Usage
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
Python Usage
Read from dfour
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()
Write to dfour
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)
Release files for frictionless-dfour 0.1.0b11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| frictionless-dfour-0.1.0b11.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| frictionless_dfour-0.1.0b11-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 25.5 kB
Release files / frictionless-dfour-0.1.0b11.tar.gz
| Download URL | frictionless-dfour-0.1.0b11.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e668cea92656dcdba544e3165d7365f0b44f394f8a24512343e2aad933506f8e
|
|
BLAKE2b-256 checksum How to use checksums |
df25d1d94254fd460b1c15458d0e97325e228552a18d36202eb4a5300c266a85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Release files / frictionless_dfour-0.1.0b11-py2.py3-none-any.whl
| Download URL | frictionless_dfour-0.1.0b11-py2.py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c823d0002a6cc0e479d7d1de081a2930ba8d0a521131c35971c6b3ef7850a3ec
|
|
BLAKE2b-256 checksum How to use checksums |
5eeebb81f74855f047fc2afcd97b53b0c4e07dd11e8ba78b48240aa06038b704
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|