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.

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.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.2.2
File Size Uploaded
conditional_method-0.2.2.tar.gz 806.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for conditional-method 0.2.2
File
conditional_method-0.2.2-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
conditional_method-0.2.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
conditional_method-0.2.2-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
conditional_method-0.2.2-cp39-abi3-pyemscripten_2025_0_wasm32.whl CPython 3.9 abi3 PyEmscripten 2025.0+ WebAssembly Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_s390x.whl CPython 3.9 abi3 Linux musl 1.2+ IBM System/390x Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_ppc64le.whl CPython 3.9 abi3 Linux musl 1.2+ PowerPC 64-le Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_i686.whl CPython 3.9 abi3 Linux musl 1.2+ x86-32 Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_armv7l.whl CPython 3.9 abi3 Linux musl 1.2+ ARMv7l Details
conditional_method-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.9 abi3 Linux glibc 2.17+ IBM System/390x Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.9 abi3 Linux glibc 2.17+ PowerPC 64-le Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl CPython 3.9 abi3 Linux glibc 2.31+ ARMv7l, Linux glibc 2.17+ ARMv7l Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details
conditional_method-0.2.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-32, Linux glibc 2.5+ x86-32 Details
conditional_method-0.2.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
conditional_method-0.2.2-cp39-abi3-macosx_10_9_x86_64.whl CPython 3.9 abi3 macOS 10.9+ x86-64 Details

Total release size: 1.5 MB

Release files / conditional_method-0.2.2.tar.gz

Download URL conditional_method-0.2.2.tar.gz
Size 806.3 kB
Tags Source
SHA-256 checksum
How to use checksums
019c45fc710aa504777cba0ed12be7fa246e52bc92591b8f5ee3d8a5cb48a68b
BLAKE2b-256 checksum
How to use checksums
39ebd23ca34b737cde419ea72c4afb172c2b47c73df3f2946883fb4184ab2f57
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-win_arm64.whl
Size 23.7 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
e79b836b0ec99ff5292317a7fb8a8d09b3dbf18c76cd3a069980a8dfb074b412
BLAKE2b-256 checksum
How to use checksums
acf059a1863140f30d6aa729350715ff1a1869f925076fb98b0082bb84005732
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-win_amd64.whl
Size 22.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2183e6128f51134874d299b81177a27ae12cb8455d197f0ada66047a88877713
BLAKE2b-256 checksum
How to use checksums
31aa478e731291657e68a3bad97e0249895893a41d02a67737c4807c275c60fd
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-win32.whl
Size 22.3 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
7dcd4680aac1eaa62402bf9ce28c4a7772bbe847f5f04b27a9ae45392338f7eb
BLAKE2b-256 checksum
How to use checksums
f2ea93482595844fe8633523c6ac1f41bf7427d9b0c0b6e4c4a3a45cb4441054
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-pyemscripten_2025_0_wasm32.whl

Download URL conditional_method-0.2.2-cp39-abi3-pyemscripten_2025_0_wasm32.whl
Size 17.9 kB
Tags CPython 3.9 PyEmscripten 2025.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
ddea2dc598786a5dd5665032ca363f78c41180afbef02c08b343d4339e5a9aa7
BLAKE2b-256 checksum
How to use checksums
34f35267c7a8f43b4257ef6de6734af03b9f4ec4416abe114bd2b256bbffd0fd
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 46.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
79c3f2420d231b1b758774b2f6b497fc044c3c277f3b82908ba33c533dbf415b
BLAKE2b-256 checksum
How to use checksums
696acd7dacea75294abfe99492fc68c051774f5cb7f63d47de0df2b4de65ea65
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_s390x.whl
Size 46.2 kB
Tags CPython 3.9 Linux musl 1.2+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
2029e79b9254cc45b0590282c5bd1a95c0356660ab106ac4a89fa5b54f733e37
BLAKE2b-256 checksum
How to use checksums
81562fea1c707372ac0c5b57301531ed08de2681aa1bd7cf4eaec1748de56d1c
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_ppc64le.whl
Size 48.8 kB
Tags CPython 3.9 Linux musl 1.2+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
c699d325408de56a5ffdede44fd5850574dc7e10e01e6ceb2d9d73f238bf99a7
BLAKE2b-256 checksum
How to use checksums
af5ff22104272905288bea8fc6cd6cd8ace906fea6e7a010f0409a018b7b598a
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_i686.whl
Size 45.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
5af14dbd99d1a39b8364756a306fe993af3dff1b873cf79b1ca1b3662db077ec
BLAKE2b-256 checksum
How to use checksums
6dcf0388b26c876d1d52c8b7518c6c5fef3306e365cd8da199df37660c875391
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_armv7l.whl
Size 44.7 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
b209f5143ad0484fb344c9adc15d1159dbc1ab2fc07d260b90921c722c20f9bf
BLAKE2b-256 checksum
How to use checksums
344812b073638d7733bb8912fd704b351e5a3a4b2ad835d499e5683663031d8d
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 46.3 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
6148e317453b774020092cf60ac3c50a42b2e2ab65748c01d6a8d0d17ba9e49a
BLAKE2b-256 checksum
How to use checksums
8358708608ef3c9121abcb4f90935f5fbc1c904d2e25510770467fa4717be45d
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 48.3 kB
Tags CPython 3.9 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
a63a4f6194099189fac85b4b3254ab37671209d9ee4fe5cade08ca79dbc0c445
BLAKE2b-256 checksum
How to use checksums
b9e3472bb16df08b299d9c73349e0a1288a1342fa4dcee57ebed1dc1a8c1edcf
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 51.1 kB
Tags CPython 3.9 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
0925d50a35a97a16824a2ba503c00d584ba6649be47fe03ad65f5521b4898bf9
BLAKE2b-256 checksum
How to use checksums
f02dbefc49bfaabbd12ca31f0a053fc2fd3a28b7892bc821e6414f9f4669e6a3
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl
Size 49.9 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
df27775b06b24f742c8bdf7187101ec717c59b599618b9d42cab9ccfe936bfe8
BLAKE2b-256 checksum
How to use checksums
2e479822719efe34837d5e1ca67df78bfca487b5fcc1d93d1c434c9747603949
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 48.0 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
9346199c965550016fd05be78053bf0c8ca33016d943b913941c955a6a5a089c
BLAKE2b-256 checksum
How to use checksums
cf04c4a5b4670c072de49a7b67ab39a079625a0be1a8509001680573b4715936
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 47.5 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
3a140d8afeb0ea293db90b9233a0e8f3bf7871169e6b187480d2823abc52f31e
BLAKE2b-256 checksum
How to use checksums
bc678c5370b9254cdba39260e9fb0710ca04c2fa4999c57b5c59c360f4f90d80
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 16, 2026.

Transparency log

Release files / conditional_method-0.2.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL conditional_method-0.2.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 45.6 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
09a8d19a1fea00a37b8bdf2923ab0810989812e13213cca3032b9c9e137bb9e9
BLAKE2b-256 checksum
How to use checksums
70b60de76241428bafb36a5ee3e84accafaf2012cc9c8a7276fb48c5cc615eb9
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
Size 21.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27f2b93af926511411ef5ae965f4502f23952e59ffb8838fd146ca437144c7c3
BLAKE2b-256 checksum
How to use checksums
72ec0adaaa02f60ce24276dcdeb2f67678c0b88d5fc4cb76798a01b0f4819eb9
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 16, 2026.

Transparency log

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

Download URL conditional_method-0.2.2-cp39-abi3-macosx_10_9_x86_64.whl
Size 21.6 kB
Tags CPython 3.9 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
ade07ab322517fbc866034cffc20a4a941755a93fe769369b308f9afeda25f7b
BLAKE2b-256 checksum
How to use checksums
5d4c8127e2d73bf315a1f32a8aad2f2296472298871f746ef31869f75647bec9
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 16, 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

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

This release

0.2.2 This release

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