All Projects → doccano → doccano-client

doccano / doccano-client

Licence: MIT License
A simple client wrapper for doccano API.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to doccano-client

auto-labeling-pipeline
doccano auto labeling pipeline helps doccano to annotate a document automatically.
Stars: ✭ 29 (-44.23%)
Mutual labels:  text-annotation, data-labeling, doccano
Label Studio
Label Studio is a multi-type data labeling and annotation tool with standardized output format
Stars: ✭ 7,264 (+13869.23%)
Mutual labels:  annotation, text-annotation, data-labeling
piaf
Question Answering annotation platform - Plateforme d'annotation
Stars: ✭ 62 (+19.23%)
Mutual labels:  annotation, text-annotation
doccano-transformer
The official tool for transforming doccano format into common dataset formats.
Stars: ✭ 87 (+67.31%)
Mutual labels:  annotation, doccano
mailerlite-api-python
Python wrapper for Mailerlite API v2
Stars: ✭ 31 (-40.38%)
Mutual labels:  api-client, api-wrapper
Notion Api
Unofficial Notion.so API
Stars: ✭ 250 (+380.77%)
Mutual labels:  api-client, api-wrapper
Virustotal Api
Virus Total Public/Private/Intel API
Stars: ✭ 189 (+263.46%)
Mutual labels:  api-client, api-wrapper
pinboard.net
Fully featured API wrapper for pinboard.in
Stars: ✭ 21 (-59.62%)
Mutual labels:  api-client, api-wrapper
Coingecko Api
A Node.js wrapper for the CoinGecko API with no dependencies.
Stars: ✭ 159 (+205.77%)
Mutual labels:  api-client, api-wrapper
clickupython
A client for working with the ClickUp API V2
Stars: ✭ 30 (-42.31%)
Mutual labels:  api-client, api-wrapper
zoho-crm-php
An API wrapper library for Zoho CRM, written in PHP.
Stars: ✭ 15 (-71.15%)
Mutual labels:  api-client, api-wrapper
trunklucator
Python module for data scientists for quick creating annotation projects.
Stars: ✭ 80 (+53.85%)
Mutual labels:  annotation, active-learning
Binance
A .NET Standard Binance API library.
Stars: ✭ 199 (+282.69%)
Mutual labels:  api-client, api-wrapper
Discogs
A Ruby wrapper of the Discogs.com API
Stars: ✭ 195 (+275%)
Mutual labels:  api-client, api-wrapper
nyxx
Wrapper around Discord API for Dart
Stars: ✭ 217 (+317.31%)
Mutual labels:  api-client, api-wrapper
rdfp
This R package connects the DoubleClick for Publishers API from R
Stars: ✭ 16 (-69.23%)
Mutual labels:  api-client, api-wrapper
Anyapi
AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way.
Stars: ✭ 126 (+142.31%)
Mutual labels:  api-client, api-wrapper
Mega.py
Python library for the https://mega.nz/ API.
Stars: ✭ 145 (+178.85%)
Mutual labels:  api-client, api-wrapper
notionapi-agent
Unofficial Node.js API client for Notion.so
Stars: ✭ 89 (+71.15%)
Mutual labels:  api-client, api-wrapper
ksoftapi.py
Official API Wrapper for KSoft.Si API
Stars: ✭ 31 (-40.38%)
Mutual labels:  api-client, api-wrapper

Doccano API Client

A simple client wrapper for the doccano API.

Installation

To install doccano-client, simply run:

pip install doccano-client

Usage

  • Object instantiation takes care of session authorization.
  • All methods return a requests.models.Response object.
from doccano_api_client import DoccanoClient

# instantiate a client and log in to a Doccano instance
doccano_client = DoccanoClient(
    'http://doccano.example.com',
    'username',
    'password'
)

# get basic information about the authorized user
r_me = doccano_client.get_me()

# print the details from the above query
print(r_me)

# get the label text from project 1, label 3
label_text = doccano_client.get_label_detail(1, 3)['text']

# upload a json file to project 1. If file is in current directory, file_path is omittable
r_json_upload = doccano_client.post_doc_upload(1, 'json', 'file.json', '/path/to/file/without/filename/')

Completion

This wrapper's methods are based on doccano url paths.

Key:

  • ✔️ implemented
  • not implemented
  • ⚠️ currently broken or improperly implemented

Endpoint Names:

  • ✔️ auth-token
  • ✔️ me
  • ✔️ user_list
  • ✔️ roles
  • ✔️ features
  • ✔️ project_list
  • ✔️ project_detail
  • ✔️ statistics
  • ✔️ label_list
  • ✔️ label_detail
  • label_upload
  • ✔️ doc_list
  • ✔️ doc_detail
  • ✔️ doc_uploader
  • cloud_uploader
  • ✔️ approve_labels
  • ✔️ annotation_list
  • ⚠️ annotation_detail
  • ✔️ doc_downloader
  • ✔️ rolemapping_list
  • ⚠️ rolemapping_detail

To-Do

  • investigate more secure alternatives to plaintext login
  • improve docstrings
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].