Skip to main content

The Argilla python server SDK

Project description

argilla-sdk

The argilla-sdk is an experimental project to rebuild Argilla's python client in a simpler and friendlier way. The goal is to have a minimal set of core features that are easy to use and understand, but also contribute to feedback task that build quality data.

!!! warning This project is still in development and is not yet ready for production use.

Installation

Since this package is not yet published on PyPi, you can install it directly from the repository:

pip install git+https://github.com/argilla-io/argilla-python.git

Usage

To use the client, you need to import the Argilla class and instantiate it with the API URL and API key. You can use this SDK with any stable release of argilla server >= 1.27.

import argilla_sdk as rg

client = rg.Argilla(api_url="http://localhost:6900", api_key="argilla.apikey")

Developer documentation

If you want to contribute to the development of the SDK, you can follow the instructions below.

Installation

To install the development dependencies, run the following command:

# install pdm https://github.com/pdm-project/pdm
pip install pdm

# install the package in editable mode
pip install -e .

# install the development dependencies with pdm
pdm install --dev

Generating Documentation

To generate the docs you will need to install the development dependencies, and run the following command to create the development server with mkdocs:

mkdocs serve

You will find the built documentation in http://localhost:8000/argilla-python/.

The docs will be deployed for pull request branches automatically.

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_sdk-0.1.0a3.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argilla_sdk-0.1.0a3-py3-none-any.whl (104.0 kB view details)

Uploaded Python 3

File details

Details for the file argilla_sdk-0.1.0a3.tar.gz.

File metadata

  • Download URL: argilla_sdk-0.1.0a3.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.15.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for argilla_sdk-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 f2c7461f0ec6d196a06bc702675233ae939e964a88b74936d7cc5b636e929a30
MD5 0d7da4deeb721a318b0284032ff35dda
BLAKE2b-256 bd43627f1034511c131f74d9b03b86788000eb30740bc6ee4550b09294c9779f

See more details on using hashes here.

File details

Details for the file argilla_sdk-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: argilla_sdk-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 104.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.15.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for argilla_sdk-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 76f4d51cb7066f0b8c7541dcf1d58e656a9e247ea2bc046b93a9689ea4adcc01
MD5 2d901e1c1359e63af730f7c0f905091e
BLAKE2b-256 b2486d4c4af5eb899373aa5f137e53a79bf87b67b774157cb27eb2e96bc9bb11

See more details on using hashes here.

Supported by

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