Skip to content

Part of osecm/sdos. extracts metadata from various file types. reads files from swift and writes structured metadata back

License

Notifications You must be signed in to change notification settings

sdos/metadata-extractor

Repository files navigation

mcm-metadataExtractor

Metadata Extractor - part of the Micro Content Management system (MCM)

This repo contains the metadata extractor.

extracts metadata from various file types. reads files from swift and writes structured metadata back

configuration

is currently done by setting parameters in

 mcm/retentionManager/appConfig.py

Dev setup

Requirements

packages required:

sudo apt install libjpeg9 librdkafka1

first setup after new checkout

make sure to specify a python 3 or higher interpreter for your virtualenv (MCM doesn't support python 2) in the main directory

virtualenv venvMcmExtractor
. setenv.sh
(included in setenv) source venvMcmExtractor/bin/activate
pip install -r requirements.txt

to leave venv

deactivate

running after first setup

in the main directory

. setenv.sh
python Tester.py
(or any other class...)

use pip to install requirements

just install the existing reqs

pip install -r requirements.txt

install new packages

pip install <package>

save new packages to requirements:

pip freeze --local > requirements.txt

update existing packages

pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U
pip freeze --local > requirements.txt

About

Part of osecm/sdos. extracts metadata from various file types. reads files from swift and writes structured metadata back

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published