Skip to main content

GitLab connector for Python

Install with pip install dex-connector-gitlab==0.1.0. 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.

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.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-gitlab 0.1.0
File Size Uploaded Provenance Actions
dex_connector_gitlab-0.1.0.tar.gz 73.0 kB Without provenance Details for dex_connector_gitlab-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 91.8 kB

Release files / dex_connector_gitlab-0.1.0.tar.gz

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

Download URL dex_connector_gitlab-0.1.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f7f483b6cb8961a9e6f7c8e588ff0b45f571a2cf553b3a81028b08b13bc178e
BLAKE2b-256 checksum
How to use checksums
33cd867e4bc918e99092164cdb0d83abca718c26a533469afb2dfe032eff3c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.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.

Release history Release notifications | RSS feed

This release

0.1.0 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