Skip to main content

A library containing miscellaneous components for Gen AI applications.

Project description

GLLM Misc

Description

A library containing miscellaneous utilities and helper functions for Generative AI applications.

Installation

Prerequisites

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry (automatically installed via Makefile) - Install here
  4. Git (if using Git) - Install here
  5. For artifact registry installation:
  6. gcloud CLI (for authentication) - Install here
  7. 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 keyring keyrings.gl-artifactregistry-auth
pip install gllm-misc-binary --index-url https://glsdk.gdplabs.id/gen-ai/simple

Using Poetry

poetry source add --priority=explicit gen-ai https://glsdk.gdplabs.id/gen-ai/simple
poetry config http-basic.gen-ai oauth2accesstoken "$(gcloud auth print-access-token)"
poetry add --source gen-ai gllm-misc-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-misc

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-misc module, e.g. cd libs/gllm-misc.
  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-misc 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-misc 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


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_misc_binary-0.8.8-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_misc_binary-0.8.8-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_misc_binary-0.8.8-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_misc_binary-0.8.8-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_misc_binary-0.8.8-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53d46049d08cb22dcf8efa2b8676e79cd901465115153f37ef913ff67291d64c
MD5 304106aefa8cb7c472f07515b272bf46
BLAKE2b-256 d3b6efb6c50fe007e323c9dcbdfbb279e2e7e620ded31116f492e13565829d4b

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5952996bb8b16f32806f4d37fb5ce180db8ff582bfcf9164574bd4acd671973d
MD5 5e9d37fcc8901a85257382b607d061a9
BLAKE2b-256 c6020168db3e3b2277d385eae836400d0005c18473debc754fbc91f982d6dc29

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46f89c3833814a916132ebf429fddc9dd6be949c1c747babe9617abfb0cd108a
MD5 e6275b261c96af640a86e41ad3f3e38a
BLAKE2b-256 8d3e5d6f3ff015729fa08bbf3dde73472e2ae38c22ed7de118453838275d46ec

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c3682f3bf62c22831e369e70177524c376bbaffe42f6f9b838e733609f1a862a
MD5 844e5194961022743d160ff21939fb0c
BLAKE2b-256 b8d873122fdcb3cc4705372507f6ca1b63b45ee7ca785b9a9e3b05a66d6cd317

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 aa5a7968865ffafcbe2867e6f37f7429a50294714332499fffa63bc311baa6ef
MD5 fa52f58a21119ac242d432eeef092bae
BLAKE2b-256 56b1ad3cbab3a0b58dfb5b28ff5b902a69e73887e100306e45f48088d73e4a94

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b84b0b5de6594200ab134a349d4944be37f68a24f6df2e94c3bfd186a99621a
MD5 7866ff1872a6830d00fefdde9592cc70
BLAKE2b-256 6a74d5d7c37486e9c09755256ecb4f1829a64680416500e3daf96b2b82141670

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9d5d8f825ddccf265f80565fc426ea8ac7e9fdad96e96fb9bfb679a7302adc91
MD5 0539e7ee15cb7739d40826d502cf8df5
BLAKE2b-256 089c39f0129a46b8623007523001dddc840f7b9bebda163e3a781d230f06cea1

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.8.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9ee490880c4e452d47d0477b4bb5c8addbd8605dbe81b2fca360bdb28cceebeb
MD5 7fa354ce1d518bbb5afc12c04469a20b
BLAKE2b-256 049ceb97bf1779c106b29dd063074f24a74a6092c1ddc48cd4748dad0a3c5bad

See more details on using hashes here.

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