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.4.0b1-cp313-cp313-win_amd64.whl (521.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.0b1-cp313-cp313-manylinux_2_31_x86_64.whl (762.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.0b1-cp313-cp313-macosx_13_0_x86_64.whl (600.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.4.0b1-cp312-cp312-win_amd64.whl (523.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.0b1-cp312-cp312-manylinux_2_31_x86_64.whl (763.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.0b1-cp312-cp312-macosx_13_0_x86_64.whl (599.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.4.0b1-cp312-cp312-macosx_13_0_arm64.whl (512.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.0b1-cp311-cp311-win_amd64.whl (536.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.0b1-cp311-cp311-manylinux_2_31_x86_64.whl (696.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

Details for the file gllm_core_binary-0.4.0b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 285687e9ed0a42775866543a2273c89949ddee3facbbda3db72edadaf1e051b6
MD5 527e4d0d11e7d6b563a5298ad5de8a14
BLAKE2b-256 cc1c15287a3e44015e23d541d71984047cf4d52fcb48ff3c14bf17ce9164ec86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bd0d3efa0bb77e6a53bef90daf437a0290c0aa3fe23b76b35d4164abf1c02d69
MD5 10915218ff13eef900020c00cad4894a
BLAKE2b-256 9c7ed399985db11e7d0bf026889c43a484c39a1fc9bcf7d3ec810a33fa27a735

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.0b1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 288c7c2cf99bede92a3cc68b05a7bcc7d0fad578708d1642beae38f4945df3f5
MD5 c9810dbbaa840b74393726bd94aba8e5
BLAKE2b-256 48827c7eb7f1cb2126316782f60414809119edbd15ace38a559be93e75279c00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3377a8ee5206dec0f094d754b4bcebe5b22e4695ab87a7ac582fe9af56b69119
MD5 b54ceb9590419cd7379f1f7e46cd6201
BLAKE2b-256 6c4baff61ec11a0c4270a13bca4714c74c8d0a236f2dafd96779545577278172

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 433b4919cf509c7deff7c03e47cc636e2a0d6cc4d2e4b63000f3caca13e11bb0
MD5 e5e07b65ca0baf41dbf0088feba54ba3
BLAKE2b-256 1b2d848cb2e81da8092ccf5ed426eb16e51bebe924f5d722543c7a2d5687bd9c

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.0b1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e66e2aa50e0e92369fea404905feb73c1a0dc72f1fd77039121cfdeb6bc12db
MD5 7e3dc2f6e12a813058959c202e7b3daf
BLAKE2b-256 a38a6b2b0e4743ab19dc71f0f11ea7c0524b9d87b7a47f004ec2081f4655fed6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ba2fc6b3ebc79d5aece420cd3969f8e33d08b10f0a3b0b3eb05a510a7d57ceb5
MD5 bdeb5e82c1e3b51cbf712930071dfaaf
BLAKE2b-256 83189cfdbea2550e20a69171eae8b7064c1f0ac1b73acfefdf8b7658ef140e89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6910ca93a5db7cf1840d8a7342a8e4d4f29dd3469b91549de3153353bd884116
MD5 6ea1a70901190f27ba033fe728bd2ddd
BLAKE2b-256 4e4ba9f2948fd4aea54a7f60e23c823e5bc5c584cdf9d6d353c31bbf1fde0a87

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6a3369a7487a3245ef1f3c53c58f61bd5da9aa29ad6035fffa9e486012229629
MD5 7259851d55fc13f4ee5ec48ceed0c2c9
BLAKE2b-256 9ab76b97054858cae70eee97edc5627443fab477dd3aafa07c5b114679672fdc

See more details on using hashes here.

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