Skip to main content

Basil Core

BASIL (Bayesian Analytic Sampling and Integrating Library) Core utilities;

Core utilities: A bunch of c functions that are faster than numpy matrix operations (and more conservative of your computer's RAM).

I am using this primarily in gravitational-wave population synthesis, for postprocessing with different binary evolution simulations.

User guide and jupyter notebooks incoming TBD.

stats

basil_core.stats.distance Right now, this includes a Bhattacharyya distance, Helinski distance, and relative entropy calculation The relative entropy calculation has the advantage that it can accept pre-computed log values for P and Q.

Astro

basil_core.astro.coordinates includes many coordinate transforms useful for GW astronomy, including chieff/chiminus transformations and tidal deformability parameters.

basil_core.astro.orbit includes many useful napkin calculations for GW astronomy, such as a timescale for a GW merger as a function of radius. Many of these were adapted from hush

Installation:

python3 -m pip install basil-core

Contributing

We are open to pull requests.

If you would like to make a contribution, please explain what changs your are making and why.

License

MIT

Metadata

Release files for basil-core 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basil-core 1.3.2
File Size Uploaded Provenance Actions
basil_core-1.3.2.tar.gz 191.2 kB Without provenance Details for basil_core-1.3.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for basil-core 1.3.2
File Actions
basil_core-1.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for basil_core-1.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl
basil_core-1.3.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.5+ x86-64, Linux glibc 2.28+ x86-64 Details for basil_core-1.3.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl
basil_core-1.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.5+ x86-64 Details for basil_core-1.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl

Total release size: 1.4 MB

Release files / basil_core-1.3.2.tar.gz

Download URL basil_core-1.3.2.tar.gz
Size 191.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d2adba870ef4c7985e4436f4bb67237cf0457a088109850f07c2b57105e97868
BLAKE2b-256 checksum
How to use checksums
9b8b05b22ccecc28c6b88b99d0a4cfc75bd13527dfb060e2b6a71265354344ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / basil_core-1.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL basil_core-1.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 262.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
d2647ea3c9c4747891f494a51e1734f01fbc434cdc0c4f5f53db5213da4922ac
BLAKE2b-256 checksum
How to use checksums
6e90ef0a75d85ea464e355a7738221b7da408be5eecec36f9662dcf72e8ea9d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / basil_core-1.3.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL basil_core-1.3.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 257.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
cd366954563f5f00f8b1d637ecfab53b52c9457f611e41a017a673bece8f2d62
BLAKE2b-256 checksum
How to use checksums
699e8a5a69d3b2202a9935d3f093172a82e1eb3165e89447989dbcde01da554c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 255.1 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
762ea28f302e0ce8c0541204ae1b9b617ec246429ad43b793d8266c5d832e205
BLAKE2b-256 checksum
How to use checksums
82578c0b54f1a17ddc1c55b08973c4187603c4177047a51942ab5353245762eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / basil_core-1.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL basil_core-1.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 250.4 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
2170278a8c586061fcfb2863905a1f16950dd4909fcae6cf6a5db907248cc700
BLAKE2b-256 checksum
How to use checksums
8a63672b2620511c89f9801969bfd0b10dd62cdcd7183f9715642a3c2c14b3e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl
Size 210.1 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba4fddaf6a1c81edfebc556d92f17bf735dd926b7a88fdbe4c30c4049dda465e
BLAKE2b-256 checksum
How to use checksums
ffe16592ef287863a35f09b10559d3ab38c6b5dbd748a968b64d98156240e6f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for basil-core 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page