Skip to main content

Python package to interact with GitLab

Project description

gidgetlab-kit

Code style: black 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.8 and above is tested. 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.6.1.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

gidgetlab_kit-0.6.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gidgetlab_kit-0.6.1.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for gidgetlab_kit-0.6.1.tar.gz
Algorithm Hash digest
SHA256 e9832bf5189665f920a756957bd337297e647f5772090f8184b86a4898a4d059
MD5 06d735bab3382d9ec9c4148032e1f9cc
BLAKE2b-256 be3611b75462c7b58f16109d1561eadc4351b7ddb455a554f9c43c3753296921

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gidgetlab_kit-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b359e81d751ffef9516253d3a44fff2114614092c76fd085a970d072b48e3c8
MD5 1abc63f40ef8646195ae236a6ec82e71
BLAKE2b-256 f51688f2aadf0fe37496e9539460f8b3075a922ba260e9f6c6db52bc3cf992e7

See more details on using hashes here.

Supported by

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