semvec/pypi-packages huggingface dataset:
extmath 0.9.2
Collections of useful tools in mathematics.
License: MIT

Extended Math
=============

`extmath` (formerly `mathapi`) aims to provide a lightweight & independent
extended mathematical module for Python 3.


Avalable Feature
----------------

- Infinite Number Sets
    - `prime`: 2, 3, 5, 7, 11, 13, 17, ...
        - primary test done by asking does element exists, e.g. `13 in prime`.
    - `fibonacci`: 1, 1, 2, 3, 5, 8, 13, 21, ...
        - Compute fibonacci number at any index by `fibonacci(i)`.
            It's the same as `fibonacci[i]`, except the list will not growth.
- Duality Value-Function Data Type
    - `pi`: 3.1416..., or prime-counting function.
    - `phi`: 1.6180..., or Euler's totient function.
- Subscriptable Function
    - `sigma`: divisor function, `sigma[0]` for len and `sigma[1]` for sum.
- Number Theory
    - `factorized`: Prime factorization of a number.
    - `divisors`: Show all positive divisable numbers of a number.
    - `Fraction.decimal`: Show repeating decimal of a fraction number.
- Arithmetic Function
    - `product`: Production of a list of numbers.
    - `sumpow`: Summation of numbers from `[1..n]`, or `[1**p..n**p]`.
    - `sumexp`: Summation of numbers from `[r**0..r**k]`.

See document in file `test.rst`

Installation
------------

Download source and, as root

    python setup.py install
clusterweb 0.0.0.2
ClusterWeb, a distributed system API for SSH and PBS systems
License: MIT

![alt text](./docs/source/images/logo_color.png?raw=true "Icon")

# ClusterWeb: Distributed System Python API

ClusterWeb is a Python library for creating compute clusters out of any devices that use SSH. 

#### Documentation: <https://cluster-web.readthedocs.io/en/latest/>

### Compatiable Devices

- CPUs nodes
- Desktops 
- GPUs workstations
- Laptops
- Raspberry Pi
- Android phones


### Requirements

- Python 3.6 or above
- SSH
- Linux or OSX
- pickle
- cloudpickle (host machine)


### Basic Usage:

```python
from clusterweb.pbs.qsub import Qsub
import time

def job(arg):
  a,b = 0,1
  for _ in range(int(arg)):
     a,b = b,a+b
  return a 

q = Qsub(job,1e5)
q.push()
q.pull(thread=False)

print(q.result)
```