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
argillasubmodule is usingdevelopbranch 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-serverroot folder where the subproject commit is now changed to the one from the tag version. Feel free to commit these changes.
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 overrided if necessary so feel free to defined your own ones locally.
Run cli
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:
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:
pdm test
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 server
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file argilla_server-1.25.0rc0.tar.gz.
File metadata
- Download URL: argilla_server-1.25.0rc0.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c92b3918f97a1f54845d6122cad8739aa2ebd000a86cc25c783b23102e362e4b
|
|
| MD5 |
184932a2316b367b4f79db710af81673
|
|
| BLAKE2b-256 |
1f5ef05f799c90c00f30bc15688758f1f4e4b11487b6db3749cb61821c136d00
|
File details
Details for the file argilla_server-1.25.0rc0-py3-none-any.whl.
File metadata
- Download URL: argilla_server-1.25.0rc0-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcb888436ac0dd20dcbfd74990615aa9c389a383139db649e65ff66dfc76438
|
|
| MD5 |
b68eb2e0b39e33b4fe142342d2acd0ba
|
|
| BLAKE2b-256 |
d9fb1712e2e9e908f6247116e3c667c7b7b85a09eeb3ba76615a4318a382f8e3
|