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.1.tar.gz (166.9 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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file tap_erpnext-0.2.1.tar.gz.

File metadata

  • Download URL: tap_erpnext-0.2.1.tar.gz
  • Upload date:
  • Size: 166.9 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.1.tar.gz
Algorithm Hash digest
SHA256 f5ce66a571fd8ac092f4c0da982efc679c1ca8f7e55d0d554255ff36c3f896ce
MD5 a0c3135481402194d9619042785656e7
BLAKE2b-256 805a43232deef3bc8811cb5839059854fda79035959980faca23eb4b103e81c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tap_erpnext-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: tap_erpnext-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de7e9b9a61707fee2032ecb85aecbbdbe301febacdbc6443bc8e665bf0c8b61a
MD5 ce5d4476e8012d8d6a6c66282104c2b2
BLAKE2b-256 7fb33115d7f644e0f96396a6b4a1e7477a5e59185b1ab619fde53ebb4632ccf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tap_erpnext-0.2.1-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