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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.28-cp313-cp313-manylinux_2_31_x86_64.whl (723.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.28-cp313-cp313-macosx_13_0_x86_64.whl (562.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.28-cp313-cp313-macosx_13_0_arm64.whl (478.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.28-cp312-cp312-win_amd64.whl (499.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.28-cp312-cp312-manylinux_2_31_x86_64.whl (724.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.28-cp312-cp312-macosx_13_0_x86_64.whl (560.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.28-cp312-cp312-macosx_13_0_arm64.whl (477.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.28-cp311-cp311-win_amd64.whl (508.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.28-cp311-cp311-manylinux_2_31_x86_64.whl (661.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.28-cp311-cp311-macosx_13_0_x86_64.whl (559.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.28-cp311-cp311-macosx_13_0_arm64.whl (472.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9e1af69b0d7d9ed127b861fd97a67b3fc13f09d08af19654233888e6510f6a3f
MD5 8d5eafc902f3ef8eb8e705b90dcb8730
BLAKE2b-256 2c50f98411545cdc66b24349e9af2e20c29c489ef1d2c6942c4c8289f8f0f0cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8f9245d5c6cf31d97879c4a00aab2323c3a06d19b62142d4685ec967d83bf613
MD5 b1f09cf3176db6ae6412b1b340e24777
BLAKE2b-256 815b4f79fd7ff114bf0c123d248a9c8179293e4914a747f16da73939d1479fac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 95d086024c59a51c7f1948571c7245955f40d75b606a88545d3a408de3c5bace
MD5 5f0ab0ff3d787f6216e9ea9e06b3a5bb
BLAKE2b-256 091142822d3d09d6d7eb4d912bbb5acdb549daba4193c839b2f9bbe9055c2ab7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cc866b56ba9392b9829ed0a28d3e0d51f671b793da02dfb13c3614f40b1ff2ac
MD5 7f372acda9318781d6d089c938362857
BLAKE2b-256 08c102199e2014eb0541a865039c7dfafc59faa2d4469f500fc0d2c3511dc953

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f6629344f9d7bb6486a323cf70469a7176a1f7712c6a88cfe457f32bcf03977d
MD5 79ed58aa623acbdc5b99ea7f1d6bad2e
BLAKE2b-256 9a562d61a7aedde141cdf6620840003c75d14352310cbb4e852ccdacfdab7763

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ac312fea0ff0c51ce41c43639daab60b27456c0339884c93e0f6b70e3547f79f
MD5 1b7fc4557ecbcec27103dc8aaac861df
BLAKE2b-256 23d18c80ba13cd0e26615a0f932f55944c4675345e5b3b83dcd33d54671451dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d681c7d785cc6bd0c228c034f1ccb511875585bd18b2bc1d69e6199c70c3ebef
MD5 89a1b4745faace419eb5505da3ad7406
BLAKE2b-256 fc7beae377b59ad87129aa29e4704b9d8f3085b7c6cc5b7ea1526b8b9fbaa648

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b780f710aa029046de563cee7f8651fe7a0528565ce64d6e8b42587d7dfaad6
MD5 916f64beff1df9a054e04d670783fc60
BLAKE2b-256 dd103e21502bdc27605750d1696ccaf0dd8d714a01df974373374be95f8cca3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1659c53ddb85222fb31191d90a34810aa01234573b26ecc3fb0158d491cbcad2
MD5 b10f416393dd80329a3e5ffe30be409b
BLAKE2b-256 80c99d2a1f57b626923b8ee23441d5c1d31d4c2e7e5f68bf28fd7a9e8af39f45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 72cd7d9f7d1739bd048e455915b2a1bd8bc3673fb696ea3f34d4b319a55a3273
MD5 b9b54d32636d86366323ca04ab5c63df
BLAKE2b-256 1aada557e790bc727f6a90fbdec7ed0064fcd8bcc027af430be0b8affcab7a75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 870c4b02fb8c077a51ebffffc309894df233a18cfe6c158062da3da8defa8f2e
MD5 81fa14c2789ac046123ddcaea370458a
BLAKE2b-256 aac6b3c8db204d375fa19b4858c6aafd83868131d86323f28de8e6b1739a6b30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.28-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa3b7aca7203c2a778b2819236a2b24f5abd667e87fcf2e42ae852b76c1a17b9
MD5 3862c11368696fd7e9d96a2e72404c94
BLAKE2b-256 aecadab9f1c244b5923f4f08ac6998ace963df4c2cf854d87d84a1da347b6569

See more details on using hashes here.

Provenance

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