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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.30-cp313-cp313-manylinux_2_31_x86_64.whl (730.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.30-cp313-cp313-macosx_13_0_x86_64.whl (568.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.30-cp313-cp313-macosx_13_0_arm64.whl (484.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.30-cp312-cp312-win_amd64.whl (504.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.30-cp312-cp312-manylinux_2_31_x86_64.whl (731.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.30-cp312-cp312-macosx_13_0_x86_64.whl (568.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.30-cp312-cp312-macosx_13_0_arm64.whl (484.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.30-cp311-cp311-win_amd64.whl (514.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.30-cp311-cp311-manylinux_2_31_x86_64.whl (668.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.30-cp311-cp311-macosx_13_0_x86_64.whl (567.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.30-cp311-cp311-macosx_13_0_arm64.whl (479.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 95192315befc936848766b673f01b351400b9aedddaa20e1b15fc0e3f43a2a03
MD5 ff78a067d0393db12ba4618dda3fd519
BLAKE2b-256 e69248f3c6b17208cc32b2c946b4ab24c499595cb5900fd0fa17bcf7f7d6f21b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6bf59c28917fe365ca6a24ccca869a1e60671c21b5ff2cd1c7f31737c15042c2
MD5 1ae557b66ab00aaa82de6ffe8b08b9b6
BLAKE2b-256 cc108bab395eb55ff55fa359c439cf72ee594bb41b1c264d13da1c224e4767ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 befccb99b3067867e02f671f181737d0ff3e5f63550c39aecb94ef74aba6f4a6
MD5 8693bb8c03614429997381795eaa4920
BLAKE2b-256 68657d517d7794e38b1f7de1d5d48201f9a404a7b742c33ebd46f5aafce3b3cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a1e066f5d8a1a06f668d3fb834d512a9317c193b0ea7a9700159934924544034
MD5 343f6392b90cc828c19195b2e70056f5
BLAKE2b-256 53e31a96e724d504bb80d3e762831333e83d5fb181f28b05a343ac9dbfdd05f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0a968a7b78384d5a8ddbc8e53cbcb91549bb3c6fc02382f231f91dcff3016edd
MD5 45d0cfe9c9937a2b0feb66c402c7bf19
BLAKE2b-256 686eb90ddb026512ee4890be10b6fffcea3fe5a99ecda0e8b372695b7d655f3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 11dc68248f826c6f4f4bd721ffd8bb3330138064873782339334eee7b1c0772b
MD5 d7117306f6f3ecbbcc50ed320e8654ea
BLAKE2b-256 ca550e4dc12306dd218e66503a8c93f655a554203e2e81bcc446f37da5bb5498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 85d0a08755a614a5dd82fe31739aefad5cdac93ad2695a874fc1889eb58a3d9c
MD5 ac7c15498ea706eb928a27f22ed2c8b6
BLAKE2b-256 9c0fd01c9ba9b3763aa831ce0fb34002556010d2ce14bfb42cc43d1cfe78b0c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9859a66b5bffadb02cadb67faa1969fb556fca3b9b320d559b30920872370350
MD5 d262788a506046e59a9cb0c746ee54fa
BLAKE2b-256 ae682abef5f012a00e532ce3e2140e737adacea93bc365d6d0f104834121c592

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5300bfd85c22649d5466182e7e412f93acea25a65059807cbe5a58e82835bcbb
MD5 509f3c914e9860926e02c38269c458d4
BLAKE2b-256 f71d473329b33ab9b6b8a40dd9185319af40e939838f121f5c63cae70c447dc0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 adea9b057376aefa3250a2818f56f7ff19fa83858605492b7b0421ce370a7dfe
MD5 b50cfcae61729604759b0ffea7194a9d
BLAKE2b-256 2af97e8601acebc6f2a9c5215c2d16aaf2f86508982febb29550ff05ee093a17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 383dc115b2e4587e8fba75be50626748a035fe49b9ac6a3aa7e0897a23d3a8e0
MD5 093f27f4fe1282572bb2f2ded0816757
BLAKE2b-256 9563976111aa5c87cf0e616356e50860b2ef86ae45bf9b39c0640fbc7732c687

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.30-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dfcc85f31ef51a8de5146c3ba26ab05b6f64d31fc6246f377bdad66ebd6e9926
MD5 6d12728a3bbd80cc5dbff995d1d87a0a
BLAKE2b-256 39c5e2b9552718e9a3fd0d64520064b4c3dd429d01f34a73465c2135f28047eb

See more details on using hashes here.

Provenance

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