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.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-cp313-cp313-win_amd64.whl (146.4 kB view details)

Uploaded CPython 3.13Windows x86-64

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

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

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

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

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

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

uproot_custom-2.0.0-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-cp39-cp39-macosx_11_0_arm64.whl (144.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: uproot_custom-2.0.0.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.tar.gz
Algorithm Hash digest
SHA256 328c0ed265e08afb95fde547f497018ba597f9cad4db2622d66ce505759b56f4
MD5 374533082f0d2d442ed58aa718415675
BLAKE2b-256 9657ce1e98ccfbdcb9746686d7a51a4098e293f94f1eef0c3cf3233c9007d4da

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0.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-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4aa576432eb34210cdc9a2b00cd2758af28f2a88d8229600a6e28880f734039f
MD5 9d1b97191af0db10e6f32a8ba287d0dc
BLAKE2b-256 3102fa17ba9d1a6c4a0e4fc24ed2d4422509e643f9d3accd669acfa15fb267da

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 179fc8ba0557794f017f3a29eacb2d0ddc1cea9bab9318c00e8d1f08c149848d
MD5 9c9a4ac4e69967e6b5af7d3e4fe01533
BLAKE2b-256 a8b253b5f10805f4016a7de5f1ba2fa6c3a98cad872d3c0b4a0cdf648893ca7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2a9023e8c5b94c272c40bed5a08d5d15c062ae8b2ef22c3458a120ddf13ae0d
MD5 2f70398ff24421a18f62849aaf974725
BLAKE2b-256 ec7f249c33b27a0e1c9f1d702984f54f5f942dd140acd3eb2d6105f1de988508

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ac16cdde7796a1b1a60d294208e9e4aa060f4abb5416e07cc410d00b62ed0314
MD5 7fdcefa5ece1e23811626b835792e4dd
BLAKE2b-256 bc665353b1e1ac6de16cdcf6a4cc9ac5fa3044069fb65e0684ded5b600360de9

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f647e172b775ec22d28926ac0fc44a77c125051d8ec188967b96988c9d2fedbf
MD5 774d6adf19a780c051e371961c71fc50
BLAKE2b-256 43d85976603dc2daf626cd979a41bbdf305998024eed0987ee35b7598f183a0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89710dc7fd6be2e28771028f6bc8e445649d5cdfdd84722a1ae116aa1ae80449
MD5 cae2c2b3384b2bec868a070f9b0ed659
BLAKE2b-256 44c7392f58dabec0620edd975733aec753c632b04191ab8713cf13d5a8be657f

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 96adc3643c6d9ac00f6c6b20d17c685023d15210bbc82a7009ee23bd50202207
MD5 ec171d8b03be6d5cfa2acfcb37828258
BLAKE2b-256 644f8de9e85b8169f30bf215aa9d9fca85a0fcb2ffd077e776baddc18d70d699

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a72bae81f2b5f03bf6dfe7eaf2759056c8af610f9e1b71af70c802f3fa7198a
MD5 20f6938a836a3220f4afa660fc04c753
BLAKE2b-256 0373bff018227e1c8469c9aa4e2b29a7821367773ca1693106af057fb52460e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ab3773e3a36ab1d58d02b0af3ec8d09da6830e7198ece9c92ad483aa41359ed
MD5 f194894a45fc0c0107d432212328397f
BLAKE2b-256 27c81056969d5d3618fba7663dbfbc467bf4f64cbf8ecd6884ec6387d396fd70

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 da519d07e9da9133f87c67d1464437c76f74eaf797edc9cae0cc47b4847dbdb5
MD5 7c4d1d8794fb18bd43261fc5685e750e
BLAKE2b-256 6a948f35ed70fc423921eecd1fee0ad5dcaaf63e7a6aae482d7eb6ab9d8a258c

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c4e6063273c0ade52d942a81bd28a6f8a042a2ad644834d880c3c426521c25c
MD5 91305ac6b115de9acfbf10a124aad781
BLAKE2b-256 a3a843796d86b0dc6111590361e5451c3aa169f7dd904ac39d8d7d015c052d25

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2198752863bceb024965cfd2b959651c2c729cb3e0b53b0d424362980a3c5306
MD5 fc8a22b09460930b8de523b6a9a9b0da
BLAKE2b-256 4de0dfe74df20452da480ee1347fceefcc928534e4b05b009afbfebaf09cd430

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6f88012adca3baee4048c78fee692632d3290b43617490c65bc8ebb4fd0a39f6
MD5 4673cc68c28d7887b323bfc50054dbee
BLAKE2b-256 be21905980a31625cf816c94a33c38a2e1e001eb7f1d33f296c73ca36884714c

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d009232414786efda225a9165628db84d64ad5804359b490843d7f84c673cea
MD5 bb017c72b55011df48fa6a97e9528713
BLAKE2b-256 2e1358a4854cc95106a6d42eae18e29cb2d31be96948908d32c2fca9bd9e0ff9

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uproot_custom-2.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff83e874291f77a8ec8782df7e04215c5a55bb81677e438f044c49343093650e
MD5 7c23b026b98e1a8352650c541a316073
BLAKE2b-256 63a847029a09e417f1a98cfaa0b4936018de9ef2a9335c2640987064fbbf38b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for uproot_custom-2.0.0-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