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.22-cp313-cp313-win_amd64.whl (474.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.22-cp313-cp313-manylinux_2_31_x86_64.whl (694.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.22-cp313-cp313-macosx_13_0_x86_64.whl (530.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (451.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.22-cp312-cp312-win_amd64.whl (476.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.22-cp312-cp312-manylinux_2_31_x86_64.whl (696.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.22-cp312-cp312-macosx_13_0_x86_64.whl (529.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (449.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.22-cp311-cp311-win_amd64.whl (485.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.22-cp311-cp311-manylinux_2_31_x86_64.whl (635.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.22-cp311-cp311-macosx_13_0_x86_64.whl (528.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (446.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8d7ae9761abcda02907b61e0124c436f3950d331dbe58c67ae5b24a082a89d38
MD5 699723f0e06d0656536703d1db34596e
BLAKE2b-256 0c88ec7ecb8824ce7cbe34d8a7b16adb17a4a33b9b827de57a0572b3285e53e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 19cf19e183ef65cfa0da6e8b11484465406352adc6d390052f79bd4d0c82d575
MD5 81e07ec32aff2b1b5789a713cfcea1ab
BLAKE2b-256 b5b64afa2231283a650450146ee3f717996abe7a9e4c8c54c2f066e8887f81fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72408dd927a99362a6c2816c67510e22417a47093c548e0d623f7667ae5cc565
MD5 30814972428ba3ecbec60f22e244b21b
BLAKE2b-256 073fbb693764c9f21ecc7a86777bef3ea2bfb5877fd50894568b7b15a20f7e8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f02fd694262be23b7aa4f29b0612d35825ae8a71ed16503256edc518a3eb4c1e
MD5 4bd3fb833a20ce5d8df3703791a879a6
BLAKE2b-256 6496d4d44db96ae92d3d3992dc5b7b3600b57be1030fb3386745a6bd1f872edd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4f0c709c404269f05436450e12753be98b8fb861a19005c75c2e8fb71a55f813
MD5 d45a02081a6bbb49478ae7f46850b913
BLAKE2b-256 e8c8bb9168fe93398c7351895ce6823b1a6a6e000769df3adc8b8585a31acff4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f0b0954fba0614ef11b0818b9dc8ec7af7a19dcb147342f13f98db286c63529a
MD5 eb799a563a365b329f7a4e5e72b9ddfe
BLAKE2b-256 969a19da839b2d94dc58590c8dd8f70f86ee00e169b207302623adaeb2e240e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f1399eca6a570c5cfacf7edcf3f12a11a851899ea6a40a1cbf17487faa345fa7
MD5 873859ef46ac86cb91399c348e70fba5
BLAKE2b-256 3b478016ba82095ffbb138188bed30302d7e294a7d5589e8aa82afb8553b2d74

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b17641dae815925c8e6372b483b3d5ca1da5ee31b154bcf2de8d8809d5600810
MD5 25c23a677ed5a04fcece595dac94424c
BLAKE2b-256 75248cb4b235cf46f9548cd27ea17cdf57a4323dadecd8a683526145ae0d78e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b83bf259a79c718e47297e92d976a573c37ee011cdcc126c9fa63050581bca3d
MD5 a5c7bed975d09bb597e47e48eccd0eb1
BLAKE2b-256 f3225a72b6f0d0a25228095086c6a90e77628cabe05c4fa498dedb302b47c3b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a4e8ba439e51c62ca5dd57b136c0dba33e86352823a5bc9dcd6683a5a9c63c59
MD5 8e0ef1a5802d4fe4f728349ebc0f8614
BLAKE2b-256 1550c00b0b282d51dec96b2337dca6bfcf06bbac36e8d51e6bc4008de27302ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1ec9796f520a204858a19bb8576c5643564d47651ceb29cb7da2ed4aa9c579ac
MD5 28d22d1cf6e362d5a309355b0db1a38d
BLAKE2b-256 1bf97e7bca828acf0d9fa6ec15551f52c10a73306e197e87db606c757f8cd614

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aaeb2ed597b275adbf45ba110cfc49f2218cbe40ef0691c69243b54eb279c87d
MD5 21dd88050e6a3c621d0db10d8058c3dc
BLAKE2b-256 7dae0d2fb23c8a9ab6298ed2ca613978fea63b111fb1dd9e0a7c01ae566be875

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.22-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