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)

Release notes

1.0.0 Initial version

1.0.1 Managing http error codes

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.1.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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygitlabapi-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2b0e5859e0da0f09abc12b075ac36055acbce5e7d415b969fc418b2c08c79952
MD5 fa312aec4a8ac55006bc087f3ccfc64d
BLAKE2b-256 ecafb33122c1fea4ef6779e19facb5670a923188f27ef2797ad0f6a48607ed67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygitlabapi-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c0bda55e093856e5f2655fda69fd4a9300dfc7cc3160dad0de53c7b67412879
MD5 abab1bd2a9d3319dfa43f93738e77281
BLAKE2b-256 505188b2177e795d09f7036ba389da59d2e95632756f8ee24e0824d445e5e452

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