{ "info": { "author": "Joel Dunham", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "================================================================================\n Online Linguistic Database (OLD) Client\n================================================================================\n\nThis package is a client module for OLD web services. It facilitates making\nHTTP requests to interact with one or more OLD instances.\n\nInstallation::\n\n $ pip install oldclient\n\nFor example usage, see the src/example.py file. In summary::\n\n >>> from oldclient import OLDClient\n >>> options = {\n ... 'url': '',\n ... 'username': '',\n ... 'password': ''}\n >>> old_client = OLDClient(options['url'])\n >>> old_client.login(options['username'], options['password'])\n True\n >>> form = old_client.models['form'].copy()\n >>> form['transcription'] = 'Arma virumque cano.'\n >>> form['translations'].append({\n ... 'transcription': 'I sing of arms and a man.',\n ... 'grammaticality': ''})\n >>> response = old_client.create(\n ... 'forms',\n ... data=form)\n >>> print(response['id'])\n 1061\n\nThe src/example.py file will create a stock form on an OLD you specify and have\naccess to::\n\n $ python src/example.py \\\n -o \\\n -u \\\n -p \n John Doe created a new form with id 1059 on 2018-11-20T07:05:58.\n See https://app.dative.ca/#form/1059.\n\nIf you are logged in to your OLD instance in Dative, you should be able to see\nthe form just created (the first three words from Virgil's Aeneid) at the above\nURL.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.onlinelinguisticdatabase.org/", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "oldclient", "package_url": "https://pypi.org/project/oldclient/", "platform": "", "project_url": "https://pypi.org/project/oldclient/", "project_urls": { "Homepage": "http://www.onlinelinguisticdatabase.org/" }, "release_url": "https://pypi.org/project/oldclient/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A Python module for making HTTP requests to Online Linguistic Database (OLD) instances.", "version": "0.0.1" }, "last_serial": 4509758, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2af2f157fc4b029a7a5d667251b5f53b", "sha256": "05022093c10b721c0ebe3568f30b6db50296a020f32907a57673be7be8ba123f" }, "downloads": -1, "filename": "oldclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2af2f157fc4b029a7a5d667251b5f53b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5539, "upload_time": "2018-11-20T22:17:30", "url": "https://files.pythonhosted.org/packages/fc/a3/43a19c96f2a5ff5fdf3fff0f1da74eba110c451401a9c2dcc5aab3786245/oldclient-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2af2f157fc4b029a7a5d667251b5f53b", "sha256": "05022093c10b721c0ebe3568f30b6db50296a020f32907a57673be7be8ba123f" }, "downloads": -1, "filename": "oldclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2af2f157fc4b029a7a5d667251b5f53b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5539, "upload_time": "2018-11-20T22:17:30", "url": "https://files.pythonhosted.org/packages/fc/a3/43a19c96f2a5ff5fdf3fff0f1da74eba110c451401a9c2dcc5aab3786245/oldclient-0.0.1.tar.gz" } ] }