Skip to main content

conditional-method

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.

Links

Release files for conditional-method 0.2.9

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.2.9
File Size Uploaded
conditional_method-0.2.9.tar.gz 24.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for conditional-method 0.2.9
File
conditional_method-0.2.9-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
conditional_method-0.2.9-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
conditional_method-0.2.9-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
conditional_method-0.2.9-cp39-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.9 abi3 PyEmscripten 2026.0+ WebAssembly Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_s390x.whl CPython 3.9 abi3 Linux musl 1.2+ IBM System/390x Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_ppc64le.whl CPython 3.9 abi3 Linux musl 1.2+ PowerPC 64-le Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_i686.whl CPython 3.9 abi3 Linux musl 1.2+ x86-32 Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_armv7l.whl CPython 3.9 abi3 Linux musl 1.2+ ARMv7l Details
conditional_method-0.2.9-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
conditional_method-0.2.9-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.2.9-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.2.9-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.2.9-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.2.9-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.2.9-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-32, Linux glibc 2.5+ x86-32 Details
conditional_method-0.2.9-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
conditional_method-0.2.9-cp39-abi3-macosx_10_9_x86_64.whl CPython 3.9 abi3 macOS 10.9+ x86-64 Details

Total release size: 834.7 kB

Release files / conditional_method-0.2.9.tar.gz

Download URL conditional_method-0.2.9.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cfcc67ceb469debe07fb34511d89511492c9304318cfd0cdcdc25e938a8e679c
BLAKE2b-256 checksum
How to use checksums
65f5ed4014137f9b538cb4c964854197b7a698efacafaddc014ed39dafa6e122
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-win_arm64.whl
Size 28.3 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
ee70d46271066a8941ce91373b70e9386cdef39849346661abcb42e714ac6cf7
BLAKE2b-256 checksum
How to use checksums
6d1afa2536359f8f47410e99691930db9ec63f7791fc254c54be1fa03011cf24
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-win_amd64.whl
Size 27.5 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
25cbc5a6f7a26ed79ef606874aa383f9785a1b34bb1bbb7cac349ce00f44f3f2
BLAKE2b-256 checksum
How to use checksums
00abd9b466ce8185f8a25b21ab6bdba8770794068ec50a2f6983d2f109b53dd1
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-win32.whl
Size 26.8 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
702499efdcdc408c605e04308c54a014f19b876c6c3a0d64870dda64c2b3a703
BLAKE2b-256 checksum
How to use checksums
d4a7a595c1d270519faa0a4a1ce65abe55f796b200b82fc27a6567340e3b35c3
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-pyemscripten_2026_0_wasm32.whl
Size 22.2 kB
Tags CPython 3.9 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
5c128a0e8f5d5d1d3881de93a3046d4034823212568c59cf9e45ba06972f45c3
BLAKE2b-256 checksum
How to use checksums
9f534f17794b037fd53d9bf9f6ba266e61d8a53773aa45ccbb076afc06a30209
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_x86_64.whl
Size 53.1 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
47cbce0734f3d0f491c995eed031c28bfbdf4866e8e94b11c20d52185a623aa5
BLAKE2b-256 checksum
How to use checksums
564b1c4aca600cf6470bfad6fcd6197a6e229cf1ab6ba3e8d4f9c00e6a231cea
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_s390x.whl
Size 53.5 kB
Tags CPython 3.9 Linux musl 1.2+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
685e2d84dbc27660e24799f26cbda4b293a5aeda8ce326004016228f7056335a
BLAKE2b-256 checksum
How to use checksums
5fa0f1a94159ba3e8075a2e595f71de26ccd2751fde9db37b564688fbb17252f
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_ppc64le.whl
Size 56.2 kB
Tags CPython 3.9 Linux musl 1.2+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
19648f27d2ccc545950c9eeab6f2a0986b9e5abb8df1bf27e86fa38d2ac77965
BLAKE2b-256 checksum
How to use checksums
fd44eb434dc8425a8a3db342121a65aad93dfef117ee438e3899aba4ac235fb0
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_i686.whl
Size 51.7 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
761410dbf82cf25065dfed46074c738fb222ca25b3025cfca426e9a67622c767
BLAKE2b-256 checksum
How to use checksums
c27024edbfbcafad45305d4aa2ed649ba9958ba20c6f9cd0faefa590cc3b8ed0
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_armv7l.whl
Size 51.6 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
f4a60e7f5f4823f4bf010d205d06d52acdd15f204196fc07dd3d0f53e04c7b37
BLAKE2b-256 checksum
How to use checksums
c8f073bd1efe6abf556e6dd62f667dddb5bea2603a5f92595fdaeaaea2e4423a
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-musllinux_1_2_aarch64.whl
Size 53.8 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
4118c13bf43d7a65b619cebcae6e9470fddad65a989bb1d01e5363ecab2014ab
BLAKE2b-256 checksum
How to use checksums
04b6c7c6ee08f677bf47473abf6ea47f7ac321c9c55d5155fbe459365c8f77ee
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl
Size 55.3 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
1ed879399de7c4c866d5b81510a85f5b7c1601d9c1aa5a56b1e2d5788449ea96
BLAKE2b-256 checksum
How to use checksums
be45d8827adce5a4a1b03a6a6391fc9537f5e64860705704abd872a35e976c3a
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl
Size 58.4 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
c832e25d6d4dab2428ba7b29d5245475b0397d7f1942bab45fabc37cc941e154
BLAKE2b-256 checksum
How to use checksums
47fc659890275f217f39f58e9f21d5726d559970dec2946e29ba8a774797a316
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl
Size 57.8 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
49d60fd92a65e4ae93dd9f4a7ae7190c178c2c91243bf04b2dc033e178f4e852
BLAKE2b-256 checksum
How to use checksums
16c009d74e8206a09ceb0bd34bfb54ab1afd1ec9aa5ce060bfa41f5f8fc92db0
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 55.6 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
d528ff1b6bcb1250ae6271abb9fc5b57d547b52d3b8d8c584111328c81646716
BLAKE2b-256 checksum
How to use checksums
d868b2fecf31a0e5ac8314720c0d56f7678ee2089620ad69094e68e6a5a309c8
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 54.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
0d236b0a5304ffcb619e79a64ba599d938cfbf147d9f12dbcd706a2ccce508cc
BLAKE2b-256 checksum
How to use checksums
40dee22509833763f316f8247e37c587eedd62641cec6dafdf5be136dad05ff2
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Size 51.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
38c56067ab68ce6c45b15b66f6012af3a3b9987c8d812f7ab20592603a615bdb
BLAKE2b-256 checksum
How to use checksums
fb2ad3ce8da9dd738d665107fce6fdf4de0ff6c7cebbb5983638b76d26078609
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-macosx_11_0_arm64.whl
Size 26.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
06ad5f65768dc64e70e3af837e2540a4336d63c64f9276ae236fdfc50cd7567b
BLAKE2b-256 checksum
How to use checksums
5adbd1df9c0b676f13c96ae37b64fe1bf525cfa520527636853266611055c919
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 Aug 17, 2026.

Transparency log

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

Download URL conditional_method-0.2.9-cp39-abi3-macosx_10_9_x86_64.whl
Size 26.2 kB
Tags CPython 3.9 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f17fab0bdf9f89ea20473a18fc6dc6d521ed10feddcf8dfaaa339174f25dbe39
BLAKE2b-256 checksum
How to use checksums
f31580ca079029cdb6294f1a7a669d62e78417edf14bd4da059fc908ade26b5a
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 Aug 17, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

19 release files

0.3.2

19 release files

0.3.1

19 release files

0.3.0

19 release files

This release

0.2.9 This release

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