tap-msaccess
is a Singer tap for Microsoft Access.
Built with the Meltano Tap SDK for Singer Taps.
# pip
pip install git+https://github.com/Matatika/tap-msaccess
pip install git+https://github.com/Matatika/tap-msaccess fsspec[http] # with http(s) support
pip install git+https://github.com/Matatika/tap-msaccess fsspec[s3] # with s3 support
pip install git+https://github.com/Matatika/tap-msaccess fsspec[abfs] # with azure support
# pipx
pipx install git+https://github.com/Matatika/tap-msaccess
pipx install git+https://github.com/Matatika/tap-msaccess fsspec[http] # with http(s) support
pipx install git+https://github.com/Matatika/tap-msaccess fsspec[s3] # with s3 support
pipx install git+https://github.com/Matatika/tap-msaccess fsspec[abfs] # with azure support
# poetry
poetry add git+https://github.com/Matatika/tap-msaccess
poetry add git+https://github.com/Matatika/tap-msaccess fsspec[http] # with http(s) support
poetry add git+https://github.com/Matatika/tap-msaccess fsspec[s3] # with s3 support
poetry add git+https://github.com/Matatika/tap-msaccess fsspec[abfs] # with azure support
Name | Required | Default | Description |
---|---|---|---|
database_file |
Yes | Local or URL path to a Microsoft Access database .mdb or .accdb file |
|
*connection_params |
Any parameters for the fsspec storage backend implementation dictated by the database_file URL protocol, such as HTTP(S), S3 or Azure (see built-in implementations and other known implementations for more information)These can be passed directly as top-level config (i.e. same as database_file ) or via the connection_params setting as a JSON-object value - if both are provided, the configurations are merged, with values from connection_params taking precedence |
A full list of supported settings and capabilities for this tap is available by running:
tap-msaccess --about
Key | Value |
---|---|
database_file |
sample_db/Books.accdb <absolute path to repo>/sample_db/Books.accdb local://sample_db/Books.accdb local://<absolute path to repo>/sample_db/Books.accdb file://sample_db/Books.accdb file://<absolute path to repo>/sample_db/Books.accdb |
Key | Value |
---|---|
database_file |
http://github.com/Matatika/tap-msaccess/raw/main/sample_db/Books.accdb https://github.com/Matatika/tap-msaccess/raw/main/sample_db/Books.accdb https://matatikaartifacts.blob.core.windows.net/tap-msaccess/Books.accdb |
Public read-only bucket
Key | Value |
---|---|
database_file |
s3://tap-msaccess/Books.accdb |
anon |
true |
Private bucket
Key | Value |
---|---|
database_file |
s3://<bucket name>/<file path> |
key |
<access key id> |
secret |
<secret access key> |
Public read-only storage blob
Key | Value |
---|---|
database_file |
az://tap-msaccess/Books.accdb |
account_name |
matatikaartifacts |
Private storage blob
Key | Value |
---|---|
database_file |
az://<container name>/<file path> |
account_name |
<account name> |
account_key |
<account key> |
This Singer tap will automatically import any environment variables within the working directory's
.env
if the --config=ENV
is provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the .env
file.
You can easily run tap-msaccess
by itself or in a pipeline using Meltano.
tap-msaccess --version
tap-msaccess --help
tap-msaccess --config CONFIG --discover > ./catalog.json
Follow these instructions to contribute to this project.
pipx install poetry
poetry install
Create tests within the tests
subfolder and
then run:
poetry run pytest
You can also test the tap-msaccess
CLI interface directly using poetry run
:
poetry run tap-msaccess --help
Testing with Meltano
Note: This tap will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.
Next, install Meltano (if you haven't already) and any needed plugins:
# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-msaccess
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke tap-msaccess --version
# OR run a test `elt` pipeline:
meltano elt tap-msaccess target-jsonl
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.