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.24.post1-cp313-cp313-win_amd64.whl (477.4 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.24.post1-cp313-cp313-manylinux_2_31_x86_64.whl (697.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.24.post1-cp313-cp313-macosx_13_0_x86_64.whl (535.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.24.post1-cp313-cp313-macosx_13_0_arm64.whl (454.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.24.post1-cp312-cp312-win_amd64.whl (479.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.24.post1-cp312-cp312-manylinux_2_31_x86_64.whl (699.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.24.post1-cp312-cp312-macosx_13_0_x86_64.whl (534.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.24.post1-cp312-cp312-macosx_13_0_arm64.whl (453.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.24.post1-cp311-cp311-win_amd64.whl (488.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.24.post1-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.24.post1-cp311-cp311-macosx_13_0_x86_64.whl (533.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.24.post1-cp311-cp311-macosx_13_0_arm64.whl (449.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.24.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 748ee7070e5f1cfc3d4d3d64f091dfc4062c38bb13446b077a591ebd9b535d70
MD5 17c01db4a4e8a6a6aeddd005a1cad203
BLAKE2b-256 506acb44bd25e6df023b5526898d6f5c0ef3bcc49ad11e58e3be630c675d9c1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 23ec28cc71191c7173818b818e585ab7d4e183711eaf073e14e55518edd5212e
MD5 db52f1f59a1a45bcd59b35e68671cc8e
BLAKE2b-256 6ec68e720232e78e8ea87a633b9c8e8b848c967de6e74ecb3e311c6b72bfd690

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.24.post1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5bacde34c41d1d88e82ae6eb13fe4178cc502f7b7e9a7782c8fcfd60e639454b
MD5 06013568bc72d117b34f72cae32ae61c
BLAKE2b-256 46e441844fc5516a4c31adff4e38abb6539dd893472e88ba960b374dba14b5a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 effa3a8f310968118732f00ba8554211d3dc6e8f38204624f0a8f3bd13226714
MD5 a8e3a17d83231a8564f29429803909a7
BLAKE2b-256 5718ad20f87440f9100763010d45e1463affde93d74d211b4dba0b855f49d802

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dd6481037c802898123ee5962832b59e1171d9c28ad6a41cf7a39ce6bbbcc456
MD5 2f9e67031313b9884951a1085025c71a
BLAKE2b-256 02e53d50f37cb66186e53ba423d57cc6e6df7caf0a8380faecbb1387c48ca877

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ca88b8d34a8ba2efc59edf1dff713d6a70cd84fc5d3be9ed7fdb2b93e21daef2
MD5 8bfeaf68333c4656797726ccea7678be
BLAKE2b-256 069c5b070161e86223d0240dccbd1eec535ed8159314da74dac3bfd6c3b64343

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.24.post1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 14d16da1433e7de5c8e6752a564e7603864261480ea37b5aadfb089b9544fb28
MD5 e9a875e5c4d5637aa1db9b3773aa48d4
BLAKE2b-256 b926e5d6dda75c6eb8d44cbe2c95224a609471312c346c4eff9ba36e476ec6dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6ec83990edd58f613df5fc3efc9318ffbc64717368301408a6c9c553d1d130de
MD5 bccb6391808bc7e14f96fc961af67e25
BLAKE2b-256 e468efa24e9b58416214b81c50e759acf628a89608befaaa9e850a1c02fe0e0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 20269653300e0afa199670ec86df36c3e0b3afc0dd5b8a05ecd8649e7b562e3b
MD5 5bac9075586cfcf1a5b1ad0da0e4caef
BLAKE2b-256 46efbcefd25b920bd774009f6cf9f76ce514d09f22c42938f1560d04ee081499

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3effc93927e4a20d962a5ad9b2639122e4df44a8ec10d5ce20e5aaf9be99a739
MD5 f0e5b91ffbd5f31efa69a7a34afe4238
BLAKE2b-256 03d518f71c1702a7fa8e318cc1ee69686f8c8eb2c3533983c105307341090a0b

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.24.post1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b836eed8ae0c7fac64fc4daa0d0691fa34399d639ce8c821814c1f69cdc6bb7
MD5 5ae42319d20570238e522a18de967767
BLAKE2b-256 8af95a32235cc831d0b4fd3b2b1dc0c99c78d58d5df7742244c8e5c5e6cd7339

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.24.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2e2f4166f69c735fde4dfa09e606b9071ea6eee60d8793d79ed0faee23f3ac72
MD5 2d51e860abd76ecb9334ece898607987
BLAKE2b-256 190db905f1fc3d38a28f94f98f05a20bb8432eed312ee6823839a420f710b480

See more details on using hashes here.

Provenance

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