Skip to main content

Python bindings for the SWGO Background Library

Project description

Python Bindings for the SWGO Background Library

This are the Python bindings for the SWGO Background Library. The bindings can be installed with pip:

pip install swgo-bali

To access the the Background interface, import libbackground and create an instance:

import libbackground as libbg

bg = libbg.Background("<path to settings>")

The documentation can be accessed with help(libbg.Background).

The photo electron lists generated by Background.next_chunk() are C++ objects, but behave like nested python lists:

for channel_id, pe_times in bg.next_chunk(1e-9):
    # channel_id = int
    for time in pe_times:
        # time = float
        ...

The full documentation of the SWGO Background Library can be found here.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

swgo_bali-0.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp314-cp314t-manylinux_2_28_x86_64.whl (798.6 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl (796.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp313-cp313-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl (796.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (795.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp311-cp311-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (793.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (793.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

swgo_bali-0.3.0-cp39-cp39-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

swgo_bali-0.3.0-cp39-cp39-manylinux_2_28_x86_64.whl (793.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

File details

Details for the file swgo_bali-0.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2175f753b6907da41275c4e18b49e794b03b595618f477290fc6560b21f8d991
MD5 7b1ecfcadb130b6b26fcb486d7a2f327
BLAKE2b-256 bae80a1d1b1c5837b7415db941a9bc54051c62c61b8a2f1cb59f15aa5f92bd79

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 030914c1f03153c78f0d9b1138544240ce1c0511da4fa403cc22e823b958aa7a
MD5 be959e579823cb39dd38a4e4ce66b41d
BLAKE2b-256 d9e845efd43e8bcb7200bd6a0ecd4f3fad3a33adb8821a8db079ec77bc348a8e

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b321bd8532e21050d0606d21c9a3271b27c77fa6957e9f5e02010cc0f335d1d
MD5 e9e953df1989f5a7ed76068d5b576eab
BLAKE2b-256 0da68f4e67d89920b20c1eaf3515cb824c9bbf1e938c6f58a8d5e6fb4da40995

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 064a634346c5a226893d22df3e407d05865c3f15aaf254fa21a79bc130cf1108
MD5 f60b78f543e55a445d144d64b7498531
BLAKE2b-256 fd65a8b1f8e55d5434ad2545c35e67a310081bd8876efab3108ef8c04f2aca6a

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7148951073a9e3a2c09611a395ff17f9a4a5de22d4e89784bfae4865fa56fece
MD5 5256cfb063c415d2b1f0f7185ed2061b
BLAKE2b-256 8d50e75298082ff99f0f283a0c6100a4c4eae4d026565eca26030c5953c6180b

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f3080c6ffc72aac953d81e8fbb5b27cbd7b2045ecde19dc727046fa18c53dc38
MD5 e85d3254734b52926277a5e21bfaed23
BLAKE2b-256 3aaf3d8550922e24e2c62c61accd1a7252b0a67260f3f0c4198f8eaa28c292b4

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 16bbde7c38d38a3f9816c5d698a5835c45396436333c0bd0ac29a073bc807541
MD5 bf3b142fcec5a2a023f00cec20450266
BLAKE2b-256 de1c42f44af1c8e959fbddc1da47e02d9840ca350c1ca30410eefe2ef2676ae5

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb1b0c970e23294f1bb887ade37dc90dd40ac648f31e842c3c6ba860e57b7171
MD5 8334e539f8991e222577364e87e662d8
BLAKE2b-256 402e663f5f0602ce993e09e28ae5fa0a30b52e8b40ac1f002895e5122d6c3b4f

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a9411bde26cbe052d3d8034a56813415239f93df73799bb329c59c23da660099
MD5 4bd6a790a74bb98fb7328b070353d98a
BLAKE2b-256 88625e7778eb16194edd3d0832705c6d10c8eb4090645c563ede4c8c91e324b7

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80faf462da57b0700444b8ce51273eb7aa88740dc549ae735bf19b6b008e00cd
MD5 ad5b04339d49da708ea693be95829084
BLAKE2b-256 d8fe5d33885f1eea26185928545f1b42b06a7808bb806ad1a35088ecb5f3fb48

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 812c69a3efdda3b9c7318a95c32a50d21a58e6c0519c9f529c6ad5bf50b9cd62
MD5 800a4b88d2715d3e77d6456df258d3db
BLAKE2b-256 8a9829e3bc53d8ec8a66c6734f9385ed32fda949bad3736e1bbfde950fb89808

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d82770640c5ebdaea7f5e1ab80b306cc87f2d1cf489c7a3c70bb7cc86eade28e
MD5 0ecbb2686f1595dcaef9afb7c289dfe0
BLAKE2b-256 c26bf98d162fa29636d599903f57a9b3c8594bbc74cfb65982936bf4a0d06ebd

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fbec6f335732b6db10c5791f3222f4890ac0213a3992d8c0f53165e7b75fad2e
MD5 198f528995f839f9d5a5b7e568f59998
BLAKE2b-256 507647b1a36c93babee6aee16ab0b8e55e5277aacc67c5e72484caa78f5da8f4

See more details on using hashes here.

File details

Details for the file swgo_bali-0.3.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swgo_bali-0.3.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cf5e911ca0b3f9d85e27767f6c1dc81dace1382b01d4ec5ad8f999d7cd2d9aa5
MD5 94b9d43612971dfe853c2884934482fe
BLAKE2b-256 cdff63133d7ac4d3a75ba3fce666493dc7908d4fbb716b4fdaa23b54e408649e

See more details on using hashes here.

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