Skip to main content
Package Version PyPI - Status Tests Status Code Coverage Percentage Project License Python Versions

🎭 A very simple Python library package which provides a base class for falsey objects - objects that evaluate to False in boolean contexts.

Installation 📦

pip install falsifier

Examples 💡

The Falsifier class provides a base for creating objects that evaluate to False in boolean contexts:

>>> from falsifier import Falsifier
>>> obj = Falsifier( )
>>> bool( obj )
False

Identity-based equality ensures each instance is only equal to itself:

>>> obj2 = Falsifier( )
>>> obj == obj2
False
>>> obj == obj
True

Use Cases 🎯

  • 🚩 Sentinel Objects: Base class for creating unique sentinel objects that evaluate to False.

  • 🕳️ Absence Indicators: Foundation for creating objects that represent absence or invalidity when None or False may be valid.

More Flair

GitHub last commit Copier Hatch pre-commit Pyright Ruff PyPI - Implementation PyPI - Wheel

Other Projects by This Author 🌟

  • python-absence (absence on PyPI)

    🕳️ A Python library package which provides a sentinel for absent values - a falsey, immutable singleton that represents the absence of a value in contexts where None or False may be valid values.

  • python-accretive (accretive on PyPI)

    🌌 A Python library package which provides accretive data structures - collections which can grow but never shrink.

  • python-classcore (classcore on PyPI)

    🏭 A Python library package which provides foundational class factories and decorators for providing classes with attributes immutability and concealment and other custom behaviors.

  • python-dynadoc (dynadoc on PyPI)

    📝 A Python library package which bridges the gap between rich annotations and automatic documentation generation with configurable renderers and support for reusable fragments.

  • python-frigid (frigid on PyPI)

    🔒 A Python library package which provides immutable data structures - collections which cannot be modified after creation.

  • python-icecream-truck (icecream-truck on PyPI)

    🍦 Flavorful Debugging - A Python library which enhances the powerful and well-known icecream package with flavored traces, configuration hierarchies, customized outputs, ready-made recipes, and more.

  • python-mimeogram (mimeogram on PyPI)

    📨 A command-line tool for exchanging collections of files with Large Language Models - bundle multiple files into a single clipboard-ready document while preserving directory structure and metadata… good for code reviews, project sharing, and LLM interactions.

Metadata

Release files for falsifier 2.1.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 falsifier 2.1.1
File Size Uploaded
falsifier-2.1.1.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for falsifier 2.1.1
File Interpreter ABI Platform
falsifier-2.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / falsifier-2.1.1.tar.gz

Download URL falsifier-2.1.1.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8c2ed73db01fba6b9d1a12b17b051c3e3abb2e1c460f9efa2b29777ea052037
BLAKE2b-256 checksum
How to use checksums
4debb48fda400c6a41723c4a74894b0243225716d21dd1543840b48a0c2411eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 3, 2025.

Transparency log

Release files / falsifier-2.1.1-py3-none-any.whl

Download URL falsifier-2.1.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb59045a9ea7b768af5b9aa31909ea6e48ac7d748a79cb7e7cfa083663ed5d8
BLAKE2b-256 checksum
How to use checksums
842cdd9b664166bbf740a7bf4a82ba349dd9c1ae234e485cba5665aa83095ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 3, 2025.

Transparency log
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