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-0.0.1.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-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file atlas_object_partitioning-0.0.1.tar.gz.

File metadata

File hashes

Hashes for atlas_object_partitioning-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7bf48cbfd0c356619fbbf81cbe52e51cf4b62cd771b3a3f37e7a7baea9195913
MD5 38a44ab7b6938fd303743c9279482dc4
BLAKE2b-256 ea1a7c8adeb4b180c2b141ff6730710b4681ee989a5905da8c9b17390f96cfa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_object_partitioning-0.0.1.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-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for atlas_object_partitioning-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc969c3cdfaee433b3f5fc0124aa1cfad68c95d02d8312a402eea8bddcf4249b
MD5 0a807c2e97d598b8156d1dec6c8df389
BLAKE2b-256 868c3430f464bb6e12f3ddfdb59edc31dee03436f936bf19616c8fe4e32066af

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_object_partitioning-0.0.1-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