Object partitioning package.
Project description
Object Partitioning
A Python package to help understand partitioning by objects. Works only on ATLAS xAOD format files (PHYS, PHYSLITE, etc.).
Writes a parquet file with per-event data.
Installation
Install via pip:
pip install atlas-object-partitioning
Or install from source:
git clone https://github.com/yourusername/atlas-object-partitioning.git
cd atlas-object-partitioning
pip install .
Usage
from atlas_object_partitioning.partition import partition_objects
from atlas_object_partitioning.scan_ds import scan_dataset
# Example: Partition a list of objects
data = [...] # your data here
partitions = partition_objects(data, num_partitions=4)
# Scan a dataset
results = scan_dataset('object_counts.parquet')
See the documentation for more details and advanced usage.
Contributing
Contributions are welcome! Please open issues or pull requests on GitHub.
- Fork the repository
- Create your feature branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/my-feature) - Open a pull request
License
This project is licensed under the terms of the MIT license. See LICENSE.txt for details.
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 atlas_object_partitioning-1.0.0b4.tar.gz.
File metadata
- Download URL: atlas_object_partitioning-1.0.0b4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e491d4eaa2b50b8b60699b90d6b3f75dfcaf67c978d2aae94d7ecc4fd3a591
|
|
| MD5 |
193ab59e92a994c871cca747c4c42791
|
|
| BLAKE2b-256 |
942c33080f1cbe537f6fa958072c25037971f12aac5931fc73d3896005708897
|
Provenance
The following attestation bundles were made for atlas_object_partitioning-1.0.0b4.tar.gz:
Publisher:
publish-to-pypi.yml on gordonwatts/object-partitioning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atlas_object_partitioning-1.0.0b4.tar.gz -
Subject digest:
75e491d4eaa2b50b8b60699b90d6b3f75dfcaf67c978d2aae94d7ecc4fd3a591 - Sigstore transparency entry: 272808043
- Sigstore integration time:
-
Permalink:
gordonwatts/object-partitioning@7ea7e5ff3dab2d9bcb3a9c0fd94b953dc6bb4fb2 -
Branch / Tag:
refs/tags/1.0.0b4 - Owner: https://github.com/gordonwatts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@7ea7e5ff3dab2d9bcb3a9c0fd94b953dc6bb4fb2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file atlas_object_partitioning-1.0.0b4-py3-none-any.whl.
File metadata
- Download URL: atlas_object_partitioning-1.0.0b4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8ac691c3b85bfdf975be2aacbbcfbd99cfaa2f77bbc2113be13a5f02b419ac8
|
|
| MD5 |
eef719f65450e069fde2d42cb914f558
|
|
| BLAKE2b-256 |
56d6ece0c07b05f2a944d70007548424a6ddbb2773c05d58ab8f96c3be0dfea1
|
Provenance
The following attestation bundles were made for atlas_object_partitioning-1.0.0b4-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on gordonwatts/object-partitioning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atlas_object_partitioning-1.0.0b4-py3-none-any.whl -
Subject digest:
d8ac691c3b85bfdf975be2aacbbcfbd99cfaa2f77bbc2113be13a5f02b419ac8 - Sigstore transparency entry: 272808044
- Sigstore integration time:
-
Permalink:
gordonwatts/object-partitioning@7ea7e5ff3dab2d9bcb3a9c0fd94b953dc6bb4fb2 -
Branch / Tag:
refs/tags/1.0.0b4 - Owner: https://github.com/gordonwatts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@7ea7e5ff3dab2d9bcb3a9c0fd94b953dc6bb4fb2 -
Trigger Event:
push
-
Statement type: