Skip to main content

Python package to interact with GitLab

Project description

gidgetlab-kit

Ruff pre-commit pipeline coverage

gidgetlab-kit is a Python package that provides several high level functions that can be used when working with gidgetlab, as well as a gidgetlab cli tool to interact with GitLab.

It inlcudes some useful commands:

$ gidgetlab --help
Usage: gidgetlab [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the current version and exit.
  --url TEXT                      GitLab URL  [env var: GL_URL; default:
                                  https://gitlab.com]

  --access-token TEXT             GitLab access token  [env var:
                                  GL_ACCESS_TOKEN; default: ]

  --verify / --no-verify          Verify SSL cerificate or disable
                                  verification  [default: True]

  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  clone              Clone or pull all projects from group (including...
  commit-file        Add or update a file to a list of projects Example:
                     The...

  get                Get one or several items from the given endpoint
  list-projects      List all projects from group (including subgroups)
  trigger-pipelines  Trigger the pipeline for all or a subset of projects...

Installation

Only Python 3.9 and above is supported. Create a virtualenv and run:

pip3 install gidgetlab-kit

To use the cli tool, pipx is recommended.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gidgetlab_kit-0.7.3.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gidgetlab_kit-0.7.3-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file gidgetlab_kit-0.7.3.tar.gz.

File metadata

  • Download URL: gidgetlab_kit-0.7.3.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gidgetlab_kit-0.7.3.tar.gz
Algorithm Hash digest
SHA256 077cabb57b24bcb8fe54e5f4e84162299a415697ac0e03e691926f6e1b006a4a
MD5 112342c38cd82b0bf39ea62368627dc3
BLAKE2b-256 e52eac567356426564c308914891ff6cba5daed03b7a2bf0a4565cbb9933b00c

See more details on using hashes here.

File details

Details for the file gidgetlab_kit-0.7.3-py3-none-any.whl.

File metadata

  • Download URL: gidgetlab_kit-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gidgetlab_kit-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e2a8bfcb58dc96514c700d05de71033594aee2a94d8a63b02b932ec4c76b41a4
MD5 ca505ece865dfe72e1cb3972f06832e5
BLAKE2b-256 d0a53e32c83fa41d179e897652f89c7037b18265124d6fa94e6f59f10f9c145e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page