Singer tap for ErpNext, built with the Meltano Singer SDK.
Project description
tap-erpnext
tap-erpnext is a Singer tap for ErpNext.
Built with the Meltano Tap SDK for Singer Taps.
Configuration
Accepted Config Options
| Setting | Required | Default | Description |
|---|---|---|---|
| api_url | True | None | The base URL of the ERPNext instance (e.g. https://erp.example.com) |
| api_key | True | None | ERPNext API key |
| api_secret | True | None | ERPNext API secret |
| start_date | False | None | The earliest record date to sync |
| limit_page_length | False | 200 | Number of records to fetch per API request |
| doctypes | False | None | Specific DocType names to sync. If omitted, all accessible DocTypes are discovered. |
| stream_maps | False | None | Config object for stream maps capability. For more information check out Stream Maps. |
| stream_maps.else | False | None | Currently, only setting this to __NULL__ is supported. This will remove all other streams. |
| stream_map_config | False | None | User-defined config values to be used within map expressions. |
| faker_config | False | None | Config for the Faker instance variable fake used within map expressions. Only applicable if the plugin specifies faker as an additional dependency (through the singer-sdk faker extra or directly). |
| faker_config.seed | False | None | Value to seed the Faker generator for deterministic output: https://faker.readthedocs.io/en/master/#seeding-the-generator |
| faker_config.locale | False | None | One or more LCID locale strings to produce localized output for: https://faker.readthedocs.io/en/master/#localization |
| flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. |
| flattening_max_depth | False | None | The max depth to flatten schemas. |
| flattening_max_key_length | False | None | The maximum length of a flattened key. |
| flattening_separator | False | None | The separator to use when flattening keys. |
| batch_config | False | None | Configuration for BATCH message capabilities. |
| batch_config.encoding | False | None | Specifies the format and compression of the batch files. |
| batch_config.encoding.format | False | None | Format to use for batch files. |
| batch_config.encoding.compression | False | None | Compression format to use for batch files. |
| batch_config.storage | False | None | Defines the storage layer to use when writing batch files |
| batch_config.storage.root | False | None | Root path to use when writing batch files. |
| batch_config.storage.prefix | False | None | Prefix to use when writing batch files. |
A full list of supported settings and capabilities for this tap is available by running:
tap-erpnext --about
Configure using environment variables
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.
Source Authentication and Authorization
Usage
You can easily run tap-erpnext by itself or in a pipeline using Meltano.
Executing the Tap Directly
tap-erpnext --version
tap-erpnext --help
tap-erpnext --config CONFIG --discover > ./catalog.json
Developer Resources
Follow these instructions to contribute to this project.
Initialize your Development Environment
Prerequisites:
- Python 3.10+
- uv
uv sync
Create and Run Tests
Create tests within the tests subfolder and
then run:
uv run pytest
You can also test the tap-erpnext CLI interface directly using uv run:
uv run tap-erpnext --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.
Use Meltano to run an EL pipeline:
# Install meltano
uv tool install meltano
# Test invocation
meltano invoke tap-erpnext --version
# Run a test EL pipeline
meltano run tap-erpnext target-jsonl
SDK Dev Guide
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tap_erpnext-0.2.3.tar.gz.
File metadata
- Download URL: tap_erpnext-0.2.3.tar.gz
- Upload date:
- Size: 167.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aed665207d4cbe4d8ace264fd9cb4b66e289a964e88a5b4f58f28750ca9e731
|
|
| MD5 |
d3c37b7284b37236aca7399c77b63095
|
|
| BLAKE2b-256 |
2c4c0999374644f0807e19caec764b7aa1a2ae43ea0526cea19352065a56bb56
|
Provenance
The following attestation bundles were made for tap_erpnext-0.2.3.tar.gz:
Publisher:
build.yml on adriaan90/tap-erpnext
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tap_erpnext-0.2.3.tar.gz -
Subject digest:
2aed665207d4cbe4d8ace264fd9cb4b66e289a964e88a5b4f58f28750ca9e731 - Sigstore transparency entry: 2071231760
- Sigstore integration time:
-
Permalink:
adriaan90/tap-erpnext@bec36d7d79424a45e99fe5a61d6baaa8cfabdfeb -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/adriaan90
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@bec36d7d79424a45e99fe5a61d6baaa8cfabdfeb -
Trigger Event:
push
-
Statement type:
File details
Details for the file tap_erpnext-0.2.3-py3-none-any.whl.
File metadata
- Download URL: tap_erpnext-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a16779019b8e63a481ced9832d5897c0bace3f7d9fd1a514b51d619d8a7f12b2
|
|
| MD5 |
cbb2b579d63e4ed8ddaaa8720c125449
|
|
| BLAKE2b-256 |
00faf19ceb37e349a55422c3e788b67e8ce41b6e31eebbada45a0cb74fca02e2
|
Provenance
The following attestation bundles were made for tap_erpnext-0.2.3-py3-none-any.whl:
Publisher:
build.yml on adriaan90/tap-erpnext
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tap_erpnext-0.2.3-py3-none-any.whl -
Subject digest:
a16779019b8e63a481ced9832d5897c0bace3f7d9fd1a514b51d619d8a7f12b2 - Sigstore transparency entry: 2071231782
- Sigstore integration time:
-
Permalink:
adriaan90/tap-erpnext@bec36d7d79424a45e99fe5a61d6baaa8cfabdfeb -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/adriaan90
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@bec36d7d79424a45e99fe5a61d6baaa8cfabdfeb -
Trigger Event:
push
-
Statement type: