Skip to main content

Parser for SLAC\'s Serial Input Output file format.

Project description

PySIO allows reading of SLAC's Serial Input Output format inside Python.

Only the reading of record headers are currently supported. The block payload is stored as (compressed) raw data.

Example

To iterate over all records in a file and print the record name:

import sio

fileName='muonGun_sim_MuColl_v1.slcio'
for record in sio.read_sio(fileName):
    print(record.name)

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

PySIO-0.1.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

PySIO-0.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file PySIO-0.1.1.tar.gz.

File metadata

  • Download URL: PySIO-0.1.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for PySIO-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7f897847148c7ca454e85511a3b5b77681b1fcb1a90ca2c6b3108f7583611f13
MD5 0148d8d825e36681f21995086c0904ae
BLAKE2b-256 ca4b4c6c9d8d0f1a67abe6b8fd6d67c06b0495439dfedf4351a3aa687d52f740

See more details on using hashes here.

File details

Details for the file PySIO-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: PySIO-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for PySIO-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09433ffdbf55ff68664d32f13ad21f4669445441820d07eaea92e8ebefb977ce
MD5 dc6f4cf14b2e3c6369f4089b02e38aac
BLAKE2b-256 5c4821e1e007f2e058e1ee4539cf93316fe6a790a226e973840e152be6064d1c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page