$npx skillfedfor your agent

monty

Monty is the missing complement to Python.

With conditionsPyPI Python ModulesReleased Jul 2026952.4K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — monty-2026.7.16-py3-none-any.whl
v2026.7.16 · released 2026-07-16 · Python >=3.11 · 2 runtime deps: ruamel.yaml, numpy

Yes, if you're building scientific or data-heavy Python projects and want to reduce boilerplate with battle-tested utilities. The low install friction, permissive license, active maintenance, and zero known vulnerabilities make it a safe addition. The dependency on numpy and ruamel.yaml means it's most valuable in projects already using those libraries; if you're not, the overhead may not justify it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later.
  • Low friction install with a pure-Python wheel.
  • Actively maintained as of 2026-07-16.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2026-07-16 (29 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 952,390 downloads/mo, #4,653 on PyPI

Verify before relying

pip install monty

from monty.design_patterns import singleton

@singleton
class MyClass:
    pass
  • What specific utility functions and design patterns are included beyond the examples mentioned (singleton, cached_class, zipped file support)
  • Performance characteristics or overhead of the utility functions compared to hand-rolled equivalents
  • Whether the package is suitable for production use or primarily for development convenience
Same gist for agents: .md · .json

What it is and what it does

Monty is a utility library that fills gaps in Python's standard library by providing reusable helper functions and design patterns. It offers transparent support for working with zipped files, implements common patterns like singleton and cached_class decorators, and collects solutions to problems that developers frequently encounter across scientific and general-purpose projects.

The package depends on ruamel.yaml and numpy, making it suitable for projects already using those libraries. It's classified as Beta (Development Status 4) and actively maintained, with support for current Python versions (3.11+). The library is intended as a complement to the standard library rather than a replacement, designed to reduce boilerplate and provide battle-tested solutions to recurring problems.

Use it for

  • Implementing singleton or cached class patterns in scientific frameworks without writing custom decorators.
  • Transparently reading and writing files stored in zip archives without manual extraction.
  • Adding commonly needed utility functions to data processing pipelines that use numpy and ruamel.yaml.
  • Reducing boilerplate code in large Python projects by reusing well-tested design patterns.
  • Extending Python's standard library capabilities in development workflows where convenience matters.

Worth the install?

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

With conditions

Yes, if you're building scientific or data-heavy Python projects and want to reduce boilerplate with battle-tested utilities.

The low install friction, permissive license, active maintenance, and zero known vulnerabilities make it a safe addition. The dependency on numpy and ruamel.yaml means it's most valuable in projects already using those libraries; if you're not, the overhead may not justify it.

Install

monty on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained as of 2026-07-16. Depends on ruamel.yaml and numpy, both widely available.

Requires Python 3.11 or later.

License in practice

Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install monty

from monty.design_patterns import singleton

@singleton
class MyClass:
    pass

Verify before relying

  • What specific utility functions and design patterns are included beyond the examples mentioned (singleton, cached_class, zipped file support)
  • Performance characteristics or overhead of the utility functions compared to hand-rolled equivalents
  • Whether the package is suitable for production use or primarily for development convenience

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
ruamel.yamlnumpy
MaintenanceActively maintained 29 days since the last release
First released
Downloads952,390 / month, #4,653 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: monty-2026.7.16-py3-none-any.whl

Tags

Capabilities
python utility functionssingleton pattern implementationzipped file handlingpython standard library extensionscached class decoratorpython helper utilitiesdesign patterns library
Topics
design-patternsutilitiesscientific-python

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 › “zipped file handling”

  • montyMonty provides supplementary utility functions and design patterns…
  • pyexcel-ioProvides a unified API to read and write data in CSV, TSV, and zipped…
  • acresAcres provides a consistent, scoped interface for accessing package…

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 singleton-decorator · pyjon.utils · pydantic-monty-runtime · pydantic-monty · jaraco.collections · django-braces · sentinels · solus · wimpy · funcy