tellaro-query-language 0.1.0__tar.gz → 0.1.2__tar.gz
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.
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/PKG-INFO +14 -5
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/README.md +13 -3
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/pyproject.toml +2 -3
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/LICENSE +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/analyzer.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/cache/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/cache/base.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/cache/memory.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/cache/redis.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/README.md +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/file_operations.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/opensearch_operations.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/stats_operations.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/validation_operations.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/README.md +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/field_access.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/special_expressions.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/value_comparison.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/exceptions.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/geoip_normalizer.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutator_analyzer.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/base.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/dns.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/encoding.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/geo.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/list.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/network.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/security.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/mutators/string.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_components/README.md +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_components/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_components/field_mapping.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_components/lucene_converter.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_components/query_converter.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_mappings.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_stats.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/README.md +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/__init__.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/ast_builder.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/error_analyzer.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/field_extractor.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/grammar.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/post_processor.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/scripts.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/stats_evaluator.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/stats_transformer.py +0 -0
- {tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tellaro-query-language
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A flexible, human-friendly query language for searching and filtering structured data
|
|
5
5
|
Home-page: https://github.com/tellaro/tellaro-query-language
|
|
6
6
|
License: MIT
|
|
@@ -23,7 +23,6 @@ Requires-Dist: maxminddb (>=2.7.0,<3.0.0)
|
|
|
23
23
|
Requires-Dist: opensearch-dsl (>=2.1.0,<3.0.0) ; extra == "opensearch"
|
|
24
24
|
Requires-Dist: opensearch-py (>=2.4.2,<3.0.0) ; extra == "opensearch"
|
|
25
25
|
Requires-Dist: pyparsing (>=3.2.1,<4.0.0)
|
|
26
|
-
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0) ; extra == "opensearch"
|
|
27
26
|
Requires-Dist: setuptools (>=80.0.0,<81.0.0)
|
|
28
27
|
Project-URL: Documentation, https://github.com/tellaro/tellaro-query-language/tree/main/docs
|
|
29
28
|
Project-URL: Repository, https://github.com/tellaro/tellaro-query-language
|
|
@@ -194,24 +193,34 @@ print(f'Found {len(results)} people over 27: {results}')
|
|
|
194
193
|
# Output: Found 1 people over 27: [{'name': 'Alice', 'age': 30}]
|
|
195
194
|
```
|
|
196
195
|
|
|
196
|
+
For OpenSearch integration examples and production usage patterns, see the [Package Usage Guide](docs/package-usage-guide.md).
|
|
197
|
+
|
|
197
198
|
### Development Setup
|
|
198
199
|
|
|
200
|
+
For contributors and developers who want to work on TQL itself:
|
|
201
|
+
|
|
199
202
|
```bash
|
|
200
203
|
# Clone the repository
|
|
201
204
|
git clone https://github.com/tellaro/tellaro-query-language.git
|
|
202
205
|
cd tellaro-query-language
|
|
203
206
|
|
|
204
|
-
# Install with poetry
|
|
207
|
+
# Install with poetry (includes all dev dependencies)
|
|
205
208
|
poetry install
|
|
206
209
|
|
|
210
|
+
# Load environment variables for integration tests
|
|
211
|
+
cp .env.example .env
|
|
212
|
+
# Edit .env with your OpenSearch credentials
|
|
213
|
+
|
|
207
214
|
# Run tests
|
|
208
215
|
poetry run tests
|
|
209
216
|
```
|
|
210
217
|
|
|
218
|
+
**Note**: The development setup uses `python-dotenv` to load OpenSearch credentials from `.env` files for integration testing. This is NOT required when using TQL as a package - see the [Package Usage Guide](docs/package-usage-guide.md) for production configuration patterns.
|
|
219
|
+
|
|
211
220
|
### File Operations
|
|
212
221
|
|
|
213
222
|
```python
|
|
214
|
-
from
|
|
223
|
+
from tql import TQL
|
|
215
224
|
|
|
216
225
|
# Query JSON files directly
|
|
217
226
|
tql = TQL()
|
|
@@ -233,7 +242,7 @@ print(fields) # ['process.name', 'user.groups', 'user.id']
|
|
|
233
242
|
TQL provides context-aware query analysis to help you understand performance implications before execution:
|
|
234
243
|
|
|
235
244
|
```python
|
|
236
|
-
from
|
|
245
|
+
from tql import TQL
|
|
237
246
|
|
|
238
247
|
tql = TQL()
|
|
239
248
|
|
|
@@ -163,24 +163,34 @@ print(f'Found {len(results)} people over 27: {results}')
|
|
|
163
163
|
# Output: Found 1 people over 27: [{'name': 'Alice', 'age': 30}]
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
+
For OpenSearch integration examples and production usage patterns, see the [Package Usage Guide](docs/package-usage-guide.md).
|
|
167
|
+
|
|
166
168
|
### Development Setup
|
|
167
169
|
|
|
170
|
+
For contributors and developers who want to work on TQL itself:
|
|
171
|
+
|
|
168
172
|
```bash
|
|
169
173
|
# Clone the repository
|
|
170
174
|
git clone https://github.com/tellaro/tellaro-query-language.git
|
|
171
175
|
cd tellaro-query-language
|
|
172
176
|
|
|
173
|
-
# Install with poetry
|
|
177
|
+
# Install with poetry (includes all dev dependencies)
|
|
174
178
|
poetry install
|
|
175
179
|
|
|
180
|
+
# Load environment variables for integration tests
|
|
181
|
+
cp .env.example .env
|
|
182
|
+
# Edit .env with your OpenSearch credentials
|
|
183
|
+
|
|
176
184
|
# Run tests
|
|
177
185
|
poetry run tests
|
|
178
186
|
```
|
|
179
187
|
|
|
188
|
+
**Note**: The development setup uses `python-dotenv` to load OpenSearch credentials from `.env` files for integration testing. This is NOT required when using TQL as a package - see the [Package Usage Guide](docs/package-usage-guide.md) for production configuration patterns.
|
|
189
|
+
|
|
180
190
|
### File Operations
|
|
181
191
|
|
|
182
192
|
```python
|
|
183
|
-
from
|
|
193
|
+
from tql import TQL
|
|
184
194
|
|
|
185
195
|
# Query JSON files directly
|
|
186
196
|
tql = TQL()
|
|
@@ -202,7 +212,7 @@ print(fields) # ['process.name', 'user.groups', 'user.id']
|
|
|
202
212
|
TQL provides context-aware query analysis to help you understand performance implications before execution:
|
|
203
213
|
|
|
204
214
|
```python
|
|
205
|
-
from
|
|
215
|
+
from tql import TQL
|
|
206
216
|
|
|
207
217
|
tql = TQL()
|
|
208
218
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "tellaro-query-language"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "A flexible, human-friendly query language for searching and filtering structured data"
|
|
5
5
|
authors = ["Justin Henderson <justin@tellaro.io>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -38,11 +38,10 @@ setuptools = "^80.0.0"
|
|
|
38
38
|
dnspython = "^2.7.0"
|
|
39
39
|
opensearch-py = {version = "^2.4.2", optional = true}
|
|
40
40
|
opensearch-dsl = {version = "^2.1.0", optional = true}
|
|
41
|
-
python-dotenv = {version = "^1.0.1", optional = true}
|
|
42
41
|
maxminddb = "^2.7.0"
|
|
43
42
|
|
|
44
43
|
[tool.poetry.extras]
|
|
45
|
-
opensearch = ["opensearch-py", "opensearch-dsl"
|
|
44
|
+
opensearch = ["opensearch-py", "opensearch-dsl"]
|
|
46
45
|
|
|
47
46
|
[tool.poetry.group.dev.dependencies]
|
|
48
47
|
flake8 = ">=7.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/README.md
RENAMED
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/core_components/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/evaluator_components/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/opensearch_mappings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/README.md
RENAMED
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tellaro_query_language-0.1.0 → tellaro_query_language-0.1.2}/src/tql/parser_components/grammar.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|