Skip to main content

pygitlabapi facilitates the usage of gitlab apis inside a python module or in command line

Project description

pygitlabapi

pygitlabapi contains some functions to facilitate the usage of gitlab apis inside python modules or in command line.

The source for this project is available here.


Example of importing gitlabapi inside a python module :

import os
from pygitlabapi import gitlabApi

iurl = "https://gitlab.com/api/v4"
ijson = "project.json"
imethod="POST"
iapi = "/projects"
iuser= os.environ.get("GITLAB_USER")
itoken = os.environ.get("GITLAB_TOKEN")
message= gitlabApi.rungitlabApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)

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

pygitlabapi-1.0.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

pygitlabapi-1.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file pygitlabapi-1.0.0.tar.gz.

File metadata

  • Download URL: pygitlabapi-1.0.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pygitlabapi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cdf2efbcd46e057503cf030518372975635d5fc65efcd2b8b7c3ddb50735761a
MD5 bdc9fbbcee2bd983be5231dbf4cc96cb
BLAKE2b-256 b3f7197ce6f0d7490533ba5b7b94f9008719dede2500203ac4da12bea98c2c34

See more details on using hashes here.

File details

Details for the file pygitlabapi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pygitlabapi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pygitlabapi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73fd29990e97619f81d89b1b82df619ba5b1f09f88bf91e03d17945e12efe4d8
MD5 15f98783e854a1c50336239ac5565062
BLAKE2b-256 94336c259e6abb75f29774587efb8b5a9b82d37ab4df72e00eb9e9cd857b19de

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