File: ziparchiveexpander.cfg

package info (click to toggle)
python-stetl 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 90,360 kB
  • sloc: python: 5,618; xml: 707; sql: 430; makefile: 147; sh: 71
file content (36 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Config file for unit testing ZipArchiveExpander.

[etl]
chains = input_zip_file|extract_zip_file|expand_zip_archive|output_std,
		input_vsizip_file|extract_vsizip_file|expand_zip_archive|output_std

[input_zip_file]
class = stetl.inputs.fileinput.ZipFileInput
file_path = tests/data/ziparchiveinput.zip
name_filter = 9999LIG*.zip

[input_vsizip_file]
class = stetl.inputs.fileinput.VsiZipFileInput
file_path = tests/data/ziparchiveinput.zip
name_filter = 9999WPL*.zip

# Filter to extract a ZIP file one by one to a temporary location
[extract_zip_file]
class = stetl.filters.fileextractor.ZipFileExtractor
file_path = tests/data/temp/tempfile.zip

# Filter to extract a ZIP file one by one to a temporary location
[extract_vsizip_file]
class = stetl.filters.fileextractor.VsiFileExtractor
file_path = tests/data/temp/tempfile.zip
buffer_size = 1000

# Filter to expand a ZIP archive to a configured target dir
[expand_zip_archive]
class = stetl.filters.archiveexpander.ZipArchiveExpander
target_dir = tests/data/temp/temp_dir
remove_input_file = False
clear_target_dir = False

[output_std]
class = stetl.outputs.standardoutput.StandardOutput