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 so an ambiguous creation is never sent again. All other optional branches fail an example Flow unless the application wires them for a business reaction.

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

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.0
File Size Uploaded Provenance Actions
dex_connector_bamboohr-0.2.0.tar.gz 125.9 kB Without provenance Details for dex_connector_bamboohr-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 175.1 kB

Release files / dex_connector_bamboohr-0.2.0.tar.gz

Download URL dex_connector_bamboohr-0.2.0.tar.gz
Size 125.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f1af1182c1bc0537441ec1f95725b0d1026d05d4d40574853303aead576a1a44
BLAKE2b-256 checksum
How to use checksums
b5333c1e698d1a5b403e7e7e3018f24f2f1140ccbea6e07503140876d988f258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.0-py3-none-any.whl

Download URL dex_connector_bamboohr-0.2.0-py3-none-any.whl
Size 49.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbb2608996efb2ec8f75e24e943cac464d19b93e6b89b8e814c67db01d612022
BLAKE2b-256 checksum
How to use checksums
4e9e3d417b986a405aee109eb6cb28e6c0170a7b5f0b65c222be1e45a1d2df85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.0

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