Framework for modular extraction information.
Project description
evidencer
Work In Progress
import evidencer
import os
e = evidencer.Evidencer()
# Add directory with custom extractors plugins
e.append_extractors_plugin_directory("test_extractors")
# Add directory with custom extractors pre configurations
e.append_extractors_pre_configurations_directory("test_extractor_pre_configurations")
extractions = e.extract_by_file(os.path.join("test_user_configurations", "with_pre_configuration.json"))
for extraction_key, extraction in extractions.items():
print("%s: %s" % (extraction.result.label, extraction.result.value))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
evidencer-0.2.tar.gz
(2.9 kB
view hashes)