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
Hashes for argilla_server-1.23.0.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 353c80482cc91618ec8798cc3a16ef9d82391433ee39073195f3bd3ddb734726 |
|
MD5 | 26dc95b3582ad4e78dd67741e0363f7c |
|
BLAKE2b-256 | 39680a76aca4c15c1422c20c150b51207874773a068889f514d3075da7600ae3 |
Hashes for argilla_server-1.23.0.dev4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96daf2ca572e94f96ecea9b3a07a385460975840d75fcc8fbd2f9116f444e72f |
|
MD5 | ce0fd612b8403f87455cacfa7e96bde6 |
|
BLAKE2b-256 | 122c817038cdc99e312acb58b4f211bb2d784c832f8ca08b1691050e17136621 |