semvec/pypi-packages huggingface dataset:
Calculator3220 0.1.3
Simple math calculator

# Simple calculator3220

> calculator is a python method for simple math actions. Starting memory value = 0

## Installation

```sh
pip install calculator3220
```

## Usage

Make a simple math actions like addition, substraction, divide, multiply, root:

```python
>>> import calculator3220
>>> calculator = calculator3220.Calculator()
```
-   Adding number to memory value(memory value is 0):

```python
>>> calculator.add(5)
5.0
>>> calculator.add(3)
2.0
```

-   Substract number from memory value(memory value is 0):

```python
>>> calculator.sub(5)
-5.0
>>> calculator.sub(-9)
4.0
```

-   Dividing memory value by number(memory value is 80):

```python
>>> calculator.div(5)
16
>>> calculator.div(4)
4
```

-   Multiply memory value by number(memory value is 5):

```python
>>> calculator.mul(10)
50
>>> calculator.mul(2)
100
```

-   Root by number of memory value(memory value is 27):

```python
>>> calculator.root(3)
3
```

-   Reset memory value(memory value is 27):

```python
>>> calculator.reset()
0
```


## License

[MIT](https://choosealicense.com/licenses/mit/)
xstr 0.0.2
package for converting strings to common ones, contains ustr UnderlineString dstr DotString hstr HyphenString
Requires Python: >=3.7

# xstr

#### New python3 strings just dropped. 

# Installation

```bash
pip3 install xstr
```

```python3
from xstr import ustr
from xtr import dstr
from xstr import hstr
```

or

```python3

import xstr

```

or 

```python3
import hstr
# import dstr
# import ustr
```


# HypenString  --    hstr()

```python3
from xstr import hstr


x = hstr('hello new world and all who inhabit it.')
print(x)
# hello-new-world-and-all-who-inhabit-it.
print(x.original())
# hello new world and all who inhabit it.

```

output


```output
hello-new-world-and-all-who-inhabit-it.
hello new world and all who inhabit it.
```


# DotString   --  dstr()  

```python3
from xstr import dstr


x = dstr('hello new world and all who inhabit it.')
print(x)
# hello.new.world.and.all.who.inhabit.it.
print(x.original())
# hello new world and all who inhabit it.

```


output


```output
hello.new.world.and.all.who.inhabit.it.
hello new world and all who inhabit it.
```

# UnderlineString --  ustr()  

```python3
from xstr import ustr


x = ustr('hello new world and all who inhabit it.')
print(x)
# hello_new_world_and_all_who_inhabit_it.
print(x.original())
# hello new world and all who inhabit it.

```

output


```output
hello_new_world_and_all_who_inhabit_it.
hello new world and all who inhabit it.
```
xstr-donaldguiles 0.0.1
package for converting strings to common ones, contains ustr UnderlineString dstr DotString hstr HyphenString
Requires Python: >=3.7

# xstr

#### New python3 strings just dropped. 

# Installation

```bash
cd <project>
https://github.com/Donny-GUI/xstr.git
```

```python3
from xstr import ustr
from xtr import dstr
from xstr import hstr
```

or

```python3

import xstr

```

or 

```python3
import hstr
# import dstr
# import ustr
```


# HypenString  --    hstr()

```python3
from xstr import hstr


x = hstr('hello new world and all who inhabit it.')
print(x)
# hello-new-world-and-all-who-inhabit-it.
print(x.original())
# hello new world and all who inhabit it.

```

output


```output
hello-new-world-and-all-who-inhabit-it.
hello new world and all who inhabit it.
```


# DotString   --  dstr()  

```python3
from xstr import dstr


x = dstr('hello new world and all who inhabit it.')
print(x)
# hello.new.world.and.all.who.inhabit.it.
print(x.original())
# hello new world and all who inhabit it.

```


output


```output
hello.new.world.and.all.who.inhabit.it.
hello new world and all who inhabit it.
```

# UnderlineString --  ustr()  

```python3
from xstr import ustr


x = ustr('hello new world and all who inhabit it.')
print(x)
# hello_new_world_and_all_who_inhabit_it.
print(x.original())
# hello new world and all who inhabit it.

```

output


```output
hello_new_world_and_all_who_inhabit_it.
hello new world and all who inhabit it.
```