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.2 reads addEmployee back by email before resending an unknown outcome and rejects an older employee whose name or supplied hire date differs.

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.2

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.2
File Size Uploaded Provenance Actions
dex_connector_bamboohr-0.2.2.tar.gz 132.9 kB Without provenance Details for dex_connector_bamboohr-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 185.4 kB

Release files / dex_connector_bamboohr-0.2.2.tar.gz

Download URL dex_connector_bamboohr-0.2.2.tar.gz
Size 132.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98fc8e3b0492dd9c8521be8235b7298f1e2f1a179caebbcffb1418f32da3fe54
BLAKE2b-256 checksum
How to use checksums
e3156aae1691691df8dffff125b34e746ab3fb8805fe17de206f51acbda1bdd5
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.2-py3-none-any.whl

Download URL dex_connector_bamboohr-0.2.2-py3-none-any.whl
Size 52.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47e476b822c436f59df6389ca7ec620a62b15454b63ae4e52bb52782fb97a736
BLAKE2b-256 checksum
How to use checksums
266130ddc27af3c02a59d711461a5f7f18cf8345329541463d4a789a12e36cb8
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.2

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