semvec/pypi-packages huggingface dataset:
eskiz-sms 0.2.5
Package for eskiz.uz/sms
Requires Python: <4.0,>=3.8

# eskiz-sms

eskiz-sms package for eskiz.uz/sms

Discussion group: https://t.me/+xFkMROBeFp45ZmQ0

[![Downloads](https://pepy.tech/badge/eskiz-sms)](https://pepy.tech/project/eskiz-sms)
[![Downloads](https://pepy.tech/badge/eskiz-sms/month)](https://pepy.tech/project/eskiz-sms)
[![Downloads](https://pepy.tech/badge/eskiz-sms/week)](https://pepy.tech/project/eskiz-sms)

> :warning: **Please use the latest version. In previous versions, there are a lot of mistakes, bugs**

# Installation

```
pip install eskiz_sms
```

# Quickstart

```python
from eskiz_sms import EskizSMS

email = "your_email@mail.com"
password = "your_password"
eskiz = EskizSMS(email=email, password=password)
eskiz.send_sms('998991234567', 'message', from_whom='4546', callback_url=None)
```

### Using pre-saved token

```python
from eskiz_sms import EskizSMS

your_saved_token = 'eySomething9320'
eskiz = EskizSMS('email', 'password')
eskiz.token.set(your_saved_token)

eskiz.send_sms('998901234567', message='message')
```

### Saving token to env file

If you set `save_token=True` it will save the token to env file

```python
from eskiz_sms import EskizSMS

eskiz = EskizSMS('email', 'password', save_token=True, env_file_path='.env')
# Don't forget to add env file to .gitignore!
response = eskiz.send_sms('998901234567', message='message')
```
### Async usage

```python
import asyncio

from eskiz_sms.async_ import EskizSMS


async def main():
    eskiz = EskizSMS('email', 'password')
    response = await eskiz.send_sms('998901234567', 'Hello, World!')


asyncio.run(main())
```
pymmdbserver 1.2.1
Python CLI and module for MMDB Server
Requires Python: >=3.10

# Python client and module for MMDB Server

This library offers a simple interface to query [MMDB Server](https://github.com/adulau/mmdb-server) using Python.
It provides both a command-line interface and a library.

## Installation

```bash
pip install pymmdbserver
```

## Usage

### Command line

You can use the `mmdbserver` command to query the MMDB Server from the command line.:

```bash
usage: mmdbserver [-h] [--url URL] [ip]

Query a thing.

positional arguments:
  ip          IP address to query. If not set, returns the geolookup information from the client IP.

options:
  -h, --help  show this help message and exit
  --url URL   URL of the instance.
```

### Library

See [API Reference](https://pymmdbserver.readthedocs.io/en/latest/api_reference.html)