pockets
A collection of helpful Python tools!
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 pocketsuv
uv add pocketspoetry
poetry add pocketsInstalling 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
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
stringcaseConverts strings between different naming…
permissive · top 5,000 on PyPI
pyhumpsConverts strings and dictionary keys between…
permissive · top 5,000 on PyPI
pydashPydash provides a collection of functional…
permissive · top 5,000 on PyPI
more-itertoolsProvides additional iterator utilities and…
permissive · top 1,000 on PyPI
humpsConverts strings to camelCase format, handling…
copyleft · top 15,000 on PyPI
case-convertConverts strings between different case formats…
copyleft · top 15,000 on PyPI
pyheckConverts strings between case styles…
permissive · top 15,000 on PyPI
jaraco.itertoolsProvides additional iterator utilities and…
permissive · top 15,000 on PyPI
case-converterConverts strings between different naming…
permissive · top 15,000 on PyPI
case-conversionConverts strings between any case format…
permissive · top 15,000 on PyPI