Skip to main content

A simple asyncronous gitlab http client

Project description

package test

import aiohttp
import asyncio
from gitlab_async_client.client import GitlabHTTPClient, GitlabAuthType

async def main():
    async with aiohttp.ClientSession() as session:
        client = GitlabHTTPClient(
            base_url="https://gitlab.com",
            access_token="your_access_token",
            session=session,
            auth_type=GitlabAuthType.header
        )

        projects = await client.get_projects()
        print(projects)


asyncio.run(main())

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

gitlab_async_client-1.0.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

gitlab_async_client-1.0.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitlab_async_client-1.0.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gitlab_async_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9cd1c60568a021d067297b0715addbe54e275b29e294b3c3d16e24bc15db1f6c
MD5 94d848d1b071bed74c6f2a2e7206caf3
BLAKE2b-256 68aa5342d24c39eba76a9e0cdb3f8da27e627e3ec87c1e03b9344a06185c7db6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_async_client-1.0.0.tar.gz:

Publisher: build-publish.yml on Vladimir-Titov/gitlab-async-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for gitlab_async_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e46db804bd1d351aa8993fbc51d8d7e8670040b51ccd8da95bc4df3030542db0
MD5 dd21b4bdda1fa222bdce6ad8c659cf23
BLAKE2b-256 f4f206541cd3e66fe69ebf7af58dc227215b2d7a7ce9425d3c85c19f7273ccc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_async_client-1.0.0-py3-none-any.whl:

Publisher: build-publish.yml on Vladimir-Titov/gitlab-async-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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