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.4.2b1-py3-none-any.whl (90.5 kB view details)

Uploaded Python 3

gllm_core_binary-0.4.2b1-cp313-cp313-win_amd64.whl (527.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.2b1-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.2b1-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.2b1-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.2b1-cp312-cp312-manylinux_2_31_x86_64.whl (771.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.2b1-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.2b1-cp312-cp312-macosx_13_0_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.2b1-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.2b1-cp311-cp311-macosx_13_0_x86_64.whl (605.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.4.2b1-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.2b1-py3-none-any.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 611f1a50c4432207b0c7514a0858228e114f8738adfbb09f67fbc8ec6be37846
MD5 c529995e94667903f3389ac9fd482b9b
BLAKE2b-256 86d9899390cf3ee62d7083afe4cbb58ce20c42ff7c0eb6c67eea139f4b95973b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2b1-py3-none-any.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.2b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 40e6b0f31f15ef47b19b4972cc8364be49ea5681d3045a97f743b13ec293b66d
MD5 bb324fc4596d7fa7fc83d0a8f9bc727e
BLAKE2b-256 af71e8939918ec07d063bf623a800cf01b642436bc89cc9b6048e31fa970b263

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7d329bd8fad003ec011a2e8d3633c7d6294eb1b658fad3e275a495efd30115c1
MD5 d38e3cc8cfae75d962b8b62a53f00f29
BLAKE2b-256 325acd283b14ae16fe2948382b25f83d772b02a207c9de0603fe3f7163045702

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.2b1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eb8ee6a91c7d7971169d0ae1c1969a2272a2fa22e85110fccc804438b72261f2
MD5 f5629d1a57ae1bd0624d4ec944c7a5f0
BLAKE2b-256 0483fda08701463f567903bed29e16ba314858c763ebbbff430c948e402b38bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 18072b07c06e5f3b3b9fcba73892d526ea2c3121e082be9684042a56af7c0fd9
MD5 c502fdfea44701939c78ced4450a2340
BLAKE2b-256 7c10fae76e839e1a9075e4f46e7d8332abde6767f0c7da7a4b487b99ab428096

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 67dc61b9933a705d63f895d4718d1aa8cddcd86c9028d765070fc385e7f4d697
MD5 8f9f85717402a11ae8e15f6ee14a13a8
BLAKE2b-256 e4904bfbf9f4cd119098362add9e534ad1b4c50d1dc6f927458c08f85d1b74d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 df62f49fc64839a8bc741f850a0aa2cbf304140086fe3b314816ae198cb20b81
MD5 fc82342baced05186c14894af1218724
BLAKE2b-256 87596c1c4bf9e9552755ed58a484de579eaad496e973dc2f1784b67192b16df3

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.2b1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 71be7e93e31d009eda634dea6e0f06ec6dc35ccb54ea14b1c88aa6944843f0d3
MD5 30f80d0d74bc3cf495e14b0a6a84faa9
BLAKE2b-256 9b7c33cab2e0ded350978c3e39f4625fe4096772a6d255f12a96334b609fdc7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa084fd85d5dfcb8e6972163e9cb2c26a9783e75c62ece4ff886546c0f101a74
MD5 b99fca3a4d9a0944102e5d3a24213d4a
BLAKE2b-256 7f20488e6df083f9e9fa7db5d03a605b6f84de66325a5ee635ecf6aed4151537

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0323088a6f246954b709f7f59352516128a79f922f8b758e092420d4b49191e3
MD5 bf6672cfbc66500b250592c6c3f68dac
BLAKE2b-256 d47e90e7366d4e6221ac0b5bba41f0eda1696aa3edbbb4b534e92055636aaa30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ebfd69b46031e2f88172afe78dc3fefad0775df274cc864beb60166eb0240331
MD5 902a6b4bffcfb3112516635f18e38357
BLAKE2b-256 3fd7fe10d6ab2d91a9be8ccb509986d3dbaef6de1ef96457e48f1a09037c9f40

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.2b1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5cb68b8e149b71a5d131fdf141f177779ce8e92936a2a47bb5d027f300cfd3ca
MD5 3ca8b613da6b3e55f4db4e144fb0b1d4
BLAKE2b-256 dc9ca2a6ec45b4eac9bb6f0a09f3489ae2f1b4dd0e79ab9018e98a4f219af4e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2b1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d4fe5c70e327b240352808e3081d10f1b0994725f932ec8f53229303b7002b89
MD5 1d15213c4bc551ee5c56777e7f4d8389
BLAKE2b-256 97b5f84ed581f9b6b1bed5c2958e9699f99b14098d6cd97ba590c290bf18370d

See more details on using hashes here.

Provenance

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