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.0.tar.gz (2.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.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbdb_parsing-0.1.0.tar.gz
  • Upload date:
  • Size: 2.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.0.tar.gz
Algorithm Hash digest
SHA256 663d3f1cbd21402eda7f8ceae72d5972a10577df297fddc64833975dac61d5ff
MD5 aabb1be0e99ff17c3e240c191cd403d5
BLAKE2b-256 95eff5ec2b283406d33c1564e44e9f0e9fb5670aa2a7d911f4ddfc7edec41317

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mbdb_parsing-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152f961a18fb5cfe85236ca1e598534a9070485be3adbb82ccd42a36ae6b3302
MD5 e1a7d7190683e265bcaab001661354d1
BLAKE2b-256 47292132796485381ee69ecf7f07908dadceae9aa026ea6d9fbf02cb55720d69

See more details on using hashes here.

Provenance

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