Metadata-Version: 2.1
Name: argilla-server
Version: 1.29.1
Summary: Open-source tool for exploring, labeling, and monitoring data for NLP projects.
Keywords: data-science,natural-language-processing,text-labeling,data-annotation,artificial-intelligence,knowledged-graph,developers-tools,human-in-the-loop,mlops
Home-page: https://www.argilla.io
Author-Email: argilla <contact@argilla.io>
Maintainer-Email: argilla <contact@argilla.io>
License: Apache-2.0
Project-URL: Homepage, https://www.argilla.io
Project-URL: Documentation, https://docs.argilla.io
Project-URL: Repository, https://github.com/argilla-io/argilla
Requires-Python: <3.11,>=3.8
Requires-Dist: fastapi<1.0.0,>=0.103.1
Requires-Dist: pydantic<2.0,>=1.10.7
Requires-Dist: uvicorn[standard]<0.25.0,>=0.15.0
Requires-Dist: opensearch-py~=2.0.0
Requires-Dist: elasticsearch8[async]~=8.7.0
Requires-Dist: smart-open
Requires-Dist: brotli-asgi<1.3,>=1.1
Requires-Dist: alembic~=1.9.0
Requires-Dist: SQLAlchemy~=2.0.0
Requires-Dist: greenlet>=2.0.0
Requires-Dist: aiosqlite>=0.19.0
Requires-Dist: scikit-learn>=0.24.2
Requires-Dist: aiofiles<22.2,>=0.6
Requires-Dist: PyYAML<6.1.0,>=5.4.1
Requires-Dist: python-multipart~=0.0.5
Requires-Dist: python-jose[cryptography]<3.4,>=3.2
Requires-Dist: passlib[bcrypt]~=1.7.4
Requires-Dist: httpx~=0.26.0
Requires-Dist: oauthlib~=3.2.0
Requires-Dist: social-auth-core~=4.5.0
Requires-Dist: psutil<5.10,>=5.8
Requires-Dist: segment-analytics-python==2.2.0
Requires-Dist: rich!=13.1.0
Requires-Dist: typer<0.10.0,>=0.6.0
Requires-Dist: packaging>=23.2
Requires-Dist: psycopg2~=2.9.5; extra == "postgresql"
Requires-Dist: asyncpg>=0.27.0; extra == "postgresql"
Provides-Extra: postgresql
Description-Content-Type: text/markdown

<h1 align="center">
  <a href=""><img src="https://github.com/dvsrepo/imgs/raw/main/rg.svg" alt="Argilla" width="150"></a>
  <br>
  Argilla-Server
  <br>
</h1>
<h3 align="center">The repository for the Python native FastAPI server for Argilla backend.</h2>


<p align="center">
<a  href="https://pypi.org/project/argilla-server/">
<img alt="CI" src="https://img.shields.io/pypi/v/argilla.svg?style=flat-round&logo=pypi&logoColor=white">
</a>
<img alt="Codecov" src="https://codecov.io/gh/argilla-io/argilla-server/branch/main/graph/badge.svg?token=VDVR29VOMG"/>
<a href="https://pepy.tech/project/argilla-server">
<img alt="CI" src="https://static.pepy.tech/personalized-badge/argilla-server?period=month&units=international_system&left_color=grey&right_color=blue&left_text=pypi%20downloads/month">
</a>
<a href="https://huggingface.co/new-space?template=argilla/argilla-template-space">
<img src="https://huggingface.co/datasets/huggingface/badges/raw/main/deploy-to-spaces-sm.svg"/>
</a>
</p>

<p align="center">
<a href="https://twitter.com/argilla_io">
<img src="https://img.shields.io/badge/twitter-black?logo=x"/>
</a>
<a href="https://www.linkedin.com/company/argilla-io">
<img src="https://img.shields.io/badge/linkedin-blue?logo=linkedin"/>
</a>
<a href="https://join.slack.com/t/rubrixworkspace/shared_invite/zt-whigkyjn-a3IUJLD7gDbTZ0rKlvcJ5g">
<img src="https://img.shields.io/badge/slack-purple?logo=slack"/>
</a>
</p>

Argilla is a **collaboration platform for AI engineers and domain experts** that require **high-quality outputs, full
data ownership, and overall efficiency**.

This repository only contains developer info about the backend server. If you want to get started, we recommend taking a
look at our [main repository](https://github.com/argilla-io/argilla) or our [documentation](https://docs.argilla.io/).

Are you a contributor or do you want to understand what is going on under the hood, please keep reading the
documentation below.

## Development environment

By default all commands executed with `pdm run` will get environment variables from `.env.dev` except command `pdm test`
that will overwrite some of them using values coming from `.env.test` file.

These environment variables can be override if necessary so feel free to defined your own ones locally.

### Run cli

```sh
pdm cli
```

### Run database migrations

By default a SQLite located at `~/.argilla/argilla.db` will be used. You can create the database and run migrations with
the following custom PDM command:

```sh
pdm migrate
```

### Run tests

A SQLite database located at `~/.argilla/argilla-test.db` will be automatically created to run tests. You can run the
entire test suite using the following custom PDM command:

```sh
pdm test
```

## Run development server

Note: If you need to run the frontend server you can follow the instructions at
the [argilla-frontend](/argilla-frontend/README.md) project

### Run uvicorn development server

```sh
pdm server
```
