Skip to main content

GitLab connector for Python

Install with pip install dex-connector-gitlab==0.1.1. The package requires dex-connectors-sdk==0.1.0 and dex-python-sdk>=1.28.0, and implements the manifest operations getProject and listIssues (Queries) and updateIssueLabels (Mutation) with the same branches, defaults, and failure classification as the Go module.

Operations

Operation Factory Happy branch Optional branches
getProject new_get_project_step found notFound, providerRejected, invalidResponse, defect
listIssues new_list_issues_step listed notFound, providerRejected, invalidResponse, defect
updateIssueLabels new_update_issue_labels_step updated notFound, providerRejected, invalidResponse, defect

A project is a numeric ID or a namespace path such as meridian/web, which is path-escaped. listIssues reads GitLab's default first page of issues. updateIssueLabels replaces the issue's complete label set with a form-encoded labels value (an empty set clears every label), so a retry writes the same absolute state; labels must be nonblank and cannot contain commas.

All operations retry on 408, 409, 429, 5xx, and transport failures. HTTP 404 selects notFound; other statuses select providerRejected with authentication (401), authorization (403), or validation (400, 422) kinds. updateIssueLabels is declared repeatOnUnknown: safe, so it rejects only HTTP 400, 401, 403, 411, 413, 414, 415, or 422 and retries every other unknown answer, including a malformed or oversized response.

Authorization

Create a Dex Web connection named gitlab as described in the connector README. The access token travels only in the PRIVATE-TOKEN header and is resolved for every attempt.

Example

examples/gitlab_lookup reads one project. Run the Worker with uv run python -m examples.gitlab_lookup.worker after dexcli dev has loaded a project containing the gitlab connection.

Tests

gitlabmock.Mock scripts every operation and defaults to the manifest answers. Run uv run pytest tests for provider parity and manifest contract checks.

Metadata

Release files for dex-connector-gitlab 0.1.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-gitlab 0.1.1
File Size Uploaded Provenance Actions
dex_connector_gitlab-0.1.1.tar.gz 74.7 kB Without provenance Details for dex_connector_gitlab-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 94.9 kB

Release files / dex_connector_gitlab-0.1.1.tar.gz

Download URL dex_connector_gitlab-0.1.1.tar.gz
Size 74.7 kB
Tags Source
SHA-256 checksum
How to use checksums
13ace3c9f6af872dbd77c315fc64a72044b0f3a90bc3f5779575ef7274170534
BLAKE2b-256 checksum
How to use checksums
76bfd9ba4dcf7a7ab3502c320c2a8dd642e08e54f6b0d14422f18bd068eef71e
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_gitlab-0.1.1-py3-none-any.whl

Download URL dex_connector_gitlab-0.1.1-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e19f094d64764595e7f54131d1e959dd5af891eb723ceda1fb18d9f368480ce
BLAKE2b-256 checksum
How to use checksums
ff10efc4e26c622254051086344df47aa14ca04264a9792b2a6c1053af6a128a
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-gitlab 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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