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.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

gidgetlab_kit-0.1.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file gidgetlab-kit-0.1.0.tar.gz.

File metadata

  • Download URL: gidgetlab-kit-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for gidgetlab-kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b3f36bb9dfb6e02257f4a43f0b0f7092752884c6c5aa502bc888405eb68c036
MD5 8290efcf7cf3264fafb2589ce45c0ab3
BLAKE2b-256 6ef72a89a66d6defc96445d17b680bdaddf94da53dcaa7339d01f5d0127f8cff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gidgetlab_kit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for gidgetlab_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 673485033dbc51460d34e950d251094929c49de950144d6d182cf247ac1724e8
MD5 14a3e7e0e022ede130f8781813de7414
BLAKE2b-256 cd3a57e0be5e70b0d5c991bce9e8ff9b1d3106392f7cbdada1944506d2e9de5d

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