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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.17-cp313-cp313-manylinux_2_31_x86_64.whl (681.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.17-cp313-cp313-macosx_13_0_x86_64.whl (519.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.17-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (442.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.17-cp312-cp312-win_amd64.whl (469.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.17-cp312-cp312-manylinux_2_31_x86_64.whl (683.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.17-cp312-cp312-macosx_13_0_x86_64.whl (519.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.17-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (440.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.17-cp311-cp311-win_amd64.whl (476.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.17-cp311-cp311-manylinux_2_31_x86_64.whl (623.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.17-cp311-cp311-macosx_13_0_x86_64.whl (519.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.17-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (439.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e801c6a836653d47df8aaceda712979337f79934d2aca68fea5751b3fac1173
MD5 98813157f72b000d73f3443d89bf6b45
BLAKE2b-256 1b77e35eb47cdb043a6da113852f609e9df0235d1f1eb712657e2ac317e1ee86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 884b79af68a82bf859756eb1e03c4e471262e617ba6a3158adc7402090172f1f
MD5 754d6337c2510c5b8951cf7f19a4bb23
BLAKE2b-256 d5ecc2c61d708be34a786ccbf0bcf51b755b242cc3a7ec49af6d7d415a6a79ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3399b7fa2fb88f1d0f0b7cce34dacd45f52dc56a25c16ef923b01fd180a2e234
MD5 a0080eee67524fa0e5f7c4aaf24287d6
BLAKE2b-256 68e2d4f4cbc6ddc1bb3d01825d7aaa16a3f5f5a9041438743dc60472656c93fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6e636643130d841bcf6c642077542a119d9e87641a171da570fcc8c559961bbe
MD5 0e90e9092f1360cf04b6e3c6ce5f17cd
BLAKE2b-256 5fde635a564043cb0ab909c473acc78ea0cc6b3b30f5fefb47ff8c4d62de3c9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ba10b8f0cddfe401f4a67efdb03adbea4a78e3b7965b53890919df14a216daba
MD5 c718efa079c6538662db384454b5ffe6
BLAKE2b-256 3501dd2bb1bbee214c1b4f22c15e8de6362614573c4cc612fd3f4eb5414b376e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ef5b2f5db97a33fc10aa29f73e5c4fa3304a0e58806686d0c0c5f5748fab87f2
MD5 8818b4f33f3907e68b0390ad3a5ae22d
BLAKE2b-256 ba7eee1eee895584100ec70dad03681a8c19048bda83b5428500b5e023b415fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d131b9bdb66fd629eefeb8f2d141b7bb961eb7c7776f635d1ba318f6285c2c50
MD5 f3077b000aa9bc6b53173b5b069a7918
BLAKE2b-256 6991355c5c27be0d6731193b1150a6687a5fc11cf6fc5d56e0cc751b8075ae40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 68dc9f404adc5f95cdab1c9599efab1281f8cea3142dd8c1fce3562cf0369bc5
MD5 73ef9ddd88055230adb7e5e49e234f2f
BLAKE2b-256 82af8172cfa8266618aa353eb84ddc5a817a58cfa1fd284505c5b705a1247072

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 128455b2f363466edc58708b9bdd6cc64bb3b1bd1f52e6428e78757cf8490db7
MD5 9adc179ae1c190abc8003bd134490acd
BLAKE2b-256 52f95ca493d8efd40760fd008a5f1d62ad38f9f94b1ca8d75f6de043a75b38a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a245bfc160843b2d732f70795a05cbcba7552f010001f500fd418dfb974ce6e0
MD5 7cd7c2a522f6035d088a27871833c2f0
BLAKE2b-256 3ba663668749075e5e7c6c3e8a53ac86aa00a7ad59ba531ad35ba29173113e2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c30430e5bdc0a9dbcca42b34b2c2a3d605b7e17f7b8f5ea734dc1ffdd989db59
MD5 85b07949193b5e1a5f1a661501f7bc39
BLAKE2b-256 0dbab892331537887cc449f0d1e803ff7a1aa1ee8ac19abd69450320536d1cca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.17-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0125b916c0ec32437a0eec2288754d747ba535d3f6159e62835b0c87a0f59577
MD5 deae133905088df2f5d3270f6b5072b9
BLAKE2b-256 767c9e1870942a2840c34d95acbda0d5f2fc75a8512cc027017d1ff48708ced8

See more details on using hashes here.

Provenance

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