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.

Links

Release files for conditional-method 0.3.1

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.1
File Size Uploaded
conditional_method-0.3.1.tar.gz 29.7 kB Details

Built distributions (wheels)

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

Total release size: 975.9 kB

Release files / conditional_method-0.3.1.tar.gz

Download URL conditional_method-0.3.1.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43df7bdbb48121b0c66fd0f968f2ed10e164d851cdf24c4d5c11c0c8c55e6e8d
BLAKE2b-256 checksum
How to use checksums
7c47cc985cdf023bc7be74ac897efc01fa3ea82715420cc268a5542eb1106141
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-win_arm64.whl
Size 33.5 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
e01791ee093bfdff81f28dbde025137e7a6af95896686f7ea8953877da799032
BLAKE2b-256 checksum
How to use checksums
d4a599597ff236e1bdba981f46a780dd2ed46fb8416abc433af8cac231998aef
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-win_amd64.whl
Size 32.6 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1423f45f96212c888b7973445345f9d2bb7b8942ca3e3a1db4e4db2f97767c1d
BLAKE2b-256 checksum
How to use checksums
5021f1ce72c9cdf9191961f2339126874391b08790d529fb4a04cb31b5d11680
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-win32.whl
Size 31.7 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
955b560b071465cae3e7734f8477f0acb48a0f48ac82a8433d9f59272ef35c5f
BLAKE2b-256 checksum
How to use checksums
28345465b3b2b66ba2f9bc0b8caff3bfe249b696ba2c6cf41203612cafc5080b
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-pyemscripten_2026_0_wasm32.whl
Size 26.9 kB
Tags CPython 3.9 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
8d3a1d208ce1326d81c03c45b605e3f486d939494957728fb47ed6a925d1ee43
BLAKE2b-256 checksum
How to use checksums
82b65df3dcd011b8f3262877ea8f5baf7ca6d8bff51da0eb8ede69bdff83fc0b
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 61.8 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
7ddfb913eca514b5e4da22456ffac292fa3d07df2010e1029d050090f22c4f03
BLAKE2b-256 checksum
How to use checksums
9697db52004c0b8ecce47dfbc5d57821fc4e0fcd296cfd3fd2825739539e3cd8
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_s390x.whl
Size 62.3 kB
Tags CPython 3.9 Linux musl 1.2+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
6b6c4af234d38821f25fd89e2fbe8da4a1a5274dc4a282682fe5bba132bf9f69
BLAKE2b-256 checksum
How to use checksums
4541f67e2ba607b0b83c7f78ccb50a76b74de41d8275f65325d2b7d9a7ef293d
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_ppc64le.whl
Size 65.2 kB
Tags CPython 3.9 Linux musl 1.2+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
5f1a774f16fd08ee76064c36e0be9e9da2dba8249633a8cb283d7c3bc5745d88
BLAKE2b-256 checksum
How to use checksums
88609ad71e3848f03353109e8b9862e9584ee6f9f61eb52ee940a7d43456bb7d
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_i686.whl
Size 60.5 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
5b1347cb362b12ef6eb650a4105732ce5caeb27e11b0182dd6ce5e5833881400
BLAKE2b-256 checksum
How to use checksums
43e001ae440f466e4870114874d4c834ffda85b0347a0d46c07b29b5739218aa
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_armv7l.whl
Size 60.0 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
282f98c896e678661d04f5615c036a7e28b9b2f7bd63a72dfeb2264cd3246e98
BLAKE2b-256 checksum
How to use checksums
fdf9a49b52681d96d73a5033d37ebf6759e740364db902d8cef6eb1b48d5896a
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 62.4 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
7e835e9a256e284e1b680ae3bd4192ff2803f14373e5e3b0f4d0f6a5b835ac58
BLAKE2b-256 checksum
How to use checksums
8c7f7e24c9990336ef4eafb10ccb658515d2f3e7ca3111d1f4f458743997dcf5
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl
Size 64.5 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
ffcb36ad2996c7b97df8c83cd615ebbcaeec36d5844e1c6a30f9b8a19933c940
BLAKE2b-256 checksum
How to use checksums
0048799499ffed1bfcfc53d190248d694bc48cc621ffa3c96ee0de05f41c5911
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl
Size 67.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
a74d1de215b132fd8053288e3f839458b8adf223d7037a2a60102eaa81fa9c1c
BLAKE2b-256 checksum
How to use checksums
d5eeef9c647b1718e18be3671abc576875b48cf66f2d860e43deb156f3378b45
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl
Size 66.3 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
ebd201505b40aeec440fd5c71d0a36d8adb98acf138ee2fccbf2b7cd3980a365
BLAKE2b-256 checksum
How to use checksums
9f13145abb04aa566971aaea23e902a4e96dc225423450b0c4c1064b299259b6
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 64.3 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3d4dfdfee1301239e3d1d1add2b9a78f15352953e45c3df90dcba8bb6c8d23e7
BLAKE2b-256 checksum
How to use checksums
6fbd6deebd9f84e34edf38098d506f3143ad2df18582864f6156130210a29606
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 63.0 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
1b6bbea6e08cf2e341f2270ec91a6f4c6288b7e790b38b0ad9c914e735a79b39
BLAKE2b-256 checksum
How to use checksums
5f881813c092764f0cd020fb1923e35f08d4dbdbb8bcdf41f67314367f44da0d
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Size 60.5 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
96824e6df8fa70d67b978a087caa1bb1d020120e33d72db1778e110671b7639f
BLAKE2b-256 checksum
How to use checksums
3a66286d2fe272acd192015412c1fef2dce0530481eea37192bad448af5350be
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-macosx_11_0_arm64.whl
Size 31.8 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b1fef5cd28bd63354585052d3f4377662436448c243df6ecf0e4b7c5c65a9689
BLAKE2b-256 checksum
How to use checksums
65bdae1bf1c0f7fdd6cb6254bc93640a30031aa796e347c1c3560031355b1b74
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 20, 2026.

Transparency log

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

Download URL conditional_method-0.3.1-cp39-abi3-macosx_10_9_x86_64.whl
Size 31.5 kB
Tags CPython 3.9 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
878fa592aa63d4765e5ffee95e58480dc522faa71e0d19b0ebdecb280a4b6b7a
BLAKE2b-256 checksum
How to use checksums
ab1daf9dcfd99c2de0d97f40aeef04f63c373ba3b7c732145ef417e0e2ecb2bc
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

19 release files

0.3.2

19 release files

This release

0.3.1 This release

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