No project description provided
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdata-0.3.7.tar.gz.
File metadata
- Download URL: mdata-0.3.7.tar.gz
- Upload date:
- Size: 247.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b77c8aa095a81c367e73ba59c5d12b372e435a66e71fd19e0b43daa7335f1e00
|
|
| MD5 |
fbdd1e3a089b5803e39bf846492bf8d8
|
|
| BLAKE2b-256 |
5834bd7bcf293732cdf5b33b82a2e38f81d7cac04b926e515cc879ebad99267e
|
File details
Details for the file mdata-0.3.7-py3-none-any.whl.
File metadata
- Download URL: mdata-0.3.7-py3-none-any.whl
- Upload date:
- Size: 84.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed04568e87334f04216bf8093fd063435c7dfaad788b581a361934cfc8452eb0
|
|
| MD5 |
8d0be214db8140223ce7b0133003cd19
|
|
| BLAKE2b-256 |
bcd7bb12b5ebd09e19cffa4bdfd2ac149f6845daf67126deee276fb59dda6f52
|