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 usingdevelop
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file argilla_server-1.24.0rc4.tar.gz
.
File metadata
- Download URL: argilla_server-1.24.0rc4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0d81d969594e6bfec9c28683af5bd2825e042a01ab9ac7e53f940d1ab10a5d |
|
MD5 | 8049ae3e93c6cd62efc2f53c0a00bea6 |
|
BLAKE2b-256 | f1b8e9d000541a20b05930e8bd3f4902585b40432026bcf02696382aa6baf75c |
File details
Details for the file argilla_server-1.24.0rc4-py3-none-any.whl
.
File metadata
- Download URL: argilla_server-1.24.0rc4-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.12.3 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe87b9f5c3fb59d814ce806b375b58a3115b87a8b6011c5e9ede1697732b4a2a |
|
MD5 | dcf4f0635ce7fdde2b28bf2ad256b044 |
|
BLAKE2b-256 | 4da134ac2e1fd5de4aec82b543875f0e9862db080e795af54b976b3b41478335 |