Singer tap for .DBF files
Project description
tap-dbf
Singer tap for the dBase file format.
Configuration
Key | Description | Type | Required | Default |
---|---|---|---|---|
path |
Glob expression where the files are located. Stream names will be extracted from the file name. | string | yes | |
ignore_missing_memofile |
Whether to proceed reading the file even if the memofile is not present | boolean | no | false |
JSON example
{
"path": "tests/data/files/*.dbf",
"ignore_missing_memofile": true
}
Filesystems
Local
Example configuration:
{
"path": "/files/*.dbf",
"fs_root": "file://data",
"ignore_missing_memofile": true
}
The fs_root
key is optional and defaults to the current working directory:
{
"path": "data/files/*.dbf",
"ignore_missing_memofile": true
}
S3
You need to install the package with the s3
extra:
pip install 'tap-dbf[s3]'
Example configuration:
{
"path": "/*.dbf",
"fs_root": "s3://files",
"ignore_missing_memofile": true,
"s3": {
"key": "someKey",
"secret": "someSecret",
"endpoint_url": "http://localhost:9000"
}
}
Google Cloud Storage
You need to install the package with the gcs
extra:
pip install 'tap-dbf[gcs]'
Example configuration:
{
"path": "/*.dbf",
"fs_root": "gcs://files",
"ignore_missing_memofile": true,
"gcs": {
"token": "cloud"
}
}
See https://gcsfs.readthedocs.io/en/latest/#credentials for more information about the token
key.
Roadmap
- Google Drive filesystem
- Dropbox filesystem
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
tap_dbf-0.1.2.tar.gz
(14.6 kB
view hashes)
Built Distribution
tap_dbf-0.1.2-py3-none-any.whl
(10.7 kB
view hashes)