Skip to main content

Open-source tool for exploring, labeling, and monitoring data for NLP projects.

Project description

argilla-server

The repository for backend argilla server.

Clone repository

argilla-server is using argilla repository as submodule to build frontend statics so when cloning use the following command:

git clone --recurse-submodules git@github.com:argilla-io/argilla-server.git

If you already cloned the repository without using --recurse-submodules you can init and update the submodules with:

git submodule update --remote --recursive --init

[!IMPORTANT] By default argilla submodule is using develop branch so the previous command will get the latest commit from that branch.

Specify a tag for argilla submodule

When doing a release we should change argilla submodule to use an specific tag. In the following example we are setting tag v1.22.0:

cd argilla
git fetch --tags
git checkout v1.22.0

[!NOTE] You should see some changes on the argilla-server root folder where the subproject commit is now changed to the one from the tag version. Feel free to commit these changes.

Run database migrations

pdm run alembic -c src/argilla_server/alembic.ini upgrade head

Run tests

pdm run pytest

Run cli

pdm run python -m argilla_server.cli

Run development server

Build frontend static files

Before running Argilla development server we need to build the frontend static files. Node version 18 is required for this action:

brew install node@18

After that you can build the frontend static files:

./scripts/build_frontend.sh

After running the previous script you should have a folder at src/argilla_server/static with all the frontend static files successfully generated.

Run uvicorn development server

pdm run uvicorn argilla_server:app --reload

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argilla_server-1.24.0.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

argilla_server-1.24.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file argilla_server-1.24.0.tar.gz.

File metadata

  • Download URL: argilla_server-1.24.0.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.3 CPython/3.10.12

File hashes

Hashes for argilla_server-1.24.0.tar.gz
Algorithm Hash digest
SHA256 d88829eef0384baa450da9417155a95d127e615b8cdaa885d3eb92405985c2e3
MD5 52fb1ea6169e44f9a35ed2fc50c98bc0
BLAKE2b-256 7998cc4b9f122f056e251db32a475370bba26b93a71d06cdf95363e22bdc4c9b

See more details on using hashes here.

File details

Details for the file argilla_server-1.24.0-py3-none-any.whl.

File metadata

File hashes

Hashes for argilla_server-1.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d79e4cf7813341419a9653ce4c9fa7ebbc376f6c6e53f5528819ec79c5f92d3c
MD5 24000c7002663ff86e894237460de689
BLAKE2b-256 14736264446eef03b0ff2aa742ccc04c369460f3fb4cd31f06db9366da9858ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page