Parser for *.cubex files
Project description
Parser for cubex files
cubex file format
anchor.xml- contains
cnodesmetricsregionssystem_tree_nodeslocationgroupslocations
- contains
index.0- the
0stands for the metric ID - contains
- a header
- "1"
- a "1" encoded as a
- endianness
- the number of
cnodesin thedata.0file
- "1"
- a list of
cnodeindicescnode_indices = [c1, c2, ...]
- a header
- the
data.0- contains
- a header
- data for each
cnode_idincnode_indices- contains metric values for all
locations - to retrieve the value of a particular
cnodewithcnode_id, and a specificlocation_id- get index of
cnode_indexincnode_indices- = the position of the
cnode_idincnode_indices
- = the position of the
- offset in
data.0:cnode_index * num_locations + location_id- the
locationsall have incrementinglocation_ids
- the
- get index of
- Important: the list is sorted!
- not in the order of the XML
- contains metric values for all
- contains
Notes
- Requires at least Python version 3.5
- Contains
typingsas defined in PEP 484
- Contains
- The
cubexfiles aretararchives- :warning: ... when extracting them and parsing the extracted
0.datafiles using the low-levelIndexParser/DataParserdirectly, they will create strange behaviour- in the most cases, parsing succeeds but some edge-cases (related to endianness?) create problems
- :warning: ... when extracting them and parsing the extracted
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
pycube-parser-0.0.1.tar.gz
(10.2 kB
view details)
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 pycube-parser-0.0.1.tar.gz.
File metadata
- Download URL: pycube-parser-0.0.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20a5e7eac4b304e6d69db587f51d2d8f1d1dec4edff28bf9c8cad85bb31f2b77
|
|
| MD5 |
d59e904c7eab03056c2e6de1ad382d15
|
|
| BLAKE2b-256 |
8338d8bde68d3bbff5effdfbd506af42acca45bf339d11506cc6a3ca7133674d
|
File details
Details for the file pycube_parser-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pycube_parser-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61c475ad413875415013f7b07e4bad475c03a1a69080ba42065598fd41267f41
|
|
| MD5 |
74ddaf9245f9941a509e0bda63e369f6
|
|
| BLAKE2b-256 |
2ccc8e912585cdc60ed37f735390e6e0d0375be3db61675b6fd94a6d396defa0
|