Skip to main content

Conditionally select which method implementation survives class creation — decided at runtime, at startup, or at class build time.

CI PyPI version Python versions Wheel License


Documentation: https://jymchng.github.io/conditional-method/

Source Code: https://github.com/jymchng/conditional-method


A decorator @cfg (aliases: @cm, @if_) that selects a method implementation among those that are identically named on a class — during class build time. Only the selected method remains in the class attributes, i.e. the class is well-formed. The same decorators also work on module-level functions and on classes themselves.

  • Conditional method selection — define several implementations of the same name; the one whose condition is true survives.
  • Decided when you need it — evaluate conditions at import/startup time (boolean) or lazily per call (callable).
  • Clean class design — keep conditional logic out of the method body; the resulting class exposes only the chosen implementation.
  • Conditional decorators@cfg_attr applies decorators only when a condition is true.
  • Type-safe — ships py.typed and a stable public API.
  • Zero runtime dependencies.
  • Fast — the entire implementation is a C extension (conditional_method._c) built against the Python Limited API (abi3): a single cp39-abi3 wheel covers CPython 3.9–3.14.
  • Debuggable — optional debug logging for troubleshooting.

Requirements

Python 3.9+ (CPython 3.9, 3.10, 3.11, 3.12, 3.13, 3.14).

Installation

$ pip install conditional-method

---> 100%
Successfully installed conditional-method

Example

Pick one implementation per environment

import os

from conditional_method import cfg

ENVIRONMENT = os.environ.get("ENV", "development")


class Worker:
    @cfg(condition=ENVIRONMENT == "production")
    def work(self, *args, **kwargs):
        return "production"

    @cfg(condition=ENVIRONMENT == "development")
    def work(self, *args, **kwargs):
        return "development"

    @cfg(condition=ENVIRONMENT == "staging")
    def work(self, *args, **kwargs):
        return "staging"


worker = Worker()
print(worker.work())
# development

print(Worker.__dict__)
# Only ONE `work` survives — the class is well-formed:
# {'__module__': '__main__', 'work': <function Worker.work at 0x...>, ...}

Callable conditions — decided lazily, per call

import os

from conditional_method import cfg


class DatabaseConnector:
    @cfg(condition=lambda f: os.environ.get("ENV") == "production")
    def connect(self, config):
        print("Connecting to the production database...")

    @cfg(condition=lambda f: os.environ.get("ENV") == "development")
    def connect(self, config):
        print("Connecting to the development database...")

When a condition is false, the corresponding function/class raises TypeError if called or instantiated. If no condition is true, the last false one is kept as the raiser. If several conditions are true, the last one that evaluated true wins.

Apply decorators conditionally with @cfg_attr

import os

from conditional_method import cfg_attr

os.environ["FEATURE_FLAG"] = "enabled"


@cfg_attr(
    condition=os.environ.get("FEATURE_FLAG") == "enabled",
    decorators=[log_calls, cache_result],
)
def experimental_feature(value): ...

Decorators are applied in order — but only when condition is true.

Fail fast at import with assert_all_true()

For config / feature-flag modules, put assert_all_true() as the last module statement so a disabled feature raises TypeError at import time instead of at first call:

from conditional_method import cfg, assert_all_true


@cfg(condition=ENABLE_FEATURE_A)
def feature_a(): ...


@cfg(condition=ENABLE_FEATURE_B)
def feature_b(): ...


assert_all_true()  # TypeError at import if any condition is false

Use _get_failed() to inspect which names are affected:

from conditional_method import _get_failed

_get_failed()  # e.g. ['__main__.feature_a']

More examples live in the examples/ directory and in the documentation.

Debugging

Enable debug logging by setting the environment variable __conditional_method_debug__ to any value other than "false":

# Linux / macOS
export __conditional_method_debug__=true

# Windows
set __conditional_method_debug__=true

License

This project is licensed under the terms of the MIT license.

Release files for conditional-method 0.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 conditional-method 0.3.2
File Size Uploaded
conditional_method-0.3.2.tar.gz 31.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for conditional-method 0.3.2
File
conditional_method-0.3.2-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
conditional_method-0.3.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
conditional_method-0.3.2-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
conditional_method-0.3.2-cp39-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.9 abi3 PyEmscripten 2026.0+ WebAssembly Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_s390x.whl CPython 3.9 abi3 Linux musl 1.2+ IBM System/390x Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_ppc64le.whl CPython 3.9 abi3 Linux musl 1.2+ PowerPC 64-le Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_i686.whl CPython 3.9 abi3 Linux musl 1.2+ x86-32 Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_armv7l.whl CPython 3.9 abi3 Linux musl 1.2+ ARMv7l Details
conditional_method-0.3.2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
conditional_method-0.3.2-cp39-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl CPython 3.9 abi3 Linux glibc 2.17+ IBM System/390x, Linux glibc 2.28+ IBM System/390x Details
conditional_method-0.3.2-cp39-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl CPython 3.9 abi3 Linux glibc 2.17+ PowerPC 64-le, Linux glibc 2.28+ PowerPC 64-le Details
conditional_method-0.3.2-cp39-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l, Linux glibc 2.31+ ARMv7l Details
conditional_method-0.3.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details
conditional_method-0.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.5+ x86-64, Linux glibc 2.28+ x86-64 Details
conditional_method-0.3.2-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl CPython 3.9 abi3 Linux glibc 2.5+ x86-32, Linux glibc 2.28+ x86-32 Details
conditional_method-0.3.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
conditional_method-0.3.2-cp39-abi3-macosx_10_9_x86_64.whl CPython 3.9 abi3 macOS 10.9+ x86-64 Details

Total release size: 981.8 kB

Release files / conditional_method-0.3.2.tar.gz

Download URL conditional_method-0.3.2.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b7e6d6914ef56a6a80e0558cc18dd1b00e31dba665bd9a336f1679f319164b8b
BLAKE2b-256 checksum
How to use checksums
31e61233db194984e278f64e9478141b31d68c9c879ac0ef5721c78bd260b31c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-win_arm64.whl

Download URL conditional_method-0.3.2-cp39-abi3-win_arm64.whl
Size 33.7 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
d380570903451384124ba4b79c229845fbd0908e3ca96c3c7e54211a65f860c2
BLAKE2b-256 checksum
How to use checksums
6a8a820f0eb7c6172fbbb830b95d624d840621c2933a83bec2c687bd11ff922c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-win_amd64.whl

Download URL conditional_method-0.3.2-cp39-abi3-win_amd64.whl
Size 32.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
cd9b2d334bc6c6d09229aa6739416a1da78c6bc77e5e9d2f7ae8a41176c29c93
BLAKE2b-256 checksum
How to use checksums
7425288a00adc980b8c2c0dd513ed37a7baee5c80e7a0b0362420bc181b01dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-win32.whl

Download URL conditional_method-0.3.2-cp39-abi3-win32.whl
Size 31.9 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
fc79158e58a768cf18b80a13a8cdb5992f8cf9fd7a0816df567ed2be814a0e9d
BLAKE2b-256 checksum
How to use checksums
812a69323b4a5975145cb55602fc5a5600a30f42e3bf8106fb2c594721155916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-pyemscripten_2026_0_wasm32.whl

Download URL conditional_method-0.3.2-cp39-abi3-pyemscripten_2026_0_wasm32.whl
Size 27.2 kB
Tags CPython 3.9 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
3bbe41e3d7083a6cdf1b45c36d322dffeb25e9d7bc9c8f9c9c2206a442539bcd
BLAKE2b-256 checksum
How to use checksums
366d960a93aa2a2b19be85256caed1927872574cac245482c89590661374e696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 62.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
df40f63e17066ecfc2fe395b56eace421f4767bb7b613b32826084ca26603615
BLAKE2b-256 checksum
How to use checksums
d6604edcfe8bc1ebafda39821f9b8eded78a56737a4437b8977952c3c6efa3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_s390x.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_s390x.whl
Size 62.5 kB
Tags CPython 3.9 Linux musl 1.2+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
4bf7acb3412962f53ae599d58143fda65503ecafecd722dc80f3f312dc5ecef8
BLAKE2b-256 checksum
How to use checksums
2c8713f36cd28f9c8688cc737117f57655874dc90e66cf517068fe61c1105b84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_ppc64le.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_ppc64le.whl
Size 65.4 kB
Tags CPython 3.9 Linux musl 1.2+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
5d1febc34b36775f8bec72b1fc39d601db128b894b436cbe2e0249a77eb36254
BLAKE2b-256 checksum
How to use checksums
6556bff0f88161d4803e8dfa1363c39ad4e85e90334e4c0b29b55e75abe67174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_i686.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_i686.whl
Size 60.7 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
17f0d1da5af54c5da78f326016b8d9cc232e17b8023568fd79eb5bfdeee4b19c
BLAKE2b-256 checksum
How to use checksums
e1e27a92353c2fd1026e203f9a3dd5573f9947198ba757a09ac3d80ebb3033f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_armv7l.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_armv7l.whl
Size 60.3 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
de1f74dcc133b479c8285843a1e9944dae5d19cf20d55e2f4fc52b669df94cb6
BLAKE2b-256 checksum
How to use checksums
4f1a88334601315f69344faa3339907b2d44f7cd721aefda43b1a3a2b04a9c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL conditional_method-0.3.2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 62.7 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
8e781ef55d33c3e8e47937ef2405a493fbaaf9f0dd7798dd4571fef369be93ee
BLAKE2b-256 checksum
How to use checksums
d4f16b97981f64b530ed744a412c636050c817d9730f966996267a45771eeda9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl
Size 64.7 kB
Tags CPython 3.9 Linux glibc 2.17+ IBM System/390x Linux glibc 2.28+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
5fa841d1a6ba77cab4c38ba38809ffa81886619459ecb90bda535bb21eecdde9
BLAKE2b-256 checksum
How to use checksums
52daab3962f0495b66cdc18bd885bc4bc7e4862f8e0c08520204ad33d06d9f86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl
Size 67.6 kB
Tags CPython 3.9 Linux glibc 2.17+ PowerPC 64-le Linux glibc 2.28+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
f52d11f196c0cc80c2b879c5b6f8d25778455fba260da8252bd79c2699a11cd2
BLAKE2b-256 checksum
How to use checksums
760d9b6f337df6245caa42df7899bf4f53f3090be764e479e425993ea274dc7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl
Size 66.5 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
8eaf064afa8f0eab16f0f5b2a0771523c0fac1671be5326310e8417656de6d11
BLAKE2b-256 checksum
How to use checksums
4fe6fbb6efeae19612b229020f153ec0337708b461cdd0e1a681d02d4a0c8589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 64.6 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3b145354c5204642c0a1cb4533e70aacf629ed48c7463105345e36eedcb7f469
BLAKE2b-256 checksum
How to use checksums
b6745435d446c78edddf6b0c726fab1884391b96d532b27c3f3a6d257daa96c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 63.2 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
6e5d28ae0432f4f40e5be24a0c5cb33307abd4f5a2c9694f09039be53f617040
BLAKE2b-256 checksum
How to use checksums
73d27b9386393d7c921bb88186a7113c892d1767ac904d0aeb40755ab27fda25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl

Download URL conditional_method-0.3.2-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Size 60.7 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-32 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
21a1dae5f2139701cbe42b4a688cab716e6eaa4448df79607b4ba414cbc8093c
BLAKE2b-256 checksum
How to use checksums
452901ebc753541f626c5a378ffd4ff9c89d03001dbb8b3a135b3102a464487b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL conditional_method-0.3.2-cp39-abi3-macosx_11_0_arm64.whl
Size 32.0 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c48105f831b62c09cec59095370775b5f26487dfd7715bc210b3cdcc3a6b6b41
BLAKE2b-256 checksum
How to use checksums
dd5ad6c83a840db26cf3af74c46038ffbcde105ee8bfabae62a6aa992ab8d5a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / conditional_method-0.3.2-cp39-abi3-macosx_10_9_x86_64.whl

Download URL conditional_method-0.3.2-cp39-abi3-macosx_10_9_x86_64.whl
Size 31.8 kB
Tags CPython 3.9 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d079931ee1898ad6e7e467b368e34d85d178f5251a4cdb8ce1d378abfb8358be
BLAKE2b-256 checksum
How to use checksums
8473e7a99061ea2fd4785074d046ea0d200e1e49aa02a96398cd432fe2057c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

19 release files

This release

0.3.2 This release

19 release files

0.3.1

19 release files

0.3.0

19 release files

0.2.9

19 release files

0.2.8

19 release files

0.2.7

19 release files

0.2.6

18 release files

0.2.5

18 release files

0.2.4

18 release files

0.2.3

19 release files

0.2.2

19 release files

0.2.1

19 release files

0.2.0

19 release files

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