Metadata-Version: 2.1
Name: tmlt.analytics
Version: 0.20.0
Summary: Tumult's differential privacy analytics API
Home-page: https://www.tmlt.dev/
License: Apache-2.0
Requires-Python: >=3.9.0,<3.13
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
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: Topic :: Scientific/Engineering
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pandas (>=1.4.0,<2.0.0) ; python_version >= "3.9" and python_version < "3.11"
Requires-Dist: pandas (>=1.5.0,<2.0.0) ; python_version >= "3.11" and python_version < "3.12"
Requires-Dist: pandas (>=2.2.0,<3.0.0) ; python_version >= "3.12"
Requires-Dist: pyspark[sql] (>=3.3.1,<3.6.0) ; python_version >= "3.9" and python_version < "3.11"
Requires-Dist: pyspark[sql] (>=3.4.0,<3.6.0) ; python_version >= "3.11" and python_version < "3.12"
Requires-Dist: pyspark[sql] (>=3.5.0,<3.6.0) ; python_version >= "3.12"
Requires-Dist: sympy (>=1.8,<1.10)
Requires-Dist: tabulate (>=0.8.9,<0.9.0)
Requires-Dist: tmlt.core (>=0.18.0,<0.19.0)
Requires-Dist: tqdm (>=4.66.4,<5.0.0)
Requires-Dist: typeguard (>=4.0.0,<5.0.0)
Requires-Dist: types-tabulate (>=0.8.10,<0.9.0)
Requires-Dist: typing-extensions (>=4.1.0,<5.0.0)
Project-URL: Documentation, https://docs.tmlt.dev/platform/latest
Project-URL: Repository, https://gitlab.com/tumult-labs/analytics
Description-Content-Type: text/markdown

[![PyPI - Version](https://img.shields.io/pypi/v/tmlt-analytics?color=006dad)](https://pypi.org/project/tmlt-analytics/) |
[![Documentation - Latest](https://img.shields.io/badge/documentation-latest-cc3d56)](https://docs.tmlt.dev/analytics/latest/) |
[![Join our Slack!](https://img.shields.io/badge/Join%20our%20Slack!-634ad3?logo=slack)](https://tmlt.dev/slack)

# Tumult Analytics

Tumult Analytics is a library that allows users to execute differentially private operations on
data without having to worry about the privacy implementation, which is handled
automatically by the API. It is built atop the [Tumult Core library](https://gitlab.com/tumult-labs/core).

## Demo video

Want to see Tumult Analytics in action? Check out this video introducing the
interface fundamentals:

[![Screenshot of the demo video](https://img.youtube.com/vi/SNfbYOp0CEs/0.jpg)](https://www.youtube.com/watch?v=SNfbYOp0CEs)

A selection of more advanced features is shown on the second part of this demo,
in a [separate video](https://www.youtube.com/watch?v=BRUPlfwzHHo).

## Installation

See the [installation instructions in the documentation](https://docs.tmlt.dev/analytics/latest/installation.html#prerequisites)
for information about setting up prerequisites such as Spark.

Once the prerequisites are installed, you can install Tumult Analytics using [pip](https://pypi.org/project/pip).

```bash
pip install tmlt.analytics
```

## Documentation

The full documentation is located at https://docs.tmlt.dev/analytics/latest/.

## Support

If you have any questions, feedback, or feature requests, please reach out to us on [Slack](https://tmlt.dev/slack).

## Contributing

We do not yet have a process in place to accept external contributions, but we are open to collaboration opportunities.
If you are interested in contributing, please let us know [via Slack](https://tmlt.dev/slack).

See [CONTRIBUTING.md](https://gitlab.com/tumult-labs/analytics/-/blob/dev/CONTRIBUTING.md) for information about installing our development dependencies and running tests.

## Citing Tumult Analytics

If you use Tumult Analytics for a scientific publication, we would appreciate citations to the published software or/and its whitepaper. Both citations can be found below; for the software citation, please replace the version with the version you are using.

```
@software{tumultanalyticssoftware,
    author = {Tumult Labs},
    title = {Tumult {{Analytics}}},
    month = dec,
    year = 2022,
    version = {latest},
    url = {https://tmlt.dev}
}
```

```
@article{tumultanalyticswhitepaper,
  title={Tumult {{Analytics}}: a robust, easy-to-use, scalable, and expressive framework for differential privacy},
  author={Berghel, Skye and Bohannon, Philip and Desfontaines, Damien and Estes, Charles and Haney, Sam and Hartman, Luke and Hay, Michael and Machanavajjhala, Ashwin and Magerlein, Tom and Miklau, Gerome and Pai, Amritha and Sexton, William and Shrestha, Ruchit},
  journal={arXiv preprint arXiv:2212.04133},
  month = dec,
  year={2022}
}
```

## License

Copyright Tumult Labs 2025

Tumult Analytics' source code is licensed under the Apache License, version 2.0 (Apache-2.0).
Tumult Analytics' documentation is licensed under
Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA-4.0).

