Skip to main content

Extract metadata from raw datafiles instruments within the MBDB

Project description

mbdb-parsing

Description

Set of processors for InvenioRDM/OArepo style repository that allows for extraction and conversion of metadata from raw measurements files. See below for the list of supported file types.

MST

  • .moc
  • .moc2
  • .xlsx

Requirements

  • Python >=3.12

Installation

pip install mbdb-parsing

Or add mbdb-parsing to the dependencies inside the app's pyproject.toml:

[project]
dependencies = [
    "mbdb-parsing",
]

Configuration

The processors should be placed inside FileServiceConfig(s) objects:

from invenio_records_resources.services import FileServiceConfig
from oarepo_runtime.services.config.service import PermissionsPresetsConfigMixin

from mbdb_parsing.mst import MocProcessor, XlxsProcessor


class MstFilesServiceConfig(PermissionsPresetsConfigMixin, FileServiceConfig):
    file_processors = [
        MocProcessor(),
        XlxsProcessor(),
    ]
    components = [
        *PermissionsPresetsConfigMixin.components,
        *FileServiceConfig.components,
    ]

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

mbdb_parsing-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

mbdb_parsing-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file mbdb_parsing-0.1.1.tar.gz.

File metadata

  • Download URL: mbdb_parsing-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mbdb_parsing-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee9454b77945096f77bcaeebd3b86347f19c298f0310899914774f44822bc18e
MD5 ab049ddead653ab2cc5afa198c48ad0b
BLAKE2b-256 01b86df3e2106115102f5ecaed9abf858c001fb9f8b29e5f3483a9bf72168db3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mbdb_parsing-0.1.1.tar.gz:

Publisher: publish_to_pypi.yaml on Molecular-Biophysics-Database/mbdb-parsing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mbdb_parsing-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mbdb_parsing-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mbdb_parsing-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dbfc0ce1acce768c07d95118e6b48c1a5366263a98cbad0b1fab6f38ac332cd
MD5 68e3c7cdc27ab99c6f79130f9ba23255
BLAKE2b-256 769d30dcfc828a78fcf87ced82aa274ecd409f8b9b334fc2781dbc35a85c3357

See more details on using hashes here.

Provenance

The following attestation bundles were made for mbdb_parsing-0.1.1-py3-none-any.whl:

Publisher: publish_to_pypi.yaml on Molecular-Biophysics-Database/mbdb-parsing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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