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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.33-cp313-cp313-manylinux_2_31_x86_64.whl (729.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.33-cp313-cp313-macosx_13_0_arm64.whl (484.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.33-cp312-cp312-win_amd64.whl (503.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.33-cp312-cp312-manylinux_2_31_x86_64.whl (730.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.33-cp312-cp312-macosx_13_0_arm64.whl (483.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.33-cp311-cp311-win_amd64.whl (513.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.33-cp311-cp311-manylinux_2_31_x86_64.whl (667.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.33-cp311-cp311-macosx_13_0_arm64.whl (479.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bb9a8507877130f990541deaa3ae65226ff2791a9ef4824f987aa4c10585e73e
MD5 90ef9db0db13a56e2b5ec25d27cca713
BLAKE2b-256 9769340645fa1bcd7897b84cc348ad2fa9f068561eb102fb7acc31c7b34c6a5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 152fe6ee158d8a276ece05d5d2c463e8cfe6004a539d063096ca1cbdbf9a42db
MD5 e8ca251fc7b9a0019a5fd353812a9f2e
BLAKE2b-256 2608b7193be22f465e2f7de61a8df4fbdbedfa0ea6c0b37421cf3c1ecee1ad28

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.33-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 202d39577039e82531439771c07edb7815ca75e09f3021a5ec8d549f09c7a1e1
MD5 1ff85331c07ca04e5a24b9f4d2bb1a68
BLAKE2b-256 cf32e64f9fa6577b1c98d6e00621e94eaa81fb4fae3cf71f0ca8843d17922484

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 be2d94ae181ddf8c4d58879a4f4735bb4708bce06c06be625c17a25801cde014
MD5 d65766785dd7b16f77501e9df8133d35
BLAKE2b-256 60851e4e56d69b0f7dc93cc42b2b636aaf2e8fb6225fcb91e433913cade6c118

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17bdb3ef23396c1fd3d2f08f91dbfc86e3d23abc5ce42a4a1f82fe11d6b9ad7a
MD5 641eab3b42f0ba75ad469a0833256541
BLAKE2b-256 82359e4393488b2e32c23466f5a06bbd7a0890b2321d7a210799baf6b9a02455

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.33-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 005d7baf7eac1db830dacc4d35949cc239fac3812f241814172cf1f94794a09b
MD5 05160a75b33ae13fd1ad74040f0bd20d
BLAKE2b-256 939561924cc03f7a05161df15f68e53e0e9764031fae16e27d5675d02edb16ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 73a0ba38cd4cfd09db007f73ddeaca7bd154e6907dce3afa193589c0df623c9b
MD5 f4f300dc0018b92a5d03904e3521854d
BLAKE2b-256 bd4af6bfef466215d8e9d8efe4ab0d53303d6dcb7dbe9fdb82735c919830ae9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c065d231f19a6851abf866a849d4bd8811d76d12525b1ac2aed1a34f9440a5eb
MD5 cce8c807502cb5a54a5011f922c0661b
BLAKE2b-256 8d75c362706d5be032f17ae507fab6478833ffbd27befd6753c7e614145a431b

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.33-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.33-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 925e06c600b223a408c72e6bbd8f1d281f19c862f9df15cc324f861162792295
MD5 977cc70fb844b2d7e9c8c05813d4718b
BLAKE2b-256 03237138da12e49c8e00e0c9aff829812283d5aec0877627f336d2a37a43a226

See more details on using hashes here.

Provenance

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