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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.16-cp313-cp313-manylinux_2_31_x86_64.whl (680.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.16-cp313-cp313-macosx_13_0_x86_64.whl (519.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.16-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (441.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.16-cp312-cp312-win_amd64.whl (468.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.16-cp312-cp312-manylinux_2_31_x86_64.whl (683.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.16-cp312-cp312-macosx_13_0_x86_64.whl (518.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.16-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (440.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.16-cp311-cp311-win_amd64.whl (475.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.16-cp311-cp311-manylinux_2_31_x86_64.whl (622.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.16-cp311-cp311-macosx_13_0_x86_64.whl (518.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.16-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (438.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f323ec12f9f88cab2c57bdbec03e8885122db1eac6d8a1cde4cacc6afdb35ac
MD5 5375c8fbe67aac43e4fadfde9ba3b484
BLAKE2b-256 cef49361a08ade4eaafa69328d3cc0ecce7d9ff6a087624daab61daa94d3ce2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9facdaaa1da00147a818336237240239262c19b630fd011454fee6407f8f7200
MD5 902bcf2e66e4d6b76e98ccafd45d28a4
BLAKE2b-256 489b37aebc7a20db7aa59a489dd0a10d6c4b6c88aa6bed3f6ed88e7e482e42c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 11a1da0501d197f39ce6eede489fe3081359a4cf413e51435c62be75a15ec0d0
MD5 9f0277bf9598be42958bc5243fedcfa7
BLAKE2b-256 5b4e5a8bcd22802631545ff6559c8c43f7baff19a0ed2b143741848a4d27468f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2113c1e61ba6ccf9df487a5d95ab5c73119cbda9545bf928fcc31f2127f263d5
MD5 48f84e21dd7ec23347362815d5b14fc5
BLAKE2b-256 4461d69e406eba9c637995858d968020ef4654c910de658546c258d13aba7f78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cc0f4746f9aa1883ff79409c62fb3f47acd043be68282acdb72d43a5d198edf5
MD5 43326f0ef083e963467a314be92563b0
BLAKE2b-256 981ef5be96d1065b37ab562fc88179fef91e3711088165cdc87851e79a449271

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f47cec37ed82637347dbf66c866464c81bf78e6d750d9cca38761064ec9b7dc1
MD5 dc08413b634c9d51f3789a55d9c4d952
BLAKE2b-256 51194f2c9ab0df76ee86cea3dbdf774f85dfb6a13584d7b30d8874f18acb7968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bde9dbc1dde7fcad614781fca8293fb9eb902ea14c640ac849a84d3eca12b673
MD5 d107e8a93921d792d153917eb5eed688
BLAKE2b-256 2562bd9b58de9c5106da5da42ddd549816cf1c7e8ad59d575e7b8d49441fa345

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7754663f6c6ab688da054603d5c0fbb11494f3d95f3cb888db63a08e8b2751e9
MD5 1115b13e21df6856a96e25279620bf7f
BLAKE2b-256 e8acb73ae37f5f87bf66b640c6f1a0d48c1999b2245c923db2d5749f3eeaa979

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e8892f7b23c5ea1e84ec5a96ffab3c45f8cd95ef85451bc2077fe1d115769618
MD5 e36b6c2d4fdd155f4eef9a80bfc17204
BLAKE2b-256 3c95512363704c384d217a5f8b924259f1541e3479d47127ca71aa0be8ac151d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5bbe6ef419cdc6eedd229f1643038f758b4afc338f9ff0f65e42553144dad260
MD5 14c76755d72fc062f16f605603c5ac9f
BLAKE2b-256 85028a7e915076ce8af6385467abd99b658a37713d8710ce6a4b7f6cbfa25fa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bdbec25f58a6e744c78dddba8ec319e9919ab645c839bdffffae662a3da9928c
MD5 85524e8e5855e9b9772a2f5f13d2abb4
BLAKE2b-256 64f728bcb9d81885b0f53e0640e45a878dc9680b9601ca08b62a5813b97f0bc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.16-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9236e66b5bec3272c73e0f7d87cf6421ed831d0dc7ee852d7ab00cfcd5c97f8b
MD5 fcd8fdab3c91fa939a0ce8f3341536e8
BLAKE2b-256 e0659a5865ea291881f1cdb7907141a664dee96a7beaee6679dfa11f37a5af3d

See more details on using hashes here.

Provenance

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