semvec/pypi-packages huggingface dataset:
stringbuilder.py 2.0.1
Functional String Building

Example #1
----------
```python
import stringbuilder

@stringbuilder
def buildstring():
    yield "foo"
    yield 1234
    yield object()
    yield "bar"

mystring = buildstring(delim='\n')

print(mystring)
```
Output:
```
foo
1234
<object object at 0xdeadbeefcafe>
bar
```
Example #2
----------

```python
@stringbuilder.build(delim='\n')
def mystring():
    yield "foo"
    yield 1234
    yield object()
    yield "bar"

print(mystring)
```
Output:
```
foo
1234
<object object at 0xdeadbeefcafe>
bar
```