imageworks/pystring
C++ functions matching the interface and behavior of python string methods with std::string observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 87
- Release rhythm 76
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 63
- age_days: 5613
- days_rel: 81
- days_push: 81
- n_releases_24m: 2
Adoption not part of the score
1089 stars · 167 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pystring is a collection of C++ functions that replicate the interface and behavior of Python's string class methods using std::string, without requiring a Python interpreter. It was originally developed at Sony Pictures Imageworks and is useful in mixed C++/Python environments.
Use cases
- use python-style string methods in C++ code
- find and slice strings like python's str.find and slicing
- port python string manipulation logic to C++
- share string handling behavior between C++ and python codebases
- perform string operations missing from the C++ standard library
When to choose
- you need python-compatible string semantics in a C++ project
- your codebase mixes C++ and python and needs consistent string behavior
- you want lightweight string utilities with no python interpreter dependency
When to avoid
- you need unicode-aware string operations beyond std::string's capabilities
- you prefer modern C++ standard library or range-based string utilities
- you need a full string class rather than free functions
Facets
library · maturity stable
parser developer-tools developer-tools programming-languages cross-platform cpp cross-platform string-manipulation python-compatibility std-string header-only
1 source
- readme: https://github.com/imageworks/pystring · fetched 2026-08-28 · b77a625b6b94
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| imageworks/pystring | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="imageworks/pystring")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem