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.23.post1-cp313-cp313-win_amd64.whl (476.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.23.post1-cp313-cp313-manylinux_2_31_x86_64.whl (696.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_0_x86_64.whl (576.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_0_arm64.whl (453.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

gllm_core_binary-0.3.23.post1-cp312-cp312-win_amd64.whl (479.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.23.post1-cp312-cp312-manylinux_2_31_x86_64.whl (699.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_0_x86_64.whl (576.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_0_arm64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

gllm_core_binary-0.3.23.post1-cp311-cp311-win_amd64.whl (488.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.23.post1-cp311-cp311-manylinux_2_31_x86_64.whl (638.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_0_x86_64.whl (555.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_0_arm64.whl (449.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.23.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 523f998682fec4494a7f547db2d9caf86f270b8e7719c6093ce99bb430fa2372
MD5 5c5faaefbbe3d6d388025c8f2798ebdd
BLAKE2b-256 fbc0bf2e13e3123fd8a40d51c82e85a359e2a432b42a9faa93c8cb7d87ff8209

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5ac3959c87205a5228d087503f7ea7a81267b152fc0f40ecdb9ecb0583134de7
MD5 1a052aa15e858d28d86e31aa7e14e979
BLAKE2b-256 b5a18679bf2ae15a8c7238cf2adb3f8b075b41983baae1170270107d1d4aef7c

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 262e890625b8d7f9dd57d8cac1a8cb978242867a72f77b3043bacc89f6a0c34f
MD5 672f05fa88bdaf49d2797120c95b979f
BLAKE2b-256 c1eab0640ac35d9ffa9ca5be95a9bac934c8b58ff9795aa76f7b0b4958fb0673

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_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.23.post1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4bbbbf728e92c7255d894667f058c80cdc6a1d1eabc101aea45793a36789cca7
MD5 f9d7be544eebdd973359be3bdb03494a
BLAKE2b-256 3ba08d73eeb2e9b799a0ba2ea7a1dd964af54f76e4761bbf638b2f24ffa52cce

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp313-cp313-macosx_11_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.23.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b5cde3eb6b4f94466da0ef7515924e92410328fc8cf15b100e2ca02751c4d89a
MD5 a2379d05e575dfc187ed39a8da2b3a63
BLAKE2b-256 63a39ee755c520fd70e7f6f603daad6e70c17c119523311c21ecefe8ac36013c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 02b3479ad9c9d2ef82be2ca126375f0c409fe57a93b905bb2113c255cce354f9
MD5 772a928835e5752f8a9075aec25d0ad3
BLAKE2b-256 efbab44bad30091080dae0520c2e098a0c3b2ec44cd43d7a352e827f61306bec

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5d8bd599f735bc9ea16aae430b58a5918085004ddc249ce91797a36979a5538a
MD5 83d9bc37cae131c7aa22da1f8f848eb2
BLAKE2b-256 290f4b0190fdbde0f4df9406c5b995b903a290a11e90fcf8a1289b035bb27055

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_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.23.post1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea2eba54768870dd97d24ad01d5e5ad94ac0ae097c677816a3f29c722e2ec8bb
MD5 095651e0828d59956db11d4be405655c
BLAKE2b-256 0d384e069af8d97c9cd3568c8874b0e728c4f706847baed125d41d2cbc52e8b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp312-cp312-macosx_11_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.23.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9641ac3c32b7a0256c869b73db05c570bc58e43a499ca7f209c0da20f93a662c
MD5 18cfff081885a2fbecdcb7faff3623e3
BLAKE2b-256 99a21b26e52a331e912ae7672d80f4447beb1279422eba6672601cf9a2ceb44b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c623598240bfbb2af20f0284d90def18235f6df95fff9e2cbcccc37a8aa65233
MD5 4bb22e5b9acec70ebea2a06e998fd90f
BLAKE2b-256 987a95af5ad274060f6c1fef9817fecdbb686d385f6b4817bbd5e723ed973eb5

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 41926dc63494878ce6303b1465ee059c8f84a4f6017fea1a6ece29bd543184dd
MD5 cd65a37a4b885929488c04fe63db91a9
BLAKE2b-256 7f21ad2b6c31f1bee6440186dfa0725fded9e3e9815c9f7519879646a6432221

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_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.23.post1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b115dc7f91fe5d5816fab1e33e8af4a203a1d012164db8aa20ac96569a327e67
MD5 007b9aec1ce2c45c354e70e3eb617ab1
BLAKE2b-256 5076e7a1eb1dc64ff27b2e1a89393dd602a3cf445971ff08aa8a9bd2211676f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23.post1-cp311-cp311-macosx_11_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