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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.24-cp313-cp313-manylinux_2_31_x86_64.whl (697.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.24-cp313-cp313-macosx_13_0_x86_64.whl (535.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.24-cp313-cp313-macosx_13_0_arm64.whl (454.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.24-cp312-cp312-win_amd64.whl (479.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.24-cp312-cp312-manylinux_2_31_x86_64.whl (699.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.24-cp312-cp312-macosx_13_0_x86_64.whl (534.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.24-cp312-cp312-macosx_13_0_arm64.whl (453.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.24-cp311-cp311-win_amd64.whl (488.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.24-cp311-cp311-manylinux_2_31_x86_64.whl (639.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.24-cp311-cp311-macosx_13_0_x86_64.whl (533.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.24-cp311-cp311-macosx_13_0_arm64.whl (449.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cd7b6a5fe5555046d3cb64c8aa8610fe3af44e300f289ff994957a8663493bb8
MD5 2701879df3781be6129ac1a26b5ec7fa
BLAKE2b-256 eb553505cf1231886e5a676d55cec88d001a5a826e277594ed6fa4ec0b84196b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d4c10586770727265ade70ea274a9b16ce04e299a5f5aec2fc01e2ebae37695a
MD5 d0072137dc374fe92c826aab4cfdaceb
BLAKE2b-256 3024fdd16c2213625db33bbfb7c7e137836c77560c3ffd3227339e98f1255d90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 140e27842e820c48724074b0778e29eef521cd80f85654d2cf92dabcc045a1bf
MD5 57fb2f589fd5ed4fc8a24801069b0896
BLAKE2b-256 3386225124a9ac5697ed7722e4fd4d960fea35e5587c674657a0929561af6303

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3df7b5a6a50e1eef6e4dababba8e7a53e6f098026dc8330f7ecd70e2ec01e34c
MD5 6db5a12a8d3672cbc81a10f2aa78a50c
BLAKE2b-256 5b3b2e67327a7b9436c6406c33f0196e109755e962a450a7a8fe1c6c7351e3b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.24-cp313-cp313-macosx_13_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.24-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f8002ba28d613525c3310fc80014f4cb5d75273943ad70723c32de91e57fa492
MD5 0b7f6166549f32b9536eb73279aa71d3
BLAKE2b-256 de77d86959a60865e0879a178707829961f369268abff12be3d59ecbd6aabb48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3d9e0511cdbab73f89dc73cccbdcaa9e8f4d187a1b8cca989a6bd59e060322c7
MD5 552c1507d830cdd60491f7bb72e681f7
BLAKE2b-256 9ffa076d321229f6bed1b7ba22375ad5aa69776db77d3cf461c3f04da996f950

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b81f9b4682baeb990fb4c1fba01ab3b9b726786552a04fbe42caed34f4af4df
MD5 d05b0c541b425fa5d82dcc40620b8e9c
BLAKE2b-256 0774f41d05e6ed0b835fa75ade0416433cd606cc582603ff040a82fa653f18d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 97fc9c8fe024964d9f0944bf063411440e2c9253aca312bddd516a5faad00f88
MD5 c13a0e9e2482e20473248e3d2ff06736
BLAKE2b-256 4b8e24dcfd5a3e6562fd4d8c8c3ac49556d03ce6d9355b5788376940f4d08725

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.24-cp312-cp312-macosx_13_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.24-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b62a30aa42dbfb5db737d11cb4df5ee8a652d8139a2e04920e9473a6d21d6466
MD5 a6f07909bb1146da3f3c52936ab251e6
BLAKE2b-256 dd2243e3690b73b29240941153e2f863c9b01cb7a751ad15af5521ae72a9d665

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 848a3e3e1d2cc621c5975a0c11b625739be0488e36133d4dbff9ffc383b3fd29
MD5 1892f7424f3160cd32d4576a68c7394a
BLAKE2b-256 4eb33371c36e2ef5df6d276e0f7cbbbb9bf3c12bfe1b69988f9bb2bd103628d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6ae18804a68a1609a843e3a06958654b40aeef0dbc76024301fc74e4f33fb008
MD5 b80666a02c30bc9f4f140daca4ae4b8b
BLAKE2b-256 6a582f1b3df5971522e020525e19b19bfece459f4a83c56d065f22f4263e3ad4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9729d806566474a9c3345f04a42825d27cc39ef5ccdcd8d90c67dba156f7df8e
MD5 4346e2a3ed9aaccd990732597f3b8461
BLAKE2b-256 931a74188db378620e736484e7eca6084b7fa744c993a6ea9b8cbf987ac4a72c

See more details on using hashes here.

Provenance

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