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

This version

0.4.3

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.3-cp313-cp313-manylinux_2_31_x86_64.whl (770.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.3-cp313-cp313-macosx_13_0_x86_64.whl (606.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.4.3-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.3-cp312-cp312-win_amd64.whl (529.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.3-cp312-cp312-manylinux_2_31_x86_64.whl (771.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.3-cp312-cp312-macosx_13_0_x86_64.whl (605.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.4.3-cp312-cp312-macosx_13_0_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.3-cp311-cp311-win_amd64.whl (541.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.3-cp311-cp311-manylinux_2_31_x86_64.whl (703.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.3-cp311-cp311-macosx_13_0_x86_64.whl (605.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.4.3-cp311-cp311-macosx_13_0_arm64.whl (516.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4579fab4da5ccfbd0af577e4d64f226a97407284746fa60c730c8b1ef4e1bc0b
MD5 8d53c5cc2135ed7bcd0cae9d4229ec1d
BLAKE2b-256 a12e85c3c8943fd15cded43210b50f001e9d1d1498b4ca224a8721cde893480f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 41e5fd51159d3dd879ce0042056c8aa76d91914e4da47c3e401009c18476aab3
MD5 2c7241a702a430fcfc32cbcffdaf0d98
BLAKE2b-256 b38032196277db6b35a7ef8d57de89f91e92ae89f29d572ac1f1cb07d594a464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 899b9744a34ca814b555b5755b708dfb3c6bee687d9382dd0e3971d08127994f
MD5 14c867cee8450b6ed8daf3ace6b0e3d5
BLAKE2b-256 a406b8fb331ad8c1491571036bf2c0fe8a2a46f3640f470b1173bff36ef0708f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 daa5f2e842c4da27a8df9880f72e9ac8c1df9784e5b1d7220df76068c62ab29f
MD5 0e54c31c95588a18cc0ebe315becd468
BLAKE2b-256 9de6e5fceaefa76c52cf2144f5a6bdbfd80056f08ba6ebff09403d00d4234528

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b9acd1c5fa47bae2413e07ba9456a3b8baaa453ce913ee097c6c3dc8ee51bc7e
MD5 411bf1b771dc46acd01acb80d8b83a25
BLAKE2b-256 727f764d987f74986c6c444400133a42e1b49973788d7b4c2a5e5b56bac9dcbe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3889c8ba1a5ba83b284dde5313f690d18d7d220ab72a56fdbb0bfe82eaadaf1d
MD5 15f73f8d82b53a2af65e6db516bdf4f0
BLAKE2b-256 60c12545d50501cf5f8b877b4310ac36812bc7cc77920a8fc70adf6ef6235c15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fe3ea72706f638cd5b91be1d2debd0ccf6510400ecbfe6333c16efac5eb5c0e8
MD5 74315440e60a0fb31899a1045c912178
BLAKE2b-256 fc2a484ffb7a60762e4eb2a8cd1005d4481f19eea17bfd3ccd6762bff5f2a79d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ac29589e3e2cdbe6dd012778f1dd50b34a11b0972dda705af855515f900ee36c
MD5 5e39aca155af4b90cd2c28b624d3fbc5
BLAKE2b-256 1f708ff8090340a7129ec20b17e87564626bc07ff1c55570b28d9a0b7e3c9bc2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2d9c3c5db825571ee5c988ab1101839cfd2d30488893cd06eda171c8a608f0ab
MD5 bd486270d0fdedb5dcf1180b16fff252
BLAKE2b-256 34cd4c6abce1ca4a91b9a488e8ff15e9d11622ada71299d9c823581a94c87b7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d97ea3bd7f067fbdcee348aa9505242d79e7d24e1ac89acca629b9541ea6f0a3
MD5 ccf79637e7ebda7b161e7544e4bd2c0f
BLAKE2b-256 ec79eb00beef6e4b16b4dd55a4c08bf606b540a1cceae64da451fe753987e77a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 27ae5600f4537315b3ad904dd85d747cc02c1cb55e714ea493859eae1771f00f
MD5 123567ea0dbfe2fcc74fc203adc80af2
BLAKE2b-256 4f1cfdf0ce83bf7a12a1617cd7d54c2fb4cd9b00a8b315438f37b527a2b399e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 13e5186d232560cca3fd14e257f37c27f966341b4391aac8220083a5d5c4ca0a
MD5 75e582d9577a081b219848e1b6f6becb
BLAKE2b-256 caa75895cacfb35252a15caea3b88a9d74710c84e63875b8cb87d520b1e3ec87

See more details on using hashes here.

Provenance

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