Metadata Extractor - part of the Micro Content Management system (MCM)
extracts metadata from various file types. reads files from swift and writes structured metadata back
is currently done by setting parameters in
mcm/retentionManager/appConfig.py
packages required:
sudo apt install libjpeg9 librdkafka1
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
in the main directory
. setenv.sh
python Tester.py
(or any other class...)
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