Metadata-Version: 2.1
Name: solidago
Version: 0.0.7
Summary: Algorithms for Secure Algorithmic Governance
Project-URL: Homepage, https://github.com/tournesol-app/tournesol/tree/main/solidago
Project-URL: Bug Tracker, https://github.com/tournesol-app/tournesol/issues
Author-email: Tournesol Association <hello@tournesol.app>
License-Expression: LGPL-3.0-or-later
License-File: LICENSE
License-File: LICENSE.LESSER
Keywords: collaborative recommendations,comparison based,judgement aggregation,mehestan,tournesol
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: numba==0.58.1
Requires-Dist: numpy<1.27,>=1.24.3
Requires-Dist: pandas<3.0,>=1.5.3
Provides-Extra: test
Requires-Dist: pytest<8.0.0,>=7.1.3; extra == 'test'
Description-Content-Type: text/markdown

# Solidago
**Solid** **A**lgorithmic **Go**vernance, used by the Tournesol platform

<a href="https://pypi.org/project/solidago" target="_blank">
    <img src="https://img.shields.io/pypi/v/solidago?color=%2334D058" alt="Package version">
</a>
<a href="#copyright--license">
    <img alt="PyPI - License" src="https://img.shields.io/pypi/l/solidago">
</a>


## Usage

> **Warning**  
> This library is WIP; its API may change in the near future.

```py
import numpy as np
from solidago.resilient_primitives import QrMed

score = QrMed(W=1, w=1, x=np.array([-1.0, 1.0, 2.0]), delta=np.array([1.0, 1.0, 1.0]))
```

## Publish a new release

1. In a Pull Request, update the version number in [`./src/solidago/__version__.py`](./src/solidago/__version__.py)
2. The package will be published automatically when the new version is merged into "main", by [this Github Action](../.github/workflows/solidago-publish.yml).

## Copyright & License

Copyright 2023 Tournesol Association and contributors.

This program is free software: you can redistribute it and/or modify it under the terms of the [**GNU Lesser General Public License**](./LICENSE.LESSER) as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
