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

Uploaded Source

Built Distribution

gidgetlab_kit-0.2.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gidgetlab-kit-0.2.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for gidgetlab-kit-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9cf75ac6f3e0272b85a24e7d081fdf491a634e68c9e4b665b3738c48ac06fa16
MD5 bbbcb7f6e5b6dee3990fc8c7aa013af0
BLAKE2b-256 9632340d05cf1cc61e971949c41c884e7f435dc11bfe4fc395595bc5c7d55240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gidgetlab_kit-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for gidgetlab_kit-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5405f9051575a52250800bad9e13008934fe45a0224a94e9dce2c01835777832
MD5 ff19ae20637e2663864a3b0375f33630
BLAKE2b-256 dd8cb5251dcca621fffbdc9f9b5158df7faae0a5da7a05416652ccc93bc2a1eb

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