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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.19-cp313-cp313-manylinux_2_31_x86_64.whl (683.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.19-cp313-cp313-macosx_13_0_x86_64.whl (520.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.19-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (443.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.19-cp312-cp312-win_amd64.whl (470.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.19-cp312-cp312-manylinux_2_31_x86_64.whl (685.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.19-cp312-cp312-macosx_13_0_x86_64.whl (520.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (441.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.19-cp311-cp311-win_amd64.whl (477.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.19-cp311-cp311-manylinux_2_31_x86_64.whl (624.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.19-cp311-cp311-macosx_13_0_x86_64.whl (519.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.19-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (439.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.19-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0abf9edbf80dbc35d66ab2363e328df29e60e4bd133d378816630ddd5aa488bf
MD5 1610c7fdc7eb40dccf3d375bad674927
BLAKE2b-256 5d41aaa80684ddce54e3d8a9abfee62e82d5d2ab1b500a0e68be9cb9bb03b4a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a9d7026476c1326e030808ccc1eccb464f36c8270b00f28e09c018f74657d0d6
MD5 e320e0d877a66e628868c4be1dcb3e84
BLAKE2b-256 8b8575f6d876ffd097292145bc3c33cdbbf6c14a8e0aaec28922174fe6956983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ab2f91023bab5feb3c7776fffbe8849fec160396779559c103725b00b4be4601
MD5 9de1835caea664c91cbec5edcdb2b150
BLAKE2b-256 4627511619453ce7e9902f34b0cfc92cd642f34621825af19a7b97e4c265e979

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 559957acbd72e8588f51e3ef8f04155d6e668d6136206b95dafff653d1cc77e8
MD5 15f05eab7985e054b35b7fbdb5e2b59c
BLAKE2b-256 4ae7a0e4418563ca524a0223baecb1951264267fe553e8c83a684d540f424ab7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b2a4f9140d088f0ee0a11c2f5215820be7cf4c634e7930b443925dedc3edf367
MD5 87a198ea9f799766b73ae76acb17291b
BLAKE2b-256 2776af3ae7d12feafbea5ea78c79bed9c024e33251d24708a6005895bd180cc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17aeec381022fdc7ead920f18fdc8458f354980292f421f8e04f78b9aa71a711
MD5 ceb633b5218a4e455babb5ceb7e0d913
BLAKE2b-256 36dc93b0b115105748953f5223242988132b001bf99f21b9dd824d153f4285f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cb5fc50c4b665fec0641bbbbdff17430a0ad3bde34143d9f96d1eb94edebe4ca
MD5 0a1082726345ff3ff5c1deddc0ae5c6b
BLAKE2b-256 083681ed8aadac0545d34acc53888601429a5213a141657a7f2b77f46afab3af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 642a0e479e3462ab920c9c29b3f19fffc91c388ea1e7fed9e023132e42d68c52
MD5 9797a58b46c21cf2731a75a7c4054da5
BLAKE2b-256 ab92bea9280098e243f645b48cfbfb924e2ec4803d56111d8b21fd8c6de9ba24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1306152219b9b58f735b7eee4095c66e4306d4f2729f01064bddb50b825b0bf3
MD5 878995d93c876dcd3c7963fc8adcba6e
BLAKE2b-256 608d08ff4f027fd84eff4d91f2eceefd62fa5d18ad3dde180542a57bd2e229f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 92b3e3fa35544ea1df69ba202887c674e600295209fc18c3ddce2570faad531b
MD5 aa5ef567a6ec5ca5d0e48319f49863a9
BLAKE2b-256 7410025d0cc7d404a1d5365b3ed349a67a9e04024589a023c95fba5dcd135bbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26543cdf4c479582734dc383bf7d783328c50cfd5385880de21c7f61fcdaab65
MD5 d600850a177e08d82790550b33b12318
BLAKE2b-256 528833a651bb5cd23126b466a5e423ca763b307fcf9af54864dc2e03885e3882

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.19-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bd9b7f8e1d8040cf702cef2555a17d51b1983d2749a049fc6b634b4997d54348
MD5 37049e868a6101c3dddc85f923ff227c
BLAKE2b-256 14d4a89f4f54192ae5e9fc5dcf9686219bae87379d61e2359c8f7aa2e3ed7b44

See more details on using hashes here.

Provenance

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