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.23b2-cp313-cp313-win_amd64.whl (476.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.23b2-cp313-cp313-manylinux_2_31_x86_64.whl (696.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_0_x86_64.whl (576.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_0_arm64.whl (453.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

gllm_core_binary-0.3.23b2-cp312-cp312-win_amd64.whl (479.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.23b2-cp312-cp312-manylinux_2_31_x86_64.whl (699.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_0_x86_64.whl (576.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_0_arm64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

gllm_core_binary-0.3.23b2-cp311-cp311-win_amd64.whl (488.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.23b2-cp311-cp311-manylinux_2_31_x86_64.whl (638.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_0_x86_64.whl (555.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_0_arm64.whl (449.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.23b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 af587bf86cc014f0cc2704fffe52bb75e7c994d962fa640af4c5986e15524bef
MD5 25f8d803a63d3c73a213ac6df12e0dbe
BLAKE2b-256 6453b2f79c99f9a0d8e2b3e38749e50e0fdc20b09903aaa4aff0d8448b83d2af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3b66320c9f14b58f0ff1d4e2d85180c7b8c2fba1970f8e49173a8e5f6481c17c
MD5 8f2d9017a392c0f5ba9ae29272218d6a
BLAKE2b-256 2f51681297c69ff7db348abab5a218c488f27d5020e22e2b9986a22a3e509203

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7ecee4b372095f8a1e655d3354e56f1a245cd3a0357e384ad6d87ff2b8c512c8
MD5 13eae011598a792a7f5f7da1395409c0
BLAKE2b-256 b4a654047c8e8747ff450ea2a8b92fdb0d1287f4103675beb5dfa63edf1ea010

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_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.23b2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 356280a0cba7cf4d01cf3669b9fc7bb3ebc451fd5336e445902ff26159abe1a7
MD5 383ae765370f4a7606ca9a93c63dc95a
BLAKE2b-256 2fd82fa0e042f7e0ae3e11f7e03aeca194d6319b9e653b5806ac0e1a9dbc367a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp313-cp313-macosx_11_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.23b2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9500254239dbfd17dd19e35646c302f48552e644195ca5bb0608ab7c5e5c33a0
MD5 9964a24b602a9f9923771aaa72eb8352
BLAKE2b-256 5ae934c93a3cd08a34169a13c0809c75c73ad2efcac554b00cedb8a9413726f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2053f8c94e9d5225646c073b8dc0753d14abf39f30676721db67829bca014fa0
MD5 e8d0a02585be623a9cb476818593bb3c
BLAKE2b-256 4e074ccffb262c22a5a367c92e6792fc8ee501ad05a2aa505b412f2cd48c20fa

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 bf4556d306248cdc067fa77c4b9f5103689364e24df48dd90ff69a231bd72cef
MD5 17f9dbb25c1180fe80246fb337bfba33
BLAKE2b-256 2dbcdb2f0930e938fd85c849c7d3b542baa695672bbf25afeb136b9ea52c06ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_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.23b2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6cf922a0c42cbe530183cdccc3e03ddf9b6e1e9f14b8dc6f101642168ebdfedd
MD5 a8fb0a0d479caa6f81333fd0b45f1433
BLAKE2b-256 9bd506597a8a4c96d087b2c6d5db0cffd037d878eacce25c955ce947ff92e2cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp312-cp312-macosx_11_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.23b2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 69423a0a2127a9e108621f36fb6c2522d83612225bbc3235b37540a67bc14b9a
MD5 b118a309dac56aa013e933a4705d5341
BLAKE2b-256 3bb58a6bf20103c3d3d6afed74977e46d66d15c09a51bd571400271f3e0caca4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7287629b63fe5e21d76276dc495a8ad5e5c0684f64fc5cf1ad9a03ab04a5a0b0
MD5 ea55eb992bf09b39bbbfd76312b453b5
BLAKE2b-256 2a0acb8400b3a4292f71a6b7fac5ba6270b4c019eb592392d7c7585553a395e7

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4a6c22fd9085deacb7049f24b2f3188d483ea7844a75eee6cd8f971780b39c38
MD5 86767027abdb340842a01f1b19ef2d29
BLAKE2b-256 76f1bb6e60a88a38936b5723e93316149c97b8c0ee0a09019d1eb220bde9803b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_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.23b2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5427fd8c8972556331d8a917e3fc4c659290bfa4057ad66ddf64420a044ae0c9
MD5 f289924ed7786ad4c49af834c860514c
BLAKE2b-256 743e4fe4ebd223ee21715c0c875b07bcd4877ece2700adfe4d2d45aa6d7ea8a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b2-cp311-cp311-macosx_11_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