Skip to main content

BambooHR Python connector

dex-connector-bamboohr provides typed Dex Steps for getEmployee, findEmployeeByEmail, listEmployeeChanges, listTimeOffRequests, updateEmployee, and addEmployee. Each uses the branches and defaults in connector.yaml. addEmployee uses sync Execute and a persisted dispatch fence that resends an unknown outcome only while possible sends stay below the Step's send cap, and selects uncertain at the cap. All other optional branches fail an example Flow unless the application wires them for a business reaction.

Version 0.2.1 resends an addEmployee outcome that is unknown, such as a 5xx or lost response, below the send cap; returns Retry for an unreadable dispatch checkpoint; selects providerRejected for the documented duplicate-email 409 of a first send (uncertain after an earlier possible send); and retries an updateEmployee write that BambooHR did not definitely refuse.

Version 0.2.0 adds the employeeChanged poll Trigger on dex-connectors-sdk 0.12.0's poll Trigger kit. new_project_employee_changed_trigger_runner loads each saved binding's change type (an unsaved binding delivers every change) and records each change in the binding's project Trigger inbox before its cursor commits; new_employee_changed_trigger_runner takes routes with targets and cursor stores; new_employee_changed_trigger keeps the cursor in memory, as Go's generated factory does. Each poll makes one GET /employees/changed request, delivers changes at least 30 seconds old by BambooHR's Date header, oldest first by lastChanged and numeric employee ID, at most 500 per page, and names each event employee-<id>-<action>-<lastChanged Unix seconds>. A 429 or 503 pauses every binding of the connection; a 400 rejecting the cursor starts the binding again at the current time. The cursor document is the Go connector's byte for byte, so Go and Python replicas share it. Client rejects a pollInterval under 10 seconds. The employee-changed example starts one Flow per change and reads inserted and updated employees back.

Use the runnable employee lookup Flow as the application entrypoint. Its worker.py loads the static bamboohr connection from Dex Web project configuration; start.py decodes a bounded JSON request and starts a unique Flow ID. The connector README explains the BambooHR company domain, API key, and provider field vocabulary. Time off request and daily amounts retain Go-compatible JSON number shapes: whole amounts serialize as integers, while fractional amounts remain decimals. Provider IDs outside Go's signed 64-bit range select invalidResponse.

Run the package checks with uv sync --locked, uv run --locked pytest tests, uv run --locked ruff check src examples tests, and uv run --locked mypy src examples/get_employee examples/employee_changed tests. The conformance test replays the checked-in Go provider recording, and tests/test_employee_changed_go_parity.py replays a recording of the Go employeeChanged fetcher's cursors, events, and error classes. The example integration tests require a real dexcli dev server and use local provider stand-ins; live BambooHR behavior, including live polling, has not been verified.

Metadata

Release files for dex-connector-bamboohr 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dex-connector-bamboohr 0.2.1
File Size Uploaded Provenance Actions
dex_connector_bamboohr-0.2.1.tar.gz 132.2 kB Without provenance Details for dex_connector_bamboohr-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dex-connector-bamboohr 0.2.1
File Interpreter ABI Platform Actions
dex_connector_bamboohr-0.2.1-py3-none-any.whl Python 3 none any Details for dex_connector_bamboohr-0.2.1-py3-none-any.whl

Total release size: 184.3 kB

Release files / dex_connector_bamboohr-0.2.1.tar.gz

Download URL dex_connector_bamboohr-0.2.1.tar.gz
Size 132.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cbef01553b7f01997a8c5b7fe0a8c62724f33a9bb7e0862e8c70bcc7d1578c47
BLAKE2b-256 checksum
How to use checksums
d52963c2b212d9a44246f5d5c420c9f41ab1814453d19c68549e5c96fe68e72b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dex_connector_bamboohr-0.2.1-py3-none-any.whl

Download URL dex_connector_bamboohr-0.2.1-py3-none-any.whl
Size 52.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f50c4e6bc0f9fd1b2eb5a806fc9452d51f55fea1d0bb84bcd34143a9662ee0c
BLAKE2b-256 checksum
How to use checksums
f72d374aadb7c0cb3c0bcfaa68ff1c33ec765c5389ba8e3d17b3792abd63c90f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dex-connector-bamboohr 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page