ZeroIntensity / mutstring

Make your Python strings mutable

Home Page:https://pypi.org/project/mutstring

Repository from Github https://github.comZeroIntensity/mutstringRepository from Github https://github.comZeroIntensity/mutstring

Mutstring

Make your Python strings mutable

please never use this ever oh god please

Quick Example

import mutstring

a = "hello"
a.capitalize()
print(a)  # Hello

mutstring.cleanup()

Installation

Linux/macOS

python3 -m pip install -U mutstring

Windows

py -3 -m pip install -U mutstring

Features

  • Bad code
  • Segfaults
  • Breaks about every library to exist

Why does this exist?

i don't know. see my other library, which this is built on top of.

Usage

If you want to use this awful library, just import it and call cleanup at the end of your script to prevent a segfault:

import mutstring

"hello {}".format("world")
print("hello {}")  # hello world

mutstring.cleanup()

About

Make your Python strings mutable

https://pypi.org/project/mutstring

License:MIT License


Languages

Language:Python 100.0%