Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tap_erpnext-0.2.3.tar.gz (167.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tap_erpnext-0.2.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

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

Hashes for tap_erpnext-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2aed665207d4cbe4d8ace264fd9cb4b66e289a964e88a5b4f58f28750ca9e731
MD5 d3c37b7284b37236aca7399c77b63095
BLAKE2b-256 2c4c0999374644f0807e19caec764b7aa1a2ae43ea0526cea19352065a56bb56

See more details on using hashes here.

Provenance

The following attestation bundles were made for tap_erpnext-0.2.3.tar.gz:

Publisher: build.yml on adriaan90/tap-erpnext

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tap_erpnext-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a16779019b8e63a481ced9832d5897c0bace3f7d9fd1a514b51d619d8a7f12b2
MD5 cbb2b579d63e4ed8ddaaa8720c125449
BLAKE2b-256 00faf19ceb37e349a55422c3e788b67e8ce41b6e31eebbada45a0cb74fca02e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tap_erpnext-0.2.3-py3-none-any.whl:

Publisher: build.yml on adriaan90/tap-erpnext

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page