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.0.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.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbdb_parsing-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8d88588f7719f6f7de6a2522bf8ce457ceba388f72653c1a3bcf72dbbef8c94f
MD5 3729dd7336cc002a8b6ef00dd5d42030
BLAKE2b-256 b886b48be3553616958773cefae7fd590aaaef167537f24255e8d611add906f4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mbdb_parsing-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd7c3133dd5551eb8e545ae662c355bb571c2e64d3ae2d50ffb3576cdbd8a83c
MD5 dc9e6164f04cda2a30dadd595255123c
BLAKE2b-256 33e461d971de9016517a0c28afc760354c56425e43af1d4ceea37d0c833d8568

See more details on using hashes here.

Provenance

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