gllm-core-binary 0.4.4b3__cp312-cp312-win_amd64.whl → 0.4.4.post1__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gllm_core.cp312-win_amd64.pyd +0 -0
- gllm_core_binary-0.4.4.post1.dist-info/METADATA +177 -0
- {gllm_core_binary-0.4.4b3.dist-info → gllm_core_binary-0.4.4.post1.dist-info}/RECORD +5 -5
- gllm_core_binary-0.4.4b3.dist-info/METADATA +0 -113
- {gllm_core_binary-0.4.4b3.dist-info → gllm_core_binary-0.4.4.post1.dist-info}/WHEEL +0 -0
- {gllm_core_binary-0.4.4b3.dist-info → gllm_core_binary-0.4.4.post1.dist-info}/top_level.txt +0 -0
gllm_core.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: gllm-core-binary
|
|
3
|
+
Version: 0.4.4.post1
|
|
4
|
+
Summary: A library containing core components for Gen AI applications.
|
|
5
|
+
Author-email: Dimitrij Ray <dimitrij.ray@gdplabs.id>, Henry Wicaksono <henry.wicaksono@gdplabs.id>, Resti Febriana <resti.febriana@gdplabs.id>
|
|
6
|
+
Requires-Python: <3.14,>=3.11
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: anyio<5.0.0,>=4.10.0
|
|
9
|
+
Requires-Dist: deprecation<3.0.0,>=2.1.0
|
|
10
|
+
Requires-Dist: google<4.0.0,>=3.0.0
|
|
11
|
+
Requires-Dist: google-auth<3.0.0,>=2.38.0
|
|
12
|
+
Requires-Dist: gspread<7.0.0,>=6.1.4
|
|
13
|
+
Requires-Dist: numpy<2.0.0,>=1.26; python_version < "3.12"
|
|
14
|
+
Requires-Dist: numpy<3.0.0,>=1.26; python_version >= "3.12" and python_version < "3.13"
|
|
15
|
+
Requires-Dist: numpy<3.0.0,>=2.2; python_version >= "3.13"
|
|
16
|
+
Requires-Dist: pydantic<3.0.0,>=2.11.4
|
|
17
|
+
Requires-Dist: python-json-logger<4.0.0,>=3.3.0
|
|
18
|
+
Requires-Dist: rich<15.0.0,>=14.1.0
|
|
19
|
+
Requires-Dist: scipy<2.0.0,>=1.15.1
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: coverage<8.0.0,>=7.4.4; extra == "dev"
|
|
22
|
+
Requires-Dist: mypy<2.0.0,>=1.15.0; extra == "dev"
|
|
23
|
+
Requires-Dist: pre-commit<4.0.0,>=3.7.0; extra == "dev"
|
|
24
|
+
Requires-Dist: pytest<9.0.0,>=8.1.1; extra == "dev"
|
|
25
|
+
Requires-Dist: pytest-asyncio<1.0.0,>=0.23.6; extra == "dev"
|
|
26
|
+
Requires-Dist: pytest-cov<6.0.0,>=5.0.0; extra == "dev"
|
|
27
|
+
Requires-Dist: ruff<1.0.0,>=0.6.7; extra == "dev"
|
|
28
|
+
Provides-Extra: langchain
|
|
29
|
+
Requires-Dist: langchain-core<1.0.0,>=0.3.0; extra == "langchain"
|
|
30
|
+
Provides-Extra: google-adk
|
|
31
|
+
Requires-Dist: google-adk<2.0.0,>=1.0.0; extra == "google-adk"
|
|
32
|
+
Requires-Dist: starlette<1.0.0,>=0.49.0; extra == "google-adk"
|
|
33
|
+
|
|
34
|
+
# GLLM Core
|
|
35
|
+
|
|
36
|
+
## Description
|
|
37
|
+
A core library providing foundational components and utilities for Generative AI applications.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Installation
|
|
42
|
+
|
|
43
|
+
### Prerequisites
|
|
44
|
+
|
|
45
|
+
Mandatory:
|
|
46
|
+
1. Python 3.11+ — [Install here](https://www.python.org/downloads/)
|
|
47
|
+
2. pip — [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
48
|
+
3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/)
|
|
49
|
+
|
|
50
|
+
Extras (required only for Artifact Registry installations):
|
|
51
|
+
1. gcloud CLI (for authentication) — [Install here](https://cloud.google.com/sdk/docs/install), then log in using:
|
|
52
|
+
```bash
|
|
53
|
+
gcloud auth login
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### Option 1: Install from Artifact Registry
|
|
59
|
+
|
|
60
|
+
This option requires authentication via the `gcloud` CLI.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
uv pip install \
|
|
64
|
+
--extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
|
|
65
|
+
gllm-core
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### Option 2: Install from PyPI
|
|
71
|
+
|
|
72
|
+
This option requires no authentication.
|
|
73
|
+
However, it installs the **binary wheel** version of the package, which is fully usable but **does not include source code**.
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
uv pip install gllm-core-binary
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Local Development Setup
|
|
82
|
+
|
|
83
|
+
### Prerequisites
|
|
84
|
+
|
|
85
|
+
1. Python 3.11+ — [Install here](https://www.python.org/downloads/)
|
|
86
|
+
2. pip — [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
87
|
+
3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/)
|
|
88
|
+
4. gcloud CLI — [Install here](https://cloud.google.com/sdk/docs/install), then log in using:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
gcloud auth login
|
|
92
|
+
```
|
|
93
|
+
5. Git — [Install here](https://git-scm.com/downloads)
|
|
94
|
+
6. Access to the [GDP Labs SDK GitHub repository](https://github.com/GDP-ADMIN/gl-sdk)
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### 1. Clone Repository
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
git clone git@github.com:GDP-ADMIN/gl-sdk.git
|
|
102
|
+
cd gl-sdk/libs/gllm-core
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
### 2. Setup Authentication
|
|
108
|
+
|
|
109
|
+
Set the following environment variables to authenticate with internal package indexes:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken
|
|
113
|
+
export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)"
|
|
114
|
+
export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken
|
|
115
|
+
export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### 3. Quick Setup
|
|
121
|
+
|
|
122
|
+
Run:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
make setup
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### 4. Activate Virtual Environment
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
source .venv/bin/activate
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Local Development Utilities
|
|
139
|
+
|
|
140
|
+
The following Makefile commands are available for quick operations:
|
|
141
|
+
|
|
142
|
+
### Install uv
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
make install-uv
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Install Pre-Commit
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
make install-pre-commit
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Install Dependencies
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
make install
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Update Dependencies
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
make update
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Run Tests
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
make test
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Contributing
|
|
175
|
+
|
|
176
|
+
Please refer to the [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
|
|
177
|
+
for information about code style, documentation standards, and SCA requirements.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gllm_core.cp312-win_amd64.pyd,sha256=
|
|
1
|
+
gllm_core.cp312-win_amd64.pyd,sha256=eEEEnPQ4ocYoACsVkoYvLpnD1cy-X2BtWpUrzNuQWOU,1217024
|
|
2
2
|
gllm_core.pyi,sha256=n1D4ZCjhQUKv7qxTYLWh-afK6ECPZCddwckzt6afO2w,1446
|
|
3
3
|
gllm_core/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
gllm_core/constants.pyi,sha256=9M5UxEkdttu4fSJTLxhjt7q1xTRYbjTFheM5EjQ5Bs4,904
|
|
@@ -38,7 +38,7 @@ gllm_core/utils/retry.pyi,sha256=KxlPzURzZfCSgKC44v98nR2bqamzHqtbRuXLDEuX29c,161
|
|
|
38
38
|
gllm_core/utils/similarity.pyi,sha256=HmSxE5VfPwYZYih_bSIz8QRDbkouO_jij-FX6TSCEdM,439
|
|
39
39
|
gllm_core/utils/validation.pyi,sha256=-RdMmb8afH7F7q4Ao7x6FbwaDfxUHn3hA3WiOgzB-3s,397
|
|
40
40
|
gllm_core.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
41
|
-
gllm_core_binary-0.4.
|
|
42
|
-
gllm_core_binary-0.4.
|
|
43
|
-
gllm_core_binary-0.4.
|
|
44
|
-
gllm_core_binary-0.4.
|
|
41
|
+
gllm_core_binary-0.4.4.post1.dist-info/METADATA,sha256=HBgiqVeIkwIWw7VFOHKJDksn9gHBm8oyhKZuzy8LJRg,4663
|
|
42
|
+
gllm_core_binary-0.4.4.post1.dist-info/WHEEL,sha256=x5rgv--I0NI0IT1Lh9tN1VG2cI637p3deednwYLKnxc,96
|
|
43
|
+
gllm_core_binary-0.4.4.post1.dist-info/top_level.txt,sha256=UYoTGvK_Yec95-_QUuVCKEr6PUXb5Lc7Dr-x8SeX9uM,10
|
|
44
|
+
gllm_core_binary-0.4.4.post1.dist-info/RECORD,,
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: gllm-core-binary
|
|
3
|
-
Version: 0.4.4b3
|
|
4
|
-
Summary: A library containing core components for Gen AI applications.
|
|
5
|
-
Author-email: Dimitrij Ray <dimitrij.ray@gdplabs.id>, Henry Wicaksono <henry.wicaksono@gdplabs.id>, Resti Febriana <resti.febriana@gdplabs.id>
|
|
6
|
-
Requires-Python: <3.14,>=3.11
|
|
7
|
-
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: poetry<3.0.0,>=2.1.3
|
|
9
|
-
Requires-Dist: anyio<5.0.0,>=4.10.0
|
|
10
|
-
Requires-Dist: deprecation<3.0.0,>=2.1.0
|
|
11
|
-
Requires-Dist: google<4.0.0,>=3.0.0
|
|
12
|
-
Requires-Dist: google-auth<3.0.0,>=2.38.0
|
|
13
|
-
Requires-Dist: gspread<7.0.0,>=6.1.4
|
|
14
|
-
Requires-Dist: numpy<2.0.0,>=1.26; python_version < "3.12"
|
|
15
|
-
Requires-Dist: numpy<3.0.0,>=1.26; python_version >= "3.12" and python_version < "3.13"
|
|
16
|
-
Requires-Dist: numpy<3.0.0,>=2.2; python_version >= "3.13"
|
|
17
|
-
Requires-Dist: pydantic<3.0.0,>=2.11.4
|
|
18
|
-
Requires-Dist: python-json-logger<4.0.0,>=3.3.0
|
|
19
|
-
Requires-Dist: rich<15.0.0,>=14.1.0
|
|
20
|
-
Requires-Dist: scipy<2.0.0,>=1.15.1
|
|
21
|
-
Requires-Dist: virtualenv==20.30.0
|
|
22
|
-
Provides-Extra: dev
|
|
23
|
-
Requires-Dist: coverage<8.0.0,>=7.4.4; extra == "dev"
|
|
24
|
-
Requires-Dist: mypy<2.0.0,>=1.15.0; extra == "dev"
|
|
25
|
-
Requires-Dist: pre-commit<4.0.0,>=3.7.0; extra == "dev"
|
|
26
|
-
Requires-Dist: pytest<9.0.0,>=8.1.1; extra == "dev"
|
|
27
|
-
Requires-Dist: pytest-asyncio<1.0.0,>=0.23.6; extra == "dev"
|
|
28
|
-
Requires-Dist: pytest-cov<6.0.0,>=5.0.0; extra == "dev"
|
|
29
|
-
Requires-Dist: ruff<1.0.0,>=0.6.7; extra == "dev"
|
|
30
|
-
Provides-Extra: langchain
|
|
31
|
-
Requires-Dist: langchain-core<1.0.0,>=0.3.0; extra == "langchain"
|
|
32
|
-
Provides-Extra: google-adk
|
|
33
|
-
Requires-Dist: google-adk<2.0.0,>=1.0.0; extra == "google-adk"
|
|
34
|
-
Requires-Dist: starlette<1.0.0,>=0.49.0; extra == "google-adk"
|
|
35
|
-
|
|
36
|
-
# GLLM Core
|
|
37
|
-
|
|
38
|
-
## Description
|
|
39
|
-
|
|
40
|
-
A core library providing foundational components and utilities for Generative AI applications.
|
|
41
|
-
|
|
42
|
-
## Installation
|
|
43
|
-
|
|
44
|
-
### Prerequisites
|
|
45
|
-
1. Python 3.11+ - [Install here](https://www.python.org/downloads/)
|
|
46
|
-
2. Pip (if using Pip) - [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
47
|
-
3. Poetry 2.1.4+ - [Install here](https://python-poetry.org/docs/#installation)
|
|
48
|
-
4. Git (if using Git) - [Install here](https://git-scm.com/downloads)
|
|
49
|
-
5. gcloud CLI (for authentication) - [Install here](https://cloud.google.com/sdk/docs/install)
|
|
50
|
-
6. For git installation, access to the [GDP Labs SDK github repository](https://github.com/GDP-ADMIN/gl-sdk)
|
|
51
|
-
|
|
52
|
-
### 1. Installation from Artifact Registry
|
|
53
|
-
Choose one of the following methods to install the package:
|
|
54
|
-
|
|
55
|
-
#### Using pip
|
|
56
|
-
```bash
|
|
57
|
-
pip install gllm-core-binary
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
#### Using Poetry
|
|
61
|
-
```bash
|
|
62
|
-
poetry add gllm-core-binary
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### 2. Development Installation (Git)
|
|
66
|
-
For development purposes, you can install directly from the Git repository:
|
|
67
|
-
```bash
|
|
68
|
-
git clone git@github.com:GDP-ADMIN/gl-sdk.git
|
|
69
|
-
cd gl-sdk/libs/gllm-core
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Local Development Setup
|
|
73
|
-
|
|
74
|
-
### Quick Setup (Recommended)
|
|
75
|
-
For local development with editable gllm packages, use the provided Makefile:
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
|
|
79
|
-
make setup
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
The following are the available Makefile targets:
|
|
83
|
-
|
|
84
|
-
1. `make setup` - Complete development setup (recommended for new developers)
|
|
85
|
-
2. `make install-poetry` - Install or upgrade Poetry to the latest version
|
|
86
|
-
3. `make auth` - Configure authentication for internal repositories
|
|
87
|
-
4. `make install` - Install all dependencies
|
|
88
|
-
5. `make install-pre-commit` - Set up pre-commit hooks
|
|
89
|
-
6. `make update` - Update dependencies
|
|
90
|
-
|
|
91
|
-
### Manual Development Setup (Legacy)
|
|
92
|
-
If you prefer to manage dependencies manually:
|
|
93
|
-
|
|
94
|
-
1. Go to root folder of `gllm-core` module, e.g. `cd libs/gllm-core`.
|
|
95
|
-
2. Run `poetry shell` to create a virtual environment.
|
|
96
|
-
3. Run `poetry lock` to create a lock file if you haven't done it yet.
|
|
97
|
-
4. Run `poetry install` to install the `gllm-core` requirements for the first time.
|
|
98
|
-
5. Run `poetry update` if you update any dependency module version at `pyproject.toml`.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## Contributing
|
|
102
|
-
Please refer to this [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
|
|
103
|
-
to get information about code style, documentation standard, and SCA that you need to use when contributing to this project
|
|
104
|
-
|
|
105
|
-
### Getting Started with Development
|
|
106
|
-
1. Clone the repository and navigate to the gllm-core directory
|
|
107
|
-
2. Run `make setup` to set up your development environment
|
|
108
|
-
3. Run `which python` to get the path to be referenced at Visual Studio Code interpreter path (`Ctrl`+`Shift`+`P` or `Cmd`+`Shift`+`P`)
|
|
109
|
-
4. Try running the unit test to see if it's working:
|
|
110
|
-
```bash
|
|
111
|
-
poetry run pytest -s tests/unit_tests/
|
|
112
|
-
```
|
|
113
|
-
5. When you want to update the dependencies, run `make update`
|
|
File without changes
|
|
File without changes
|