semvec/pypi-packages huggingface dataset:
calculator-papartynas 1
Simple calculator module, supporting addition, subtraction, multiplication, division and taking nth root. 
Requires Python: >=3.11

# calculator-papartynas

Basic Python calculator for Turing College Data Science program's module #1, sprint #1. Supports floating point number
addition, subtraction, multiplication, division and taking nth root. Keeps track of the current calculation result.

## Installation

```shell
python3 -m pip install calculator_papartynas
```

## Examples

Import calculator module:

```python
from calculator-papartynas.calculator import Calculator
```

Perform basic mathematical operations:

```python
print(Calculator().add(2).subtract(1).multiply_by(8).divide_by(2).take_nth_root(2))
# outputs: ((0 + 2 - 1) × 8 / 2) ^ 0.5 = 2.0
```

Get calculation result:

```python
print(Calculator().add(42).result)  # outputs: 42
```

Reset memory:

```python
print(Calculator().add(1).reset_memory().add(1))  # outputs: 0 + 1 = 1
```
myturn-sdk 0.1.1
An SDK for the MyTurn website.  Selenium based as there is no REST API.
Requires Python: >=3.6

# MyTurn SDK
A Selenium based SDK written in Python for the [My Turn](https://myturn.com/) Lending Library Software.

# Prerequisites
[Google Chrome](https://www.google.com/chrome/) must be running on the machine this library runs on.

## Installation 
`pip install myturn-sdk`

## Usage

### Instantiate Library

```python
myturnSubdomain = 'mylibrary'
myTurnUsername = 'testuser'
myturnPassword = 'Password!'

myTurnClient = MyTurnClient(
            myturnSubdomain, myTurnUsername, myturnPassword)
```

### Search for a User

```python
request = UserSearchRequest()
request.email = 'homer@simpsons.com'
response = myTurnClient.users.searchUsers(request)

for user in response.users:
    print(user.firstName+' '+user.lastName)
```

Other functionality follows a similar pattern:
* myTurnClient.users.getUser()
* myTurnClient.users.getUserIdForMembershipId()
* myTurnClient.users.getRequestsToJoin()
* myTurnClient.users.appendNote()
* myTurnClient.users.setNote()
* myTurnClient.users.getNote()
* myTurnClient.users.deleteUser()

See unit tests for examples.