pumpkinpy
is a project to create ports of Python's standard library functions to other languages.
The reasoning for this is that Python's standard library contains a lot of very nifty functions, particularly for string processing. This project does not mean or attempt to port the entirety of Python's functionality; it only attempts to implement the most useful functions, and attempts to do so as faithfully as possible within the constraints of the language of implementation.
Presently, support is as follows:
`endswith` | `startswith` | `partition` | `rpartition` | `rstrip` | |
---|---|---|---|---|---|
php | ✓ | ✓ | ✓ | ✓ | ✗ |
js | ✓ | ✓ | ✓ | ✓ | ✓ |
For support and questions, contact [email protected].