semvec/pypi-packages huggingface dataset:
bistring 0.5.0
Bidirectionally transformed strings
License: MIT
Requires Python: >=3.7
Keywords: bistring string non-destructive

bistring
========

|PyPI version|

The bistring library provides non-destructive versions of common string processing operations like normalization, case folding, and find/replace.
Each bistring remembers the original string, and how its substrings map to substrings of the modified version.

For example:

.. code-block:: python

    >>> from bistring import bistr
    >>> s = bistr('𝕿𝖍𝖊 𝖖𝖚𝖎𝖈𝖐, 𝖇𝖗𝖔𝖜𝖓 🦊 𝖏𝖚𝖒𝖕𝖘 𝖔𝖛𝖊𝖗 𝖙𝖍𝖊 𝖑𝖆𝖟𝖞 🐶')
    >>> s = s.normalize('NFKD')     # Unicode normalization
    >>> s = s.casefold()            # Case-insensitivity
    >>> s = s.replace('🦊', 'fox')  # Replace emoji with text
    >>> s = s.replace('🐶', 'dog')
    >>> s = s.sub(r'[^\w\s]+', '')  # Strip everything but letters and spaces
    >>> s = s[:19]                  # Extract a substring
    >>> s.modified                  # The modified substring, after changes
    'the quick brown fox'
    >>> s.original                  # The original substring, before changes
    '𝕿𝖍𝖊 𝖖𝖚𝖎𝖈𝖐, 𝖇𝖗𝖔𝖜𝖓 🦊'

This allows you to perform very aggressive text processing completely invisibly.

.. |PyPI version| image:: https://badge.fury.io/py/bistring.svg
    :target: https://pypi.org/project/bistring/
simba-lang 0.1.10
The Simba programming language
License: MIT
Requires Python: >=3.6

 # Simba Documentation

Simba is a Clojure-like, interpreted programming language that easily interoperates with all Python libraries.
Features:
- multimethods
- persistent immutable data structures via Pyrsistent
- easy interoperability
- macros
- Clojure-like standard library based on similar abstractions
- named arguments

Install:
You can use Simba from the command line by calling `src/simba.py` from the main directory.
You can execute some files with:
`src/simba.py <file-name> <eventual-other-file-names>*`; at which point the execution will always start in the main namespace.

Build: