Metadata-Version: 2.4
Name: pymmdbserver
Version: 1.2.1
Summary: Python CLI and module for MMDB Server
License-Expression: BSD-3-Clause
License-File: LICENSE
Author: Raphaël Vinot
Author-email: raphael.vinot@circl.lu>
Requires-Python: >=3.10
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Telecommunications Industry
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet
Classifier: Topic :: Security
Provides-Extra: docs
Requires-Dist: Sphinx (>=9.1.0) ; (python_version >= "3.12") and (extra == "docs")
Requires-Dist: requests (>=2.32.5)
Project-URL: Documentation, https://pymmdbserver.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/Lookyloo/PyMmdbServer
Project-URL: issues, https://github.com/Lookyloo/PyMmdbServer
Description-Content-Type: text/markdown

# 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)

