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.4.tar.gz (167.4 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.4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tap_erpnext-0.2.4.tar.gz
  • Upload date:
  • Size: 167.4 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.4.tar.gz
Algorithm Hash digest
SHA256 20d1ccf173bf354192507a9321a07ce978d94b262a50c46365b4bab6047ee87e
MD5 85b910f66a78fb04a5c772fca145f541
BLAKE2b-256 b184a05b43d083d9f1bf1915ce98ed50c864a1afb39e4c918d51258832e5d660

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tap_erpnext-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad3cff4ad8360f358f73b51ea05432d8de407b74fd4efa53521482acc519922
MD5 e3d543384a2a6194d99bcfee9ebf2e02
BLAKE2b-256 9ffc7e14d319f8963acb1f8563f2a5bf57fb14653069d864d95fd8a22be74eae

See more details on using hashes here.

Provenance

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