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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.26-cp313-cp313-manylinux_2_31_x86_64.whl (697.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.26-cp313-cp313-macosx_13_0_x86_64.whl (534.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.26-cp313-cp313-macosx_13_0_arm64.whl (453.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.26-cp312-cp312-win_amd64.whl (480.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.26-cp312-cp312-manylinux_2_31_x86_64.whl (699.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.26-cp312-cp312-macosx_13_0_x86_64.whl (533.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.26-cp312-cp312-macosx_13_0_arm64.whl (452.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.26-cp311-cp311-win_amd64.whl (488.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.26-cp311-cp311-manylinux_2_31_x86_64.whl (639.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.26-cp311-cp311-macosx_13_0_x86_64.whl (531.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.26-cp311-cp311-macosx_13_0_arm64.whl (448.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b3ad0f587b7758f08de9aa8e75cdc689f50f2e4021237f8574631bb9381f65d5
MD5 9977f08a7ee26c558b1de6ff2e8e9ed8
BLAKE2b-256 9df82a2a80357a6942ab103172538cf8c8bf54ba887d077ea2b30b2b2387d3d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 135557ffdba39607f3ee0ca6707f0e69b28630c7aeb64285de10291e70a55ff9
MD5 0a7d88a16737cee064845b4686527df8
BLAKE2b-256 0d5f09be216e2692e486a459af3e0d203a80c9f85d7da04903cb5ac0b925be24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dd28b2688c406b2f6f3b5ddbb5be1c31e084a78cd4579888db2c16dd84fa1c3c
MD5 c4303af9f76a0634471cc752b71f3ce9
BLAKE2b-256 5281e1951ae835062791510f71c4e74a329e6f085359830ab5e081514601034b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 888368898edc91798ffd21402bb95f9cd1f6c298c5c12427bb4ba9f666f43893
MD5 14f5411ff3ca0cf388bf01991ec99963
BLAKE2b-256 82f98e1d4fbf8b0fa6fe624c35c7906a2163a4dddea41d9f8215b1eb97df30dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 200106f783704aad2b72339bce76d78aecdfe7152c2cfc2fd287ee6738ffa4ea
MD5 5df32cef05485dc800195d5f263c739b
BLAKE2b-256 68bfcf2d7e19a421ad34c3ba9bbc045782a372555c3a3d1f566ebfb2d9043384

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2ffd1f9051a2d6d6bd910b8f6871f94dc2b27240443f93be3eed029aeee3630c
MD5 3a36d2d528072ffca3645a0daf86c745
BLAKE2b-256 694df6dfbd0da1cdb95a3ac743b6ad80829a772a152c473fd7902595a0737e1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 219aa13bd3eae29322bcbd067ae2bd7bcf39614f6bb78e95b3cf18cdb1933e45
MD5 5c1daf2d6701c4daeff96b34b8ef8fbd
BLAKE2b-256 7723610be202d8b0d247dff265e7cd0ccdb306b89869317212888a2fa5c8ddfd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a5b894e0375e9973c042d55f3fc5dabb9103fc37691822ccc213e83bcc29ed17
MD5 ff8f197438f3f25887a9cde5e410e552
BLAKE2b-256 06cf2ee53b501f1067bdec91ff3b3834bbe18f8ce18fb03e0f292931996c924d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1ba51bbe59cdf436c37e81066777be7b2f204ceda687ca193a1acba4891a43fe
MD5 278c18e190ed69bb6e81cab9ff1dcbb4
BLAKE2b-256 11b51c575eb347510b16dbcde67020c0b2fe9bc5d5e073e57227cc65e2c369bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a2e9edcf816e4ac5293b2b65a6e67f5cd1f42de26adde34c048b47fb0bc53408
MD5 58a006d9f3343ede7108bbe57235d83a
BLAKE2b-256 5c4d5819f6dab1a4195c2f3c384725f21e1bc8757dc853f87f608c23bd94bcb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5d2cf8734580f4b364695d6d0d0a472e80c096afbd2e623ea831c4a903c3caaa
MD5 9680550d76872670c964fda92982c87c
BLAKE2b-256 bb9b3bc5dccaf926c1459a440d77f891d388b7c62065837053a60f2c90238881

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.26-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9e576fcf5f068c39626f2eace7c17666d8095cd844a82718f751b4b3f24c3f7f
MD5 9f4a126e4ca125f4bbd099167519c777
BLAKE2b-256 78987cbcf5f616b4ca6fcd98b1b3f7b598a021fa73678ebf5c86cc3f4401606c

See more details on using hashes here.

Provenance

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