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.4.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.4.0-cp314-cp314t-manylinux_2_28_x86_64.whl (802.1 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp314-cp314-manylinux_2_28_x86_64.whl (799.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp313-cp313-manylinux_2_28_x86_64.whl (799.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (799.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp311-cp311-manylinux_2_28_x86_64.whl (797.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (796.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

swgo_bali-0.4.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.4.0-cp39-cp39-manylinux_2_28_x86_64.whl (796.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 290e93e92a031af63527c44a096e812003d3a40bd31ed9733f1886a73d9f6176
MD5 67b2636767bcb82b7c316d5e75901d75
BLAKE2b-256 a11f1aefc29fe70a51136be09225ff2cef6003a0179920e87f74d42758350ead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 26bb3771504591e1f3f3c33268146b42115960f9a3d095d25c00e3b7394defa7
MD5 ef1f9c15a1afcf90b1a12a9e7afc7623
BLAKE2b-256 c5e0f08566de31d95a86415442cf44272de1b2d97f51d7760d8c97a65ff4e9c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7eb707ff4b4e2fa7e2fa4bd575d9eb69203d5c109490029a55e3c37ef09f0140
MD5 ab054cd893c5231f10d0bc1fe07a1934
BLAKE2b-256 0e769fe0ca2fa8854ad5d6dee28581105eb627b189d19fd31b51cc0d69cd91ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2c5e337d9c98ad2ba1f605ab944cea5fb964cf269767ffadf9e43b1b5344e3c
MD5 a2b77d69075ca652dc51b684f85ccf4b
BLAKE2b-256 49816a78c60490fffa7c5f7b879c8eb54624efca0f7ae6ae67094ec37cadf8ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71b0634ea4c015e455dd2a55e9c98db7df40ce3de0a79589dfb18b63ff49d4e5
MD5 4559715b6d2494363cd46e8ade7eb741
BLAKE2b-256 7aa03cd38fecc3d20d1d476819f6c8ff8c222df50d964932365d5c8e3deb73c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79c38c577dcbfdec507c76fd982014a630723a6beff9258e8c1d1f521cc96f3a
MD5 6e8e37ffb8d81c7663b1cc7b811d2602
BLAKE2b-256 79fe02736472ee0cdc92b9b446315395d7b58a85fb7e70b56eaf72c8fe88f9b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8b3a0ba8005754762a05d754e5f16b9d08f4a9ad7e61c217f75e6c3d2cefebe5
MD5 b5e54c9c7975f7ca71a2b1b7dc4e9b68
BLAKE2b-256 dfbdd2923aad6df33291c14969e0c1ebe099e668677f61830538728f880b2e81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ddbeaa696c672f69cc10ce1faf19d181f5a268b2ec8dbac4e753b9c1e7316880
MD5 33dc76fb1e3c57165e5e2d65ab3acc24
BLAKE2b-256 e56f2aa7e58bf094d1ef2acaf2c585320808c8fbe1e2b81f2623be27c316369f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d21cb3d9a2d496858ae315e5f8e0c275381cde071f149149e8635bd2cfc5a77f
MD5 4c3b0bda121e036672f1a7faf9a028ca
BLAKE2b-256 2bf6f126e2b7c394f718067fda571ae6182dc17ffb4d0588246c04e9ee834bef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c96ba0eba46afafff15a8ad4b111833614ccbcada1a3a4f25deeae87685baf17
MD5 70a191e42d75063f403e8d7871f8e3dd
BLAKE2b-256 da5f719fe8e53dc06e3ab8919f2bb213fa40b091394fedceaf2e79efe16c5a47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d6f99415063e75565e2755b27ee3cadcff6e67f5fcbc94a1cbe043cffb2bd260
MD5 7421968e13b20557e6d9b0e6d0538d19
BLAKE2b-256 b63a88cf1b6545667d04b12084e08b27c3871101193e0d117faef6fec75e9acc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a1f8b172b3f193ec46d856de2b0eeb7837dd4dbe6bc5d719453883b8ce8ff01
MD5 02678034c6a0d8b65bf5b48f453c6a70
BLAKE2b-256 6bc865a6aaf0077970c48a251946520c097017016fb49e0bbb875c8244b24167

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 11b6df270857a453990bfb1b4ec84568a1a868ccd543cfa0a1ce1f54327bd8c1
MD5 1f7fb484f1a659b8bcc4de9a8531e1a1
BLAKE2b-256 bc0d14a4f1004c6195c3086e71554479d8acd8ff42883efe8bac100c58fabb97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swgo_bali-0.4.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 67448be039436a8cf75043bd3b67edba04d69ff6b13dd3bd82915c9a60e11778
MD5 9bbe9539e09496eaf12d47c3f1e7d747
BLAKE2b-256 6da3f98ab75d0fd780cddf6759daf19e736e372990799668a8f9d3abecb25205

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