semvec/pypi-packages huggingface dataset:
cell-tools 0.0.21
cell_tools - Analysis Tools for Single-Cell Data
License: MIT
Requires Python: >3.7.0

# ![cell-tools_logo](docs/imgs/cell-tools.logo.svg)

[![PyPI pyversions](https://img.shields.io/pypi/pyversions/cell-tools.svg)](https://pypi.python.org/pypi/cell-tools/)
[![PyPI version](https://badge.fury.io/py/cell-tools.svg)](https://badge.fury.io/py/cell-tools)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

**cell-tools** is a **Single-Cell Data Analysis Toolkit** with the following areas of focus and development:

1. scRNA-seq data
2. scATAC-seq data
3. Multiomic (mostly scRNA-seq + scATAC-seq) data

Funtion development will likely focus on scATAC-seq given that there are so many python-implemented tools developed already for scRNA-seq. However, wrappers that enable batch-mode QC and pipeline-oriented solutions have been designed and will eventually be added.

### Installation
<!-- **Install with `pip`**:
```BASH
pip install cell-tools
``` -->

**Install the development package**:
```BASH
# (1) clone this repository
git clone https://github.com/mvinyard/cell-tools.git

# (2) install the local project in editable mode
cd ./perturb-tools; pip install -e .
```
torchpwl 0.2.0
Implementation of Piecewise Linear Functions (PWL) in PyTorch.
License: MIT

Piecewise Linear Functions (PWLs) can be used to approximate any 1D function. 
PWLs are built with a configurable number of line segments - the more segments the more accurate the approximation.
This package implements PWLs in PyTorch and as such they can be fit to the data using standard gradient descent.
For example:

import torchpwl

# Create a PWL consisting of 3 segments for 5 features - each feature will have its own PWL function.
pwl = torchpwl.PWL(num_features=5, num_breakpoints=3)
x = torch.Tensor(11, 5).normal_()
y = pwl(x)


Monotonicity is also supported via `MonoPWL`. See the class documentations for more details.
letesend 0.4
Letesend sdk for sending and monitoring SMS
License: MIT
Keywords: letesend,letesend python,letesend-python,python letesend,python-letesend

# Letesend Python

This is a python library for sending and monitoring SMS with [letesend](https://letesend.com/).
Letesend is a sms gateway that tries to make sms price cheaper, more information at [letesend.com](https://letesend.com/).


## Installation

Install using [pip](https://pypi.org/project/letesend/) with :

```sh
pip install letesend
```

## Example Usage

Go to [letesend.com/console](https://letesend.com/console) and copy your **auth token**. After installing, import **letesend** into your program and replace your **auth token**, see the code below.


```py
from letesend import SMS

AUTH_TOKEN  = "Replace_Your_Auth_Token_Here"
sms         = SMS(AUTH_TOKEN)

sms.send(
    to      = "+243xxxxxxxxx",
    name    = "Company",
    body    = "Hello World !"
)

if sms.ok:
    print('SMS processed successfully')

print(sms.status_code, sms.status_text)
```

**Output**

```py
SMS processed successfully
```

```py
201 {
    "id":5,
    "to":"+243xxxxxxxxx",
    "name":"Company",
    "body":"Hello World !",
    "status":"0",
    "date":"2022-03-05",
    "time":"11:57:28.357820"
}
```

**Troubleshoot**

```py
403 {
    'detail': 'Your balance (0.0$) is insufficient to send 1 SMS.'
}
```
It means you don't have enough money in your account For sending the SMS.
```py
400 {
    'to': ['The phone number entered is not valid.']
}
```
The phone number must a **E.164** format.


## Class Description

The SMS class description provides **methods** and **attributes** for sending and monitoring SMS.

### Methods

#### Send

Send sms with letesend gateway.

| Parameters  | Type | Description |
|-------------|------|-------------|
| to          | String  | The receiver phone number (E.164 format) |
| name        | String  | The name (will be displayed in the SMS header) |
| body        | Strimg  | The sms body (the message) |


### attributes

| Name  | Type | Description |
|-------------|------|-------------|
| id          | Integer| The unique sms indetification |
| to          | String | The receiver phone number (E.164 format)|
| name        | String | The name (will be displayed in the SMS header)|
| body        | String | The sms body (the message) |
| status      | String | The SMS status <br/> **0** : Processed <br/> **1** : Sent <br/> **2** : Queued <br/> **3** : Scheduled <br/> **4** : Undelivered <br/> **5** : Delivered <br/> **6** : Delivery_unknown <br/> **7** : Failed  |
| date        | String | The date the request was sent to our server |
| time        | String | The time the request was sent to our server |
| status_code | String | The http response status <br> **201**  : The SMS has successfully Processed <br/> **403**  : Can not send SMS for some reasons <br/> **400** : Bad Request|
| status_text | String | The http response details |
| ok          | Boolean| SMS processed successfully|
| auth_token  | String | The Authentication token. |

<br/>

More information at [letesend.com](https://letesend.com/) or contact us at  [support@letesend.com](mailto:support@letesend.com/)