Skip to main content

uproot extension for reading custom classes

Project description

Introduction

uproot-custom is an extension of uproot that provides an enhanced way to read custom classes stored in TTree.

When to use uproot-custom

uproot-custom aims to handle cases that classes are too complex for uproot to read, such as when their Streamer methods are overridden or some specific data members are not supported by uproot.

How uproot-custom works

uproot-custom uses a reader/factory mechanism to read classes:

  • reader is a C++ class that implements the logic to read data from binary buffers.
  • factory is a Python class that creates, combines readers, and post-processes the data read by readers.

This machanism is implemented as uproot_custom.AsCustom interpretation. uproot-custom wraps uproot.interpretation.identify.interpretation_of method to intercept the interpretation of specific branches. This makes uproot-custom well compatible with uproot.

[!TIP] Users can implement their own factory and reader, register them to uproot-custom. An example of implementing a custom factory/reader can be found in the repository.

[!NOTE] uproot-custom does not provide a full reimplementation of ROOT's I/O system. Users are expected to implement their own factory/reader for their custom classes that built-in factories cannot handle.

Documentation

View the documentation for more details about customizing your own reader/factory, and the architecture of uproot-custom.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uproot_custom-2.0.0.dev0.tar.gz (125.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

uproot_custom-2.0.0.dev0-cp313-cp313-win_amd64.whl (146.4 kB view details)

Uploaded CPython 3.13Windows x86-64

uproot_custom-2.0.0.dev0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (179.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

uproot_custom-2.0.0.dev0-cp313-cp313-macosx_11_0_arm64.whl (146.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

uproot_custom-2.0.0.dev0-cp312-cp312-win_amd64.whl (146.4 kB view details)

Uploaded CPython 3.12Windows x86-64

uproot_custom-2.0.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (180.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

uproot_custom-2.0.0.dev0-cp312-cp312-macosx_11_0_arm64.whl (146.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

uproot_custom-2.0.0.dev0-cp311-cp311-win_amd64.whl (145.5 kB view details)

Uploaded CPython 3.11Windows x86-64

uproot_custom-2.0.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (179.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

uproot_custom-2.0.0.dev0-cp311-cp311-macosx_11_0_arm64.whl (145.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

uproot_custom-2.0.0.dev0-cp310-cp310-win_amd64.whl (145.2 kB view details)

Uploaded CPython 3.10Windows x86-64

uproot_custom-2.0.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (178.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

uproot_custom-2.0.0.dev0-cp310-cp310-macosx_11_0_arm64.whl (144.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

uproot_custom-2.0.0.dev0-cp39-cp39-win_amd64.whl (144.9 kB view details)

Uploaded CPython 3.9Windows x86-64

uproot_custom-2.0.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (178.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

uproot_custom-2.0.0.dev0-cp39-cp39-macosx_11_0_arm64.whl (144.6 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file uproot_custom-2.0.0.dev0.tar.gz.

File metadata

  • Download URL: uproot_custom-2.0.0.dev0.tar.gz
  • Upload date:
  • Size: 125.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for uproot_custom-2.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 22592c7db4b3c9ac67c1759209916885cd9c8c60591ec6eda3068ff6316429dc
MD5 98ad1d11b197fbb57ff4692f0fb84428
BLAKE2b-256 276fa22aaaf40ac00dff8823c4d7a48c2b28b8842065efb95f2166ab11fb5e3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0.tar.gz:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dc05fbf7e60503e9560b539e8d0623fee2ac219e2d2793eda20945d23f7a9a81
MD5 2d589e5e41ed27e524002350aa52cfb7
BLAKE2b-256 e5cbf89d08e64a6a688774e6cab86be25b6b75cb3a6f77799d0f1381a2cc0e8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp313-cp313-win_amd64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6f5b16ca4616b6f2767ad40447fb06f721dafc988262f58f8deeb5fc7fe3a28
MD5 03e726bad5418f2389fe50084d933a23
BLAKE2b-256 ab5e3ed495ec393ea24574bb46b9b496d5fdcea3b9839af1fecf2c06f1366556

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fb01de5dbb7b89741a62765b5dec8b5e51ad64cf4200eaa3463cb09e310cb8d
MD5 c0d470d1dfda422b6813a550a6b2260b
BLAKE2b-256 d7eaf02e5107272b6832a60b5315aa389fbdcfa81d2192e5d10fba95024f0100

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bb69a5a6d03afefba0d9f24f48a6069fda5fec7ec8743c692e0948ac494fe8af
MD5 a026f3ecca6d8b44f3529b7afd0cf5de
BLAKE2b-256 01ee782a743b4836feabbbbbc437bf0104f3a917e1984ba606ac6d8362785fa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp312-cp312-win_amd64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ceb3f3079f51a3b568ae31ecd9d7642960e8941a0567b19ed44b29016e166588
MD5 e62f34cf358d95d1458c08a84607622f
BLAKE2b-256 6684b47f01478d9af793103424bdab63eeae1b7e57d4c7253720ca9abcdcb510

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f68f1982014d2c04509b0edde7cd241aa5462f9a45b02e22dd0d343b5641de68
MD5 a9515cbffee385955198dd5b45716cee
BLAKE2b-256 ab5427c22b5d77d016eea8c4c00d8e628b7b012b750d24339342d7695e2289a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 038898ddd29546a1e6eb33b3bc699d39e9e7936248e65badce0bfff049f195c4
MD5 d17f730cac2fb290fd0db406e8bd38c8
BLAKE2b-256 058bad17dc02d92ef55d15c6e93834c518364841d37c927fa458fff35f5c2bb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp311-cp311-win_amd64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 444fb0f1ba5908b1b1d668923bd9453075a8d42f3d17d10adc70ba82b038252d
MD5 9e8716a36a4e29dd077fa6b1e6f09a7e
BLAKE2b-256 5e17ef7741c76f03797b487cf606cbf677802de025ac13e01f48532c6227d39b

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c7bd1ff133e474036dd70f93505cccfff93cbc63c563562a742eff223558142
MD5 86420d6f3dfe2442a310c8e8842a41a1
BLAKE2b-256 f59786e3ccf0b873abfde6ddbbd0a98b7be731ffe0b1899bdafde6e098db173a

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0bfb3e6c5e4ac70cdac78ae3f16122c0f6f75ccde487e5969187a0572d9ee88d
MD5 d978c7e6577d49545a2512eb6060ca4f
BLAKE2b-256 c23b4f6007b66ce67e8743a794723c92a20dab7d14e4ae24c2344db785d7fc30

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp310-cp310-win_amd64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab941f8049a03dbd7e24c986b2e73e62dae1f598b406d2bc47676ca968cbaf2a
MD5 d16ffa10a6a09e3b26c60dcafd374b01
BLAKE2b-256 f42478d0a44eb5cb61137cde48bde6749d7bd8ddd17898dd6c554f7c01d9a6fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9f8bf23ece743425239ed092050a7d01ae8d6e202383f115931ffae0ac47401
MD5 f82d78134f0e45da2d0b8f15ddb3b744
BLAKE2b-256 b26aff254ae8cf04969448f64146fc96f442b0fe68025812dc4a52f028be4cba

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b0ad24e8758ccf0d5e444cd894fb59253a4f0f769010728b1c0745c4a6dd4633
MD5 35f2c7c92c9c15b9e25f664893f8a191
BLAKE2b-256 18b0091a6f01082d1535eedf8aa46d9fac9b9fc108149e71b2fa4b10e4362f58

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp39-cp39-win_amd64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03984c4d8144265ccdc21b432cc74935307fa83002596fc38c37de24eed2aa48
MD5 8350c24d87ed81b7302d580857cc6542
BLAKE2b-256 2b9b3a790b56743a0db047878f378e662f6c05988fb660c1cdbffa67e0fd5bb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uproot_custom-2.0.0.dev0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0.dev0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c453c0459a774ad40982b0047f0315decd0fba6ad14353034ae67bfa0057bb25
MD5 ac0fab6118533b23c96a1ef87b3e0818
BLAKE2b-256 b76ff3109ee0adad97f69f7546344a6ad4ce9755c979715136d8046546b85d5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.dev0-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on mrzimu/uproot-custom

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