Skip to main content

Command-line to read metadata produced by FME scripts of Isogeo Scan, convert it into Isogeo model, apply rules and export it to a database or Isogeo.

Project description

Isogeo Scan - Metadata Processor

Build Status

PyPI PyPI - Python Version

Documentation: sphinx Code style: black

Middleware used to process metadata issued by Isogeo Scan.

Available as:

  • Python package
  • Windows executable

Requirements

  • Python 3.7

Development

Quickstart

# create virtual env
py -3.7 -m venv .venv
# activate it
.\.venv\Scripts\activate
# update basic tooling
python -m pip install -U pip setuptools wheel
# install requirements
python -m pip install -U -r ./requirements.txt
# install package for development
python -m pip install --editable .

Try it

  1. Rename the .env.example into .env and fill the settings
  2. Launch the CLI

For example, get the help:

scan-metadata-processor --help

Check:

# for all default formats
scan-metadata-processor --label "CheckProcessConfig" --settings .\.env check

Process metadata:

scan-metadata-processor --label "ProcessInputMetadata" --settings .\.env process

There is also a clean task to automatically remove outdated logs and output files:

scan-metadata-processor --label "CleanLogs" --settings .\.env clean

Usage of the executable

Just replace scan-metadata-processor by the executable filename:

.\Isogeo_ScanMetadataProcessor.exe --label "ProcessInputMetadata" --settings .\.env process

Deployment

Every tagged commit pushed to master triggers a deployment to:

  • Azure Storage : Isogeo/isogeoscan/app/isogeo-scan-metadata-processor/
  • Python Package Index
  • Github Releases

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isogeo-scan-metadata-processor-1.0.5.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isogeo_scan_metadata_processor-1.0.5-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file isogeo-scan-metadata-processor-1.0.5.tar.gz.

File metadata

  • Download URL: isogeo-scan-metadata-processor-1.0.5.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for isogeo-scan-metadata-processor-1.0.5.tar.gz
Algorithm Hash digest
SHA256 87769eed3eb4b61b42501a32e5fc5d91b3e7d464dbd59f79119bd9ae7e81f2de
MD5 4493672ea8efc1d5899cb7f124c30e6c
BLAKE2b-256 b43b5c629cd80e3e1b0a013b82e452294231ca61de27191f7bcf81026308b5d0

See more details on using hashes here.

File details

Details for the file isogeo_scan_metadata_processor-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: isogeo_scan_metadata_processor-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for isogeo_scan_metadata_processor-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3dedda38d2b81e3ec297306efa621d2a834a685b11031952a915ff93be5ca9d4
MD5 8b9c7aba521d4e1b474fc31cf1926553
BLAKE2b-256 a4b96a0b4618d261d9c6e30984518315d55d4217042e9f3cfe87c5b35114f093

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page