This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @unpublished{LightTag, | |
| AUTHOR = {Perry, Tal }, | |
| TITLE = {{LightTag}: A platform for managing text annotation projects | |
| YEAR = {2018}, | |
| Note = {To appear} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from functools import partial | |
| class LTSession(requests.Session): | |
| def __init__(self, workspace:str,user:str,pwd:str,host:str=None): | |
| """[summary] | |
| Initializes a LightTag API session object | |
| Arguments: | |
| workspace {str} -- [The name of your workspace] | |
| user {str} -- [Your LightTag Username] | |
| pwd {str} -- [Your LightTag password] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import annotations | |
| import argparse | |
| import asyncio | |
| import json | |
| import logging | |
| import re | |
| from dataclasses import asdict, dataclass | |
| from typing import Any, Iterable, Mapping, Sequence |
OlderNewer