Skip to main content

A library containing core components for Gen AI applications.

Project description

GLLM Core

Description

A core library providing foundational components and utilities for Generative AI applications.

Installation

Prerequisites

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry 2.1.4+ - Install here
  4. Git (if using Git) - Install here
  5. gcloud CLI (for authentication) - Install here
  6. For git installation, access to the GDP Labs SDK github repository

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-core-binary

Using Poetry

poetry add gllm-core-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-core

Local Development Setup

Quick Setup (Recommended)

For local development with editable gllm packages, use the provided Makefile:

# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
make setup

The following are the available Makefile targets:

  1. make setup - Complete development setup (recommended for new developers)
  2. make install-poetry - Install or upgrade Poetry to the latest version
  3. make auth - Configure authentication for internal repositories
  4. make install - Install all dependencies
  5. make install-pre-commit - Set up pre-commit hooks
  6. make update - Update dependencies

Manual Development Setup (Legacy)

If you prefer to manage dependencies manually:

  1. Go to root folder of gllm-core module, e.g. cd libs/gllm-core.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-core requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

Getting Started with Development

  1. Clone the repository and navigate to the gllm-core directory
  2. Run make setup to set up your development environment
  3. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  4. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/
  1. When you want to update the dependencies, run make update

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

gllm_core_binary-0.3.18-cp313-cp313-win_amd64.whl (464.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.18-cp313-cp313-manylinux_2_31_x86_64.whl (677.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_x86_64.whl (517.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (439.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.18-cp312-cp312-win_amd64.whl (467.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.18-cp312-cp312-manylinux_2_31_x86_64.whl (681.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_x86_64.whl (517.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (438.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.18-cp311-cp311-win_amd64.whl (474.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.18-cp311-cp311-manylinux_2_31_x86_64.whl (620.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_x86_64.whl (517.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (437.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.18-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1abd2382e20ae9a16651ea06f1f131583dae3238bf52b298c53840ee5f48ceab
MD5 38dd9f5defc959c49e8c66425f289937
BLAKE2b-256 a5b8884a7ec0c16a5609dbb3c0cedc29d53a24f2fd974af32c2213a673f6e8b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ab06ea2c7e64cf903236dc76e411786110885048b085bd9e56c6cfc7919ab6aa
MD5 7761439ec07cb1342c0c3edaaea476f6
BLAKE2b-256 5f243f5613e00e224e219c3c873b34e3dd017cbab7f0f674461395cb581c229a

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3fc0c3477e42c2e85392a38d3400638226d797d133db142d481ff4e484c63241
MD5 c1199086e9b46d279fdbf8cf4556180f
BLAKE2b-256 171b0a97c77442219e4e5e1bba9836a42a489879f36bb1753cb6d25691c599bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fd1fdf9bb38e1064a2d9a642a4f389bccefba6ade017e1b99905488bcd1678d2
MD5 4615fa803a2eb5fc272fdb8aa003e6c2
BLAKE2b-256 7ff2cd61cf1cb5fffedec3f498adccbf4a2b4ffe4229a6db0f9ccc426f2c04aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d55fe94a0f57b95be859b437c85dbfbab4a6ecc6019945cfead6584b9ae05d78
MD5 69b908b1dbdd8a0756fe9e45aae01530
BLAKE2b-256 479226323373683c28f23d49d234c279bc9ba1e17c85c7c810e2853b7e4d8217

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a4a08ce3fd71312dbec0ba8680354a1ff140d7d54c9de862e0fd1b4d6649c330
MD5 82f224e53e2acf101ecabd72ff2cb762
BLAKE2b-256 f626d08ae2e65be8db609ca0c03306219b07116e3a2dabab52f647cf9580585b

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d150e0d9644fe40e25c7b2ae1edb424fa5f6e010e1932974908b5b6e8bb53212
MD5 1b32a4aa83cd35708563f06e6d61608a
BLAKE2b-256 92abc3427a8c81bfbf81914f3981e94e44762a87a14f50cd516db231c8f8b5e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a89794681f282cc66292e55fbed8c900b504037e686cc127564e3e075121a4b9
MD5 b82c5b8a31cd23032a16bb0888d4883e
BLAKE2b-256 aff1ed539e2d0dcd89f07d2f1bf580730d2936465436396eac7b1e4e237e6758

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f53efc5539990f2b77629d5483142c063e8bded5fc573ae294b0732e90cc8274
MD5 abd2802002c2f0d282999f36f88f1c12
BLAKE2b-256 da4bb2608e741d72928ff0af7d00199b5bf6701ef6f205a5020a3decf128e219

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8a67d8a12cb8e12d9b198a56891c346e5bb9f156a2f42e0631ec1d2a1804a6b6
MD5 c7a3210af8013781e8eee7e86c3475e7
BLAKE2b-256 5ac95112dcaccfc99fcb739dfb2ddbe4699368fd15f721899a5ec36702cd3600

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06ae3e2f6627ec899e4bb752bc342e3eded636e6b52ead3e4547d636e3acda54
MD5 002992b02e462b270cff4700c20d04a0
BLAKE2b-256 e0cf168c037d78b68198579238f8b13e35c9839302cde7766b837d284038a8c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File details

Details for the file gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ccb792c19af8f5e1b3d01b0ea4077d9b8a36f07865b27ef499aaf9e50039f43f
MD5 890554451a7c7e5b706643732c27240d
BLAKE2b-256 97f7e26a84b72711287e7e96cc7ca7f83cf4dfc47a010812cdbed11b6e77f10b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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