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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.32-cp313-cp313-manylinux_2_31_x86_64.whl (729.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.32-cp313-cp313-macosx_13_0_arm64.whl (484.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.32-cp312-cp312-win_amd64.whl (503.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.32-cp312-cp312-manylinux_2_31_x86_64.whl (730.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.32-cp312-cp312-macosx_13_0_arm64.whl (483.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.32-cp311-cp311-win_amd64.whl (513.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.32-cp311-cp311-manylinux_2_31_x86_64.whl (667.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.32-cp311-cp311-macosx_13_0_arm64.whl (479.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ebf22c06376ffb8cef25786ec456812506cb2b3bbbcbcd525a6244d873f45769
MD5 699ccbb4bd004111b3ec6cfdc0f97ce5
BLAKE2b-256 383cbdffbe47c28b8c1ecb177d17b1cd37e026e97386ca76c7c6bb521ba0ff76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 613dd0aea2f55878e2ccdb16c8d4ee4fbf0070e3ce728ebe6b6e707a9658c334
MD5 9c71ac89a6fb06c98351cc30142d1264
BLAKE2b-256 36bbcf51ed621d1d7edfa5e2c09bf166b27376a8580d62b42f3de4f015862ff2

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.32-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0846ac224701434d30f9ea09217a2524e5876801667dea508c41f57f3a602eca
MD5 7dd8678edc2a655e887bde8160a22cb6
BLAKE2b-256 c0d4585ee950dbdba4f49d6309875ea038fd9663eacd9a13d21706e49035db5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 52847b3514281c6d0eb56d780c0fbe8ea0e6b1ce501e110f96586706fbc1af92
MD5 e099301783f2ce2e15841fde52b3d8d8
BLAKE2b-256 ca08275a2ab785853e77b59cc60d8f275e29c4db7036ae242f2d1838a8bac7d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4d713158bff3fb3a8d0bfdcff84cf5f212e228fbc62169f0d29543b292d50c85
MD5 4321dd40052a07d9100b9ff4d4615f74
BLAKE2b-256 109c79b81fe5afc367dba3f1f0d57fe5af4e9a3ebff3584dca0c5666f8ac52f1

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.32-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4860699c1432be2b0269f7ccc8db638a4ea76c4ddeec60ea4b6576b5ce7b364a
MD5 743d358d6b3db0da25cd84bb96bf46c8
BLAKE2b-256 01ae60c1dce26be240f04725fd11d72f883200d2fb7c6707aab8d46cd9bc1866

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 848d0ab69e2069d184fce3c86d08f99386205c5e3d194b591f5d3e7950eca11b
MD5 5f57ecac43ec4e650302942b582af8d8
BLAKE2b-256 4428dd0d16c4a392b31ecc60b1c30fc767919ddfaceed3ff0f31aefa6d9ce63b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c98d93b9a4aa7ff140f878daec80315db8e5e161adb0e8bbe8c4efcba525deb4
MD5 97119e4911b7b2922952b36ff07cb862
BLAKE2b-256 f24803194075e3788de2446e725d880cf3e57eb6b74336d20bd139f9ba44e327

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.32-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.32-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 165753f8e3c3db2dc6f70dc13dc3193323dda9034c086543ede226552106bd68
MD5 c4c4dfbec54b2e924be6fbeea99fb76f
BLAKE2b-256 9a9aacafbff2b8e3f2107cc419f1903a3687a7e9d8274e0f8fbd9d1e7e0e1f9c

See more details on using hashes here.

Provenance

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