semvec/pypi-packages huggingface dataset:
turingproject 0.0.3
A small example package
Requires Python: >=3.7

# Calculator Package

The Calculator package provides a Calculator class that allows you to perform basic arithmetic operations and manipulate a memory value.

## Installation

To install the Calculator package, you can use pip:

```
pip install calculator-package
```

## Usage

First, import the `Calculator` class from the package:

```python
from calculator_package import Calculator
```

Create a Calculator instance:

```python
calc = Calculator()
```

Perform calculations using the available methods:

```python
calc.add(5)
calc.subtract(2)
calc.multiply(3)
calc.divide(2)
calc.root(2)
```

Access the current memory value:

```python
print("Memory:", calc.memory)
```

Reset the memory:

```python
calc.reset_memory()
print("Memory after reset:", calc.memory)
```

Refer to the docstrings in the source code for detailed information on each method.

## Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the [GitHub repository](https://github.com/your-username/calculator-package).

## License

This package is licensed under the [MIT License](LICENSE).
phoning-home 0.1.0
Phoning home, analytics and storage with 0 setup.
Requires Python: >=3.4
Keywords: phoning-home analytics cloud storage

# phoning-home

Phoning home provides out of the box capabilities
to phone home for security, analytics, gaming and reporting
with in-built consent mechanism. 
No server setups needed, only [Turso](https://turso.tech/) atm.


# Demo

```py
from phoning_home import ph

# url, token
ph.connect('http://url.turso.io', 't0k3nfh734tr673gqi78rytg3q34786') # use env vars

# Increment counters
@ph.counter('ZIP_DWNLDS')
def download_zipfile():
    # code for downloading zip file
    ...
count = ph.fetch('counter', 'ZIP_DWNLDS') 

# Leaderboard
ph.leaderboard('scrabble-123', 'yus', 100)
leaderboard = ph.fetch('leaderboard', 'scrabble-123')

# Send a deluge of kv values 
ph.info({
    'version': '1.2.3',
    'os': 'linux'
})
info = ph.fetch('info')

# Or namespace it
data = {
    'name': 'Miaw Spoogle',
    'username': 'purr678'
}
ph.namedinfo('USER_INFO', data)
namedinfo = ph.fetch('namedinfo', 'USER_INFO')
```