Skip to main content

This is the 'official' machine data/measurement and event data (MAED) format package.

It supports csv importing, exporting and format compliance checking. Machine data files can be parsed into a python object that provides typed views on the contained measurement and event timeseries.

Some (slightly out of date) examples:

validation.py in files/input/extension_testing

from mdata.core import as_v2
from mdata.io import write_machine_data_v2, read_machine_data_zip, write_machine_data_zip
from mdata.io.util import HeaderFileFormats, mk_canon_filenames_v2

md = read_machine_data_zip('md.zip', header_format=HeaderFileFormats.CSV)
write_machine_data_zip('md_test.zip', md, header_format=HeaderFileFormats.CSV)
write_machine_data_v2(mk_canon_filenames_v2('test/', header_format=HeaderFileFormats.CSV), md, header_format=HeaderFileFormats.CSV)

as_v2(md)

print(md.event_specs)
print(md.measurement_specs)
print(md.segment_specs)
print(md.segment_data_specs)
print()
print(md.observation_index)
print(md.segments.df)

Metadata

Release files for mdata 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdata 0.3.7
File Size Uploaded Provenance Actions
mdata-0.3.7.tar.gz 247.2 kB Without provenance Details for mdata-0.3.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mdata 0.3.7
File Interpreter ABI Platform Actions
mdata-0.3.7-py3-none-any.whl Python 3 none any Details for mdata-0.3.7-py3-none-any.whl

Total release size: 331.9 kB

Release files / mdata-0.3.7.tar.gz

Download URL mdata-0.3.7.tar.gz
Size 247.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b77c8aa095a81c367e73ba59c5d12b372e435a66e71fd19e0b43daa7335f1e00
BLAKE2b-256 checksum
How to use checksums
5834bd7bcf293732cdf5b33b82a2e38f81d7cac04b926e515cc879ebad99267e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Windows/10

Release files / mdata-0.3.7-py3-none-any.whl

Download URL mdata-0.3.7-py3-none-any.whl
Size 84.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed04568e87334f04216bf8093fd063435c7dfaad788b581a361934cfc8452eb0
BLAKE2b-256 checksum
How to use checksums
bcd7bb12b5ebd09e19cffa4bdfd2ac149f6845daf67126deee276fb59dda6f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Windows/10

Security for mdata 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page