Skip to main content

Object partitioning package.

Project description

Object Partitioning

PyPI version Build Status

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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-feature)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature/my-feature)
  5. Open a pull request

License

This project is licensed under the terms of the MIT license. See LICENSE.txt for details.

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

atlas_object_partitioning-1.0.0b4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

atlas_object_partitioning-1.0.0b4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file atlas_object_partitioning-1.0.0b4.tar.gz.

File metadata

File hashes

Hashes for atlas_object_partitioning-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 75e491d4eaa2b50b8b60699b90d6b3f75dfcaf67c978d2aae94d7ecc4fd3a591
MD5 193ab59e92a994c871cca747c4c42791
BLAKE2b-256 942c33080f1cbe537f6fa958072c25037971f12aac5931fc73d3896005708897

See more details on using hashes here.

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

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

File details

Details for the file atlas_object_partitioning-1.0.0b4-py3-none-any.whl.

File metadata

File hashes

Hashes for atlas_object_partitioning-1.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8ac691c3b85bfdf975be2aacbbcfbd99cfaa2f77bbc2113be13a5f02b419ac8
MD5 eef719f65450e069fde2d42cb914f558
BLAKE2b-256 56d6ece0c07b05f2a944d70007548424a6ddbb2773c05d58ab8f96c3be0dfea1

See more details on using hashes here.

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

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