semvec/pypi-packages huggingface dataset:
ambhas 1.1.0
A library for data science in water
Requires Python: >=3.7

# ambhas
Ambhas python library

## Installing ambhas

Installing ambhas can be done by downloading source file (ambhas--<version>.tar.gz), and after unpacking issuing the command::

    python setup.py install

This requires the usual Distutils options available.

Or, download the ambhas--<version>.tar.gz file and issue the command::
    
   pip install /path/to/ambhas--<version>.tar.gz

Or, directly using the pip::

   pip install ambhas   
   

## Usage

Import required modules::

    import numpy as np
    from ambhas.errlib import rmse, correlation

Generate some random numbers::

    x = np.random.normal(size=100)
    y = np.random.normal(size=100)
    rmse(x,y)
    correlation(x,y)

# Author

Sat Kumar Tomer
satkumartomer at gmail dot com

## Changes

0.1.0 
* Initial version

0.1.1
* Minor corrections in setup.py files

0.2.0
* few packages added

0.3.0
* groundwater, sun_rise_set, soil texture module, etc. added

0.3.1
* manifest.in file edited

0.3.2
* extract_gis_data, richards, risat added

0.4.0 
* extract_gis_data, richards, risat added

1.0.0 
* Updated for Python3
* Removed copula from this and is available now only as a seperate library

# Any questions/comments

If you have any comment/suggestion/question, 
please feel free to write me at satkumartomer@gmail.com

You may go through https://github.com/tomersk/learn-python to see the examples.
async-google-trans-new 1.4.6
google_trans_new but it is async!

# async_google_trans_new

[![PyPI - Version](https://img.shields.io/pypi/v/async_google_trans_new?style=flat-square)](https://pypi.org/project/async-google-trans-new) [![PyPI - Downloads](https://img.shields.io/badge/dynamic/json?style=flat-square&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Fasync_google_trans_new)](https://pepy.tech/project/async-google-trans-new/)

This is a library based on [google_trans_new](https://github.com/lushan88a/google_trans_new) but it is async!  
It's very easy to use and solve the problem that the old api which use tk value cannot be used.  
This interface is for academic use only, please do not use it for commercial use.

---

# Installation

Run this:

```bash
pip install async-google-trans-new
```

---

# Basic Usage

### Translate

```python
import asyncio
import async_google_trans_new


async def coro():
    g = async_google_trans_new.AsyncTranslator()
    print(await g.translate("こんにちは、世界！","en"))

loop = asyncio.get_event_loop()
loop.run_until_complete(coro())
-> Hello world!
```

---

# Advanced Usage

### Translate

### Multi Translate

```python
import asyncio
from async_google_trans_new import AsyncTranslator


async def coro():
    g = AsyncTranslator()
    texts = ["こんにちは、世界！", "こんばんは、世界！", "おはよう、世界！"]
    gathers = []
    for text in texts:
    	gathers.append(g.translate(text, "en"))

    print(await asyncio.gather(*gathers))

loop = asyncio.get_event_loop()
loop.run_until_complete(coro())
-> ['Hello World! ', 'Good evening, the world! ', 'Good morning, the world! ']
```

---

# Prerequisites

- **Python 3.8 (Please make GitHub issue if you can use this lib on different python version)**
- **aiohttp**
- **urllib3**

---

# License

Please see [LICENSE](https://github.com/sevenc-nanashi/async_google_trans_new/blob/main/LICENSE).
waterquality 1.1.5
The waterquality package extends the functionality of the waterdetect package to calculate water quality parameters over the identified water mask. To do so, it is mandatory to have waterdetect package installed (pip install waterdetect).
Requires Python: >=3.6

The waterquality package extends the functionality of the waterdetect package to calculate water quality parameters over the identified water mask. To do so, it is mandatory to have waterdetect package installed (pip install waterdetect).
python-jsonvalidator 0.0.2
This package helps you validate     dictionaries against a defined schema

# Json Validator

A simple json validaor that validates a json object against a provided schema




## Features

- Validates a json object against a provided schema


## Tech Stack

Python3


## Installation

```bash
  pip3 install python-jsonvalidator
```

## Usage/Examples

```python
from jsonvalidator import jsonvalidator

schema = {
    "name": ["required", "string"],
    "phone": ["required", "string"],
    "email": ["required", "string"],
    "test": ["required", "boolean"],
    "job": {
        "title": ["required", "string"],
        "department": ["required", "string"],
        "salary": [
            {
                "gross": ["required", "float"],
                "net": ["required", "float"],
            },
        ],
    },
    "pet_names": ["required", "list"],
}

json_object = {
    "name": "John Doe",
    "phone": "+1 5555 5555",
    "email": "email",
    "test": True,
    "job": {
        "title": "Software Engineer",
        "department": "Engineering",
        "salary": [
            {
                "gross": 50000.00,
                "net": 50000.00,
            },
        ],
    },
    "pet_names": ["my pet"],
}


print(json_validator.validate_json(schema=schema, json_object=json_object)) # returns a json object
```


## License

[MIT](https://choosealicense.com/licenses/mit/)


## Authors

- [@murungakibaara](https://www.github.com/murungakibaara)