You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ```SQLDisplayFilter``` allows filtering a SQL database table.
149
154
150
155
**Example:**
156
+
151
157
```python
152
-
frompydictdisplayfilterimport SQLDisplayFilter
158
+
frompydfqlimport SQLDisplayFilter
153
159
import sqlite3
154
160
155
161
database_file ='./data/sqlite_example.sqlite'
@@ -163,7 +169,7 @@ print(filtered_data)
163
169
164
170
## 4. Query Language
165
171
166
-
The query language in the python-dict-display-filter library provides a wide range of operations, comparisons, and
172
+
The query language provides a wide range of operations, comparisons, and
167
173
logical operators to help retrieving the desired subset of data.
168
174
This section introduces the query language and its components, including fields, comparisons, field types,
169
175
combining expressions, slice operator, membership operator, and functions.
@@ -401,7 +407,7 @@ The display filter language has a number of functions to convert fields:
401
407
## 5. Examples
402
408
403
409
In this section, we will walk through various examples to demonstrate the practical usage of the
404
-
python-dictionary-display-filter.
410
+
```pydfql```.
405
411
406
412
### 5.1 CSV Display Filter
407
413
@@ -428,7 +434,7 @@ Neo | 35 | male | False
428
434
1 row in set (0.01 secs)
429
435
```
430
436
431
-
See <ahref="https://github.com/bytebutcher/python-dict-display-filter/raw/main/examples/csv_display_filter.py">examples/csv_display_filter.py</a> for implementation details.
437
+
See <ahref="https://github.com/bytebutcher/pydfql/raw/main/examples/csv_display_filter.py">examples/csv_display_filter.py</a> for implementation details.
432
438
433
439
434
440
### 5.2 JSON Display Filter
@@ -453,7 +459,7 @@ age.born
453
459
1 row in set (0.01 secs)
454
460
```
455
461
456
-
See <ahref="https://github.com/bytebutcher/python-dict-display-filter/raw/main/examples/json_display_filter.py">examples/json_display_filter.py</a> for implementation details.
462
+
See <ahref="https://github.com/bytebutcher/pydfql/raw/main/examples/json_display_filter.py">examples/json_display_filter.py</a> for implementation details.
457
463
458
464
### 5.3 Nmap Display Filter
459
465
@@ -495,7 +501,7 @@ host | port | protocol | status | service
495
501
6 rows in set (0.01 secs)
496
502
```
497
503
498
-
See <ahref="https://github.com/bytebutcher/python-dict-display-filter/raw/main/examples/nmap_display_filter.py">examples/nmap_display_filter.py</a> for implementation details.
504
+
See <ahref="https://github.com/bytebutcher/pydfql/raw/main/examples/nmap_display_filter.py">examples/nmap_display_filter.py</a> for implementation details.
See <ahref="https://github.com/bytebutcher/python-dict-display-filter/raw/main/examples/sqlite_display_filter.py">examples/sqlite_display_filter.py</a> for implementation details.
540
+
See <ahref="https://github.com/bytebutcher/pydfql/raw/main/examples/sqlite_display_filter.py">examples/sqlite_display_filter.py</a> for implementation details.
0 commit comments