skillfed

pockets

A collection of helpful Python tools!

pockets v0.9.1 389.8K downloads/30d#7,025 on PyPI
Permissive license BSD Abandoned released

What it is and what it does

Pockets is a utility library that collects helper functions for bridging impedance mismatches between different Python frameworks and APIs. It provides functions for string case conversion (camelCase ↔ underscore_separated), dynamic object resolution from string names, automatic contextual logging, and peek-ahead iteration. The library is designed for scenarios where you need to adapt data types or names between an external API and an internal data model.

The package depends only on six and installs as a pure Python wheel with no compiled dependencies. However, it has been unmaintained since 2019-11-02 and shows no recent development activity, which raises questions about its compatibility with modern Python versions and whether its single dependency remains actively supported.

Use it for:

  • Convert API field names from underscore_separated format to CamelCase to match internal model class names
  • Dynamically resolve string class names into actual class objects for factory patterns or plugin systems
  • Automatically log from the correct module and class context without manual logger setup
  • Peek ahead in an iterator to inspect upcoming values without consuming them

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Pockets provides a collection of utility functions for common Python tasks like converting between naming conventions (camelCase and underscore_separated), resolving string names to objects, automatic logging, and peek-ahead iteration.

No. While the package has low install friction and no known vulnerabilities, it has been abandoned for 2477 days with no maintenance since 2019-11-02. The utility functions it provides are straightforward enough to implement directly or find in actively maintained alternatives. Using an unmaintained package introduces long-term compatibility risk without ongoing support.

Install

pockets on PyPI

pip

pip install pockets

uv

uv add pockets

poetry

poetry add pockets

Installing pockets

Before you install

Low install friction with a single lightweight dependency (six). However, the package has been abandoned for 2477 days since its last release on 2019-11-02, with no recent maintenance activity.

License in practice

Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install pockets

from pockets import camel, uncamel, resolve
model_name = camel('user_preference')
original = uncamel('UserPreference')
obj = resolve('calendar.TextCalendar')

Verify before relying

  • Whether the package remains compatible with current Python versions despite no updates since 2019-11-02
  • Whether the single dependency (six) is still maintained and available
  • Current status of the GitHub repository and whether it has been formally archived

Package facts

License BSD (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — six
Maintenance abandoned — 2,477 days since the last release
First released
Downloads 389,814/month — #7,025 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pockets-0.9.1-py2.py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Tags

string case conversion camelcase underscoreresolve string to python objectutility helper functions pythonpeek ahead iteratorautomatic logging by module
string-utilitiesobject-resolutionabandoned

More Libraries packages