Skip to main content

Derivative of treams with complex frequency support

Project description

treaaams v0.4.6c5

A derivative of treams with targeted source-level patches to enable complex frequency evaluation.

How it works

GitHub (treams vX.Y.Z)
        │  tarball download
        ▼
_build/treams_src/          ← clean upstream source
        │  patch -p1 (each file in patches/ in order)
        ▼
_build/treams_src/          ← patched source
        │  build (and publish) wheel
        ▼
install treaaams via pip/uv

Prerequisites

  • Python ≥ 3.10
  • uv (recommended) or pip
  • A C compiler + patch utility (apt install patch / brew install gpatch)
  • Cython and NumPy (installed automatically by the build backend)

Quick start: editable install

# 1. Create a virtual environment (uv)
uv sync

# 2. Fetch upstream, apply patches, and install in editable mode
make editable

# 3. Verify
python -c "import treaaams; print(treaaams.__version__)"

Adding or modifying a patch

Workflow

# 1. Make sure you have a clean source tree
python scripts/build_patched.py --no-fetch   # skips download, resets patches

# 2. Edit the file you want to change
$EDITOR _build/treaaams_src/src/treams/_special/sph.pyx

# 3. Capture the diff as a numbered patch file
python scripts/make_patch.py src/treaaams/_special/sph.pyx \
    --name 010-custom-sph

# 4. Inspect it
cat patches/010-custom-sph.patch

# 5. Dry-run all patches to verify
make patch-dry-run

# 6. Rebuild
make editable

Patch naming convention

Patches are applied lexicographically, so number them explicitly:

File Applied
000-fix-typo.patch first
010-override-ufunc.patch second
020-custom-lattice.patch third

Tracking a new upstream version

Run for example

uv run tbump 0.4.7c1

To apply the patches to v0.4.7 of treams

If a patch no longer applies cleanly, patch will create a .rej file with the rejected hunks. Edit the patch accordingly and re-run.

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.

treaaams-0.4.6rc5-cp313-cp313-musllinux_1_2_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

treaaams-0.4.6rc5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treaaams-0.4.6rc5-cp312-cp312-musllinux_1_2_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

treaaams-0.4.6rc5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treaaams-0.4.6rc5-cp311-cp311-musllinux_1_2_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

treaaams-0.4.6rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treaaams-0.4.6rc5-cp310-cp310-musllinux_1_2_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

treaaams-0.4.6rc5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file treaaams-0.4.6rc5-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp313-cp313-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac6088ac9378e7a3ed503e75e59b58f74dc4cb334bd3578f205e402522e53d1b
MD5 4b74d25d985bbd7369d55a7a18252ea6
BLAKE2b-256 4c37a8c16db8523f4219935334c4757276d8e0ec11ba5233d6729a5ec1d3364f

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7e2d793a26e029a725a18c24aae46f86eb75cff3148340306bad382555917e8
MD5 a5be53a8ce0b16a14aaa6961353fdf00
BLAKE2b-256 4ac4eaae4f5e7763a4b93a7d59caa2aa2a416886fab105ee369ac40f1e3b974d

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp312-cp312-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8dbb249b7b3990ad778ca42d7d3cc7f67544d7e0430e08031c0be803796faa53
MD5 fedfe6e3417cc237334eaa699222e713
BLAKE2b-256 0616adda8b513de74d7a50c2e072951d30b5154f556c5842b5bf68d8e8bf75ff

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3587771ca91d95fa51651cfa33232e7e0578fc9bbb731865e745b42a3c304e7f
MD5 20a662746836e8620256defb5fe9c58a
BLAKE2b-256 c5e5e66c44e0d514ec473e3ce97db54c883fd7ad1aee5e8a3f1066f237bfddf1

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp311-cp311-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae9ecc837947806536407d5e096870e3d2d17aa858e59b47e3cd1ed4bd410ee8
MD5 d87ac8ff2057697e294a86df808348a8
BLAKE2b-256 65bfe4ba024de0f4d9b941b1634a25b6eb736760a6a74d01ac01cea533d57dce

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4e18738389b0b76279b83da4901576cc7b06f948b0e29a90ef176f60d5aeddd
MD5 fa339f85fbc353b2ce8b67391482093e
BLAKE2b-256 368c52fea17eeae0a8107610c8cc5030ca6a7ed3c8bd5c8e10bd64cc5d8b36c2

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp310-cp310-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4f7eca631e1fa3b583bb0d10ad43f0be8c63223bcc57f544c5e563c31ac0937a
MD5 7d8a304cbe2cad7194472acbf41b20c8
BLAKE2b-256 aa4ecf8dcbd7656dd60acfdc5524f3a6e0f511be8483cb5792ff20c919783b99

See more details on using hashes here.

File details

Details for the file treaaams-0.4.6rc5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: treaaams-0.4.6rc5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for treaaams-0.4.6rc5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d521544c243d468041b0c052a3457319b06206acaac99f6ad27b8d8b2d369cbf
MD5 33d67dee80beba0af96881c230355096
BLAKE2b-256 b27fbc826cc8518a7cfe774ac437ccb4717896440ec8bf887c0cd4cc8f6ddaac

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