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.2.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.2.0-cp314-cp314t-manylinux_2_28_x86_64.whl (777.7 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp314-cp314-manylinux_2_28_x86_64.whl (775.7 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp313-cp313-manylinux_2_28_x86_64.whl (774.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp312-cp312-manylinux_2_28_x86_64.whl (774.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp311-cp311-manylinux_2_28_x86_64.whl (770.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (768.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

swgo_bali-0.2.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.2.0-cp39-cp39-manylinux_2_28_x86_64.whl (768.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e10834f0dd0d88ca1dac17a9654c3a1ea2d9e78e5d0086d5a75f5553cb1c8760
MD5 1830f311b84a68ea9d749abb8c1738ae
BLAKE2b-256 ba23e46132f93ad0853348748c48485d9d05493b9ac5e3259bf4986359b1a681

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db9a3415b71b8f8d49772c9db4c95c56dde1e5cd5390670546205319618a6552
MD5 01c9e124ae11b3f16c4ca4afde5506af
BLAKE2b-256 c133925dfb971df7bc8932ca5c5423d21c52b73b1bc79d0e7eab5d5fa7562735

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 caf4dea2c58d914d339d90a50f019e0ede138a6e0e0c01c145b6d1ff5d52ceb0
MD5 9f3f36f3009788b7a6341c9a1d4d6a58
BLAKE2b-256 ae6f434a85f19668b78e5368c748b138c52a4b806c697435ddd0de3e4bfd81e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce099dd2ddfc056a5284c62cffeb51a3064f2ebd883ed06a22f5375193918ec9
MD5 6ee255f708e615b8c33745e5997ad669
BLAKE2b-256 4e8dfed1685b2e79d359d9bf52d406b3f2052be735b02127c70ee4ed11dd2686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a4367ddf90dbfb5fb241c3786d4065375b2031a25eb7c12bb4de2634100927b
MD5 0f0a2724c3ae6040ac36c62090a5a9c5
BLAKE2b-256 9a172455abb100187e7c1b66259d58b0505b40937f9ef7ae52275f16dac1a282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b736f2dec55dea992301d052b8d6c94a98a9162c28739bafbae8fec0a01cd0f
MD5 8fab1a5fecaf7d185a91446de7fe97c7
BLAKE2b-256 bca1589e4325079d337a5f83b5e0c835b61ef189707af040c3345ed82ab32c9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 946d9d6e8d043eb720881f96db3447a481db17bdbf919210cd8a1861f47ded44
MD5 bccfd1afeddea8cd97e8839cbc90cf64
BLAKE2b-256 3dacc09777a9c4bdfca09ae390eeb2a241e79501af39e49a123367a78370b29e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee4343f93821eac9b223be9a3f22f9b0b3a47a15a8ec295ea24c8de4f2f215b1
MD5 7d4b200ac092e77a350ed90483df7b9c
BLAKE2b-256 fee82367cfd4332f3d69ad137a851a44f4de29810512c49823bb40cae947f0c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9a7cd55efd6b414f122cc3a58aef80105fa69c2becf12741f356857415d90585
MD5 f2cd93175b145f3a754c3e096ecaef3d
BLAKE2b-256 e3505189779196f55cc2316045457ccd708c395136022c656690eeebdd2674ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a9feec676fc95690a1c310f27e84c23669c761d44ea97a2a86e263df8e82cbe
MD5 c15cdfacc63d5751ba9a5d723ec2ca6a
BLAKE2b-256 26f13269b4f6b5df3a6bf1bed7e92c6e64e512c04cc7e9c31faec4e3e29c0d3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 68667493acdbce11c68dc512642862d985b991aa375608102e85391b0d530493
MD5 486e2b676fdf32f4bc6c1cca4ced0091
BLAKE2b-256 e06a59e3766d0c6a0f2c05f550d2f04e2e60ba146e48992455643200c3ea6699

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c1922ede0c3b74dd963ae16a539bfcfa0a62bdc2b34978cf9208c24f30a4a18
MD5 8f332cd238a0ddd3f0cee62b42e83954
BLAKE2b-256 e9c1121b1a9f72c65e234c8d1c5d4c5dbb739e8bb09b513f9c59f99e7448b002

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6774b788fdc2817c328b061db91e4ddf68aa585a4e9e1711e1f4c3e65e6806a2
MD5 980ecc59ebeb141e3aa434cac997b7b8
BLAKE2b-256 6060e9e76eefbfc17626dd17e4e796716dff871d6d45a165553e6a706c5dfc2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.2.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a896903a08277261f7023ba8c8eb6e3f21c38f43963ebdf5ff0cc8488c66a918
MD5 6801d50f692184580cb41a148103eaf8
BLAKE2b-256 25e5662df70ec7b3e93e51772439a201b592cb09a46b3677cf3cb6b65f77c14b

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