Metadata-Version: 2.3
Name: mongo-analyser
Version: 0.1.6
Summary: A tool for analysing and extracting the schemas of MongoDB collections
License: MIT
Keywords: mongodb,python,nosql,command-line tool,json
Author: Hassan Abedi
Author-email: hassan.abedi.t@gmail.com
Maintainer: Hassan Abedi
Maintainer-email: hassan.abedi.t@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
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: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pymongo (>=4.10.1,<5.0.0)
Requires-Dist: pytz (>=2025.1,<2026.0)
Project-URL: Documentation, https://github.com/habedi/mongo-analyser/blob/main/docs/index.md
Project-URL: Repository, https://github.com/habedi/mongo-analyser
Description-Content-Type: text/markdown

## Mongo Analyser

[![Tests](https://img.shields.io/github/actions/workflow/status/habedi/mongo-analyser/tests.yml?label=tests)](https://github.com/habedi/mongo-analyser/actions/workflows/tests.yml)
[![Lint](https://img.shields.io/github/actions/workflow/status/habedi/mongo-analyser/lints.yml?label=lints)](https://github.com/habedi/mongo-analyser/actions/workflows/lints.yml)
[![codecov](https://codecov.io/gh/habedi/mongo-analyser/graph/badge.svg?token=HOTAZKP3V7)](https://codecov.io/gh/habedi/mongo-analyser)
[![CodeFactor](https://www.codefactor.io/repository/github/habedi/mongo-analyser/badge)](https://www.codefactor.io/repository/github/habedi/mongo-analyser)
[![PyPI version](https://badge.fury.io/py/mongo-analyser.svg)](https://badge.fury.io/py/mongo-analyser)
[![Pip downloads](https://img.shields.io/pypi/dm/mongo-analyser.svg)](https://pypi.org/project/mongo-analyser)
<br>
[![Python version](https://img.shields.io/badge/Python-%3E=3.9-blue?)](https://github.com/habedi/mongo-analyser)
[![Documentation](https://img.shields.io/badge/docs-latest-blue)](https://github.com/habedi/mongo-analyser/blob/main/docs/README.md)
[![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/habedi/mongo-analyser/blob/main/LICENSE)

Mongo Analyser is a Python library and command-line tool that can help people analyze and infer the schemas
of MongoDB collections.
It can also be used to extract data from MongoDB collections and store it in a compressed JSON file.

### Installation

Mongo Analyser can be installed using pip as a Python library:

```bash
pip install mongo-analyser
```

It can also be installed using pipx or uv as a standalone command-line tool:

```bash
pipx install mongo-analyser
```

```bash
uv tool install mongo-analyser
```

### Documentation

See the [docs](docs) directory for more information on how to use Mongo Analyser.

#### Command-line Usage Demo

[![asciicast](https://asciinema.org/a/682346.svg)](https://asciinema.org/a/682346)

### License

Mongo Analyser is licensed under the [MIT License](LICENSE).

