Skip to content

Releases: Savanamed/pycaprio

0.2.0 Release

12 May 14:05
c3ab618
Compare
Choose a tag to compare

0.2.0

This release adds CRUD Curation operations.

from pycaprio.mappings import InceptionFormat
# Get the annotations or a specific document as e.g. binary CAS
file = client.api.annotation(1, 4, 'test-user', curation_format=InceptionFormat.BIN)
# The below function then uploads the file with the new status
client.api.create_curation(1, 4, curation_format = InceptionFormat.BIN, content =  annotations, document_state = DocumentState.CURATION_IN_PROGRESS)

Changelog

PYCAP #33 : Add CRUD Curation operations
PYCAP #34 : Fix documentation of curations not rendering as it should

0.1.0 Release

18 Jan 19:33
73f5e41
Compare
Choose a tag to compare

0.1.0

This release introduces sugar syntax for the HttpInceptionAdapter.

It allows the usage of pycaprio's Project, Document objects into the main api methods:

project = pycaprio_client.api.project(1)

documents = pycaprio_client.api.documents(project)  # It works now!

documents = pycaprio_client.api.documents(project.project_id)  # Passing the project id still works

for document in documents:
    annotations = pycaprio_client.api.annotations(project, document) # Document also works!

Changelog

PYCAP #28: Allows pycaprio objects into http adapter methods.

0.0.3 Release

01 Dec 21:58
Compare
Choose a tag to compare

0.0.3

This is a bugfix release.

Changelog

Changes to InceptionFormat to include all available formats.

Some names are kept for compatibility reasons, but will be removed in the 0.1.0 release.

Now InceptionFormat.DEFAULT points to text.

New list is the following:

    DEFAULT = 'text'

    BIN = 'bin'
    CONLL2000 = 'conll2000'
    CONLL2006 = 'conll2006'
    CONLL2009 = 'conll2009'
    CONLLCORENLP = 'conllcorenlp'
    CONLLU = 'conllu'
    CTSV = 'ctsv'
    CTSV3 = 'ctsv3'
    DKPRO_CORE_TEI = 'dkpro-core-tei'
    TEI = 'dkpro-core-tei'
    HTML = 'html'
    LIF = 'lif'
    NIF = 'nif'
    PDF = 'pdf'
    PERSEUS_2_1 = 'perseus_2.1'
    PUBANNOTATION_SECTIONS = 'pubannotation-sections'
    TCF = 'tcf'
    TEXT = 'text'
    TEXTLINES = 'textlines'
    TSV = 'tsv'

    XMI = 'xmi'

    PERSEUS = 'perseus_2.1'
    WEBANNO = 'tsv'
    JSON = 'json'

Fix #22.

v0.0.2rc5

05 Nov 08:43
Compare
Choose a tag to compare
v0.0.2rc5 Pre-release
Pre-release

v0.0.2rc4

13 Sep 08:21
Compare
Choose a tag to compare
v0.0.2rc4 Pre-release
Pre-release
  • DocumentFormats -> InceptionFormat
  • DocumentStatus -> DocumentState
  • AnnotationStatus -> AnnotationState
  • format -> document_format, annotation_format, project_format

v0.0.2rc03

11 Sep 15:23
Compare
Choose a tag to compare
v0.0.2rc03 Pre-release
Pre-release

Changelog

  • Add format parameter to export_project() #4

v0.0.2rc2

03 Sep 14:12
Compare
Choose a tag to compare
v0.0.2rc2 Pre-release
Pre-release
Merge branch 'hotfix/v0.0.2rc2'

v0.0.2rc01

11 Sep 15:23
Compare
Choose a tag to compare
v0.0.2rc01 Pre-release
Pre-release
v0.0.2rc01