Skip to main content

GitLab PS Utils

GitLab PS utils is the foundational API and utilities libraries used by GitLab Professional Services. To see the source code, project backlog and contributing guide, check here

Install

pip install gitlab-ps-utils

Usage

This library contains various utility modules and classes. Refer to the repository source code to see available utility functions.

Importing a utility function

from gitlab_ps_utils.string_utils import strip_numbers

test_var = "abc123"
print(strip_numbers(test_var))

Importing a utility class

from gitlab_ps_utils.api import GitLabApi

gl_api = GitLabApi()

gl_api.generate_get_request("http://gitlab.example.com", "token", "/projects")

Other resources

Python-GitLab

We include a basic GitLab API wrapper class in this library. We will include specific API wrapper functions in the future. Our wrapper class and specific wrappers were created when python-gitlab was in a much earlier state, so we continued to use our wrapper instead of switching to python-gitlab

For generic requests to the GitLab API, our wrapper is more lightweight than python-gitlab, but python-gitlab is a great option for more complex API scripts

Metadata

Release files for gitlab-ps-utils 0.22.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 gitlab-ps-utils 0.22.0
File Size Uploaded Provenance
gitlab_ps_utils-0.22.0.tar.gz 34.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gitlab-ps-utils 0.22.0
File Interpreter ABI Platform
gitlab_ps_utils-0.22.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.9 kB

Release files / gitlab_ps_utils-0.22.0.tar.gz

Download URL gitlab_ps_utils-0.22.0.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e0bf2bd729065201a0c54c3cd04d356e069eba511b5cf4eddc7551edeb70356e
BLAKE2b-256 checksum
How to use checksums
918f1b84b4335f4c4efddf7e7404cbab7389f16144cb4e27d4e22a22c2e15f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.11.15 Linux/5.15.154+

Release files / gitlab_ps_utils-0.22.0-py3-none-any.whl

Download URL gitlab_ps_utils-0.22.0-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
221f28da060925c8db1ea09d215acc2b01072ecb3446ef77700cda12ef0a87f7
BLAKE2b-256 checksum
How to use checksums
f0776dcf95bca3608c0cb36ab61ae34b7862c615af9975ffbd7183ad9c25817c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.11.15 Linux/5.15.154+

Security for gitlab-ps-utils 0.22.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.

Release history Release notifications | RSS feed

This release

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