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.2.1.tar.gz (5.8 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.2.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbdb_parsing-0.2.1.tar.gz
  • Upload date:
  • Size: 5.8 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.2.1.tar.gz
Algorithm Hash digest
SHA256 e731c465b18f64de0479a1ba3d0a4105a938427eaca0551a4baeba9609cc313c
MD5 e6e0ac55e43833c07a93acdc8a73fede
BLAKE2b-256 e22a18038bacc14fc8d7b280604ffc118a20f4cf1329a6b0f0e4944ee75f3c17

See more details on using hashes here.

Provenance

The following attestation bundles were made for mbdb_parsing-0.2.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: mbdb_parsing-0.2.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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d585bb544263530d507238fa7511ca2f7a9a573190f4e9288c3c68e431ff373e
MD5 3ce901fffb7bd6a739148033d858c46b
BLAKE2b-256 a16d86cce463b8bbc5830d6a5118069ba9d78bf5610bc23585c4b38f5f0d3967

See more details on using hashes here.

Provenance

The following attestation bundles were made for mbdb_parsing-0.2.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