$npx skillfedfor your agent

sentinel

Create sentinel objects, akin to None, NotImplemented, Ellipsis

With conditionsPyPI Python ModulesReleased Jul 2022146.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sentinel-1.0.0-py3-none-any.whl
v1.0.0 · released 2022-07-23 · Python >=3.6,<4.0

Yes, if you need sentinel objects for a small, self-contained utility. The package is stable, has no dependencies, and solves a real problem cleanly. However, the abandoned status (last commit 2022-07-23) means no future maintenance or Python 4 support—acceptable for a mature, narrow-scope library but worth noting if you depend on active upstream development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • Package is marked abandoned (last commit 2022-07-23), though it remains stable and compatible with Python 3.6 through 3.10.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open and closed-source projects.

last release 2022-07-23 (1483 days) · last repo commit 2022-07-23 · 28 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 146,455 downloads/mo, #11,098 on PyPI

Verify before relying

pip install sentinel

import sentinel

Missing = sentinel.create("Missing")
if d.get("key", Missing) is Missing:
    print("Key not found")
  • Whether the abandoned status and 2022 last commit affect real-world reliability for typical use cases.
  • Whether python-varname extra (for name inference) remains compatible with current python-varname versions.
Same gist for agents: .md · .json

What it is and what it does

Sentinel creates lightweight singleton objects that act as unique markers, similar to Python's built-in None, NotImplemented, and Ellipsis. Each sentinel is the only instance of its own anonymous class, making it safe to compare with `is` rather than `==`. This is useful when you need to distinguish a truly missing or unset value from legitimate falsy values like 0, False, or None that might actually be stored in a data structure.

The package supports pickling, deepcopy, and allows you to attach custom methods and attributes to sentinels. It has an optional feature (via the varname extra) to infer sentinel names from assignment expressions, reducing boilerplate. With zero runtime dependencies and support for Python 3.6+, it's a minimal utility for cases where None alone is insufficient as a sentinel.

Use it for

  • Distinguish missing dictionary entries from stored None or falsy values using dict.get() with a sentinel default.
  • Set meaningful default values in dict.setdefault() when all other values (including 0, False, None) are valid.
  • Mark leaf nodes or terminal states in tree or graph structures with a singleton that can be checked with `is`.
  • Create self-documenting API return values that signal special conditions without overloading None or raising exceptions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need sentinel objects for a small, self-contained utility.

The package is stable, has no dependencies, and solves a real problem cleanly. However, the abandoned status (last commit 2022-07-23) means no future maintenance or Python 4 support—acceptable for a mature, narrow-scope library but worth noting if you depend on active upstream development.

Install

sentinel on PyPI

Before you install

Low friction installation with no runtime dependencies. Package is marked abandoned (last commit 2022-07-23), though it remains stable and compatible with Python 3.6 through 3.10.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open and closed-source projects.

Quickstart

pip install sentinel

import sentinel

Missing = sentinel.create("Missing")
if d.get("key", Missing) is Missing:
    print("Key not found")

Verify before relying

  • Whether the abandoned status and 2022 last commit affect real-world reliability for typical use cases.
  • Whether python-varname extra (for name inference) remains compatible with current python-varname versions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,483 days since the last release
Last repo commit
First released
Downloads146,455 / month, #11,098 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: sentinel-1.0.0-py3-none-any.whl

Tags

Capabilities
sentinel objects pythonsingleton pattern implementationmissing value markerdistinguish none from missingspecial symbolic objectsterminating condition marker
Topics
singleton-patterndesign-pattern

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sentinel objects python”

  • sentinelCreates singleton sentinel objects that represent special terminating…
  • sentinelsProvides singleton sentinel objects with special meanings—distinct…
  • func_argsProvides sentinel values (REQ and OPT) and utility functions to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also niltype · nulltype · sentinels · solus · Redis-Sentinel-Url · redis-cli · singleton-decorator · func_args · iterators · sentinelhub