CLAM


NameCLAM JSON
Version 3.2.10 PyPI version JSON
download
home_pagehttps://proycon.github.io/clam
SummaryTurns command-line tools into fully-fledged RESTful webservices with an auto-generated web-interface for human end-users.
upload_time2024-03-14 20:45:49
maintainer
docs_urlhttps://pythonhosted.org/CLAM/
authorMaarten van Gompel
requires_python
licenseGPL-3.0-only
keywords saas webservice rest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =======================================================
CLAM: Computational Linguistics Application Mediator
=======================================================

.. image:: https://github.com/proycon/clam/actions/workflows/clam.yml/badge.svg?branch=master
    :target: https://github.com/proycon/clam/actions/

.. image:: https://readthedocs.org/projects/clam/badge/?version=latest
    :target: http://clam.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://zenodo.org/badge/760072.svg
   :target: https://zenodo.org/badge/latestdoi/760072

.. image:: https://img.shields.io/pypi/v/clam
   :alt: Latest release in the Python Package Index
   :target: https://pypi.org/project/clam/

.. image:: http://applejack.science.ru.nl/lamabadge.php/clam
   :target: http://applejack.science.ru.nl/languagemachines/

.. image:: https://www.repostatus.org/badges/latest/active.svg
   :alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.
   :target: https://www.repostatus.org/#active


*by Maarten van Gompel*
*Centre for Language and Speech Technology, Radboud University Nijmegen*
*& KNAW Humanities Cluster*

*Licensed under GPLv3*

**Website:** https://proycon.github.io/clam
**Source repository:** https://github.com/proycon/clam/
**Documentation:** https://clam.readthedocs.io
**Installation:** ``pip install clam``

CLAM allows you to quickly and transparently transform your Natural Language
Processing application into a RESTful webservice, with which both human
end-users as well as automated clients can interact. CLAM takes a description
of your system and wraps itself around the system, allowing end-users or
automated clients to upload input files to your application, start your
application with specific parameters of their choice, and download and view the
output of the application once it is completed.

CLAM is set up in a universal fashion, requiring minimal effort on the part of
the service developer. Your actual NLP application is treated as a black box,
of which only the parameters, input formats and output formats need to be
described. Your application itself needs not be network aware in any way, nor
aware of CLAM, and the handling and validation of input can be taken care of by
CLAM.

CLAM is entirely written in Python, runs on UNIX-derived systems, and is
available as open source under the GNU Public License (v3). It is set up in a
modular fashion, and offers an API, and as such is easily extendable. CLAM
communicates in a transparent XML format, and using XSL transformation offers a
modern client-side generated web-interface for human end users.


Documentation
---------------

Documentation is available on https://clam.readthedocs.io

Some screenshots of the web user interface can be found below:

.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot.png
    :alt: the clam project list

.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot2.png
    :alt: the clam project page during staging

.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot3.png
    :alt: the clam project page when done


Installation
----------------

Installation from the Python Package Index using the  package manager *pip* it the recommended way to
intall CLAM. This is the easiest method
of installing CLAM, as it will automatically fetch and install any
dependencies. We recommend to use a virtual environment (``virtualenv``) if you
want to install CLAM locally as a user, if you want to install globally,
prepend the following commands with ``sudo``:

CLAM can be installed from the Python Package Index using pip. Pip is usually
part of the ``python3-pip`` package (Debian/Ubuntu) or similar, note that
Python 2.7 is not supported anymore (you might need to call ``pip3`` instead of ``pip`` on older system). It downloads CLAM and all dependencies
automatically:::

  $ pip install clam

If you already downloaded CLAM manually (from github), you can do::

  $ pip install .

If pip is not yet installed on your system, install it using:
 on debian-based linux systems (including Ubuntu)::

  $ apt-get install python3-pip

on RPM-based linux systems::

  $ yum install python3-pip

Note that sudo/root access is needed to install globally. Ask your system administrator
to install it if you do not own the system. Alternatively, you can install it locally in a Python virtual
environment::

  $ virtualenv --python=python3 env

Or::

  $ python3 -m venv env

Then activate it as follows:

  $ . env/bin/activate

  (env)$ pip install clam

CLAM also has some optional dependencies. For MySQL support, install
``mysqlclient`` using pip. For `FoLiA <https://proycon.github.io/folia>`_
support, install ``FoLiA-Tools`` using pip.

**Note:** CLAM is designed for Linux-like systems, although the client and data library work everywhere, hosting webservices via ``clamservice`` may not work on Windows.

Running a test webservice
~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you installed CLAM using the above method, then you can launch a clam test
webservice using the development server as follows::

  $ clamservice -H localhost -p 8080 clam.config.textstats

Navigate your browser to http://localhost:8080 and verify everything works

**Note:** It is important to regularly keep CLAM up to date as fixes and
improvements are implemented on a regular basis. Update CLAM using::

  $ pip install -U clam



            

Raw data

            {
    "_id": null,
    "home_page": "https://proycon.github.io/clam",
    "name": "CLAM",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/CLAM/",
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "SaaS,webservice,rest",
    "author": "Maarten van Gompel",
    "author_email": "proycon@anaproy.nl",
    "download_url": "https://files.pythonhosted.org/packages/61/c4/d5ce1fa60d8235817eab786623ea6ea7d7668795cdd4850013a8ac381310/CLAM-3.2.10.tar.gz",
    "platform": null,
    "description": "=======================================================\nCLAM: Computational Linguistics Application Mediator\n=======================================================\n\n.. image:: https://github.com/proycon/clam/actions/workflows/clam.yml/badge.svg?branch=master\n    :target: https://github.com/proycon/clam/actions/\n\n.. image:: https://readthedocs.org/projects/clam/badge/?version=latest\n    :target: http://clam.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/760072.svg\n   :target: https://zenodo.org/badge/latestdoi/760072\n\n.. image:: https://img.shields.io/pypi/v/clam\n   :alt: Latest release in the Python Package Index\n   :target: https://pypi.org/project/clam/\n\n.. image:: http://applejack.science.ru.nl/lamabadge.php/clam\n   :target: http://applejack.science.ru.nl/languagemachines/\n\n.. image:: https://www.repostatus.org/badges/latest/active.svg\n   :alt: Project Status: Active \u2013 The project has reached a stable, usable state and is being actively developed.\n   :target: https://www.repostatus.org/#active\n\n\n*by Maarten van Gompel*\n*Centre for Language and Speech Technology, Radboud University Nijmegen*\n*& KNAW Humanities Cluster*\n\n*Licensed under GPLv3*\n\n**Website:** https://proycon.github.io/clam\n**Source repository:** https://github.com/proycon/clam/\n**Documentation:** https://clam.readthedocs.io\n**Installation:** ``pip install clam``\n\nCLAM allows you to quickly and transparently transform your Natural Language\nProcessing application into a RESTful webservice, with which both human\nend-users as well as automated clients can interact. CLAM takes a description\nof your system and wraps itself around the system, allowing end-users or\nautomated clients to upload input files to your application, start your\napplication with specific parameters of their choice, and download and view the\noutput of the application once it is completed.\n\nCLAM is set up in a universal fashion, requiring minimal effort on the part of\nthe service developer. Your actual NLP application is treated as a black box,\nof which only the parameters, input formats and output formats need to be\ndescribed. Your application itself needs not be network aware in any way, nor\naware of CLAM, and the handling and validation of input can be taken care of by\nCLAM.\n\nCLAM is entirely written in Python, runs on UNIX-derived systems, and is\navailable as open source under the GNU Public License (v3). It is set up in a\nmodular fashion, and offers an API, and as such is easily extendable. CLAM\ncommunicates in a transparent XML format, and using XSL transformation offers a\nmodern client-side generated web-interface for human end users.\n\n\nDocumentation\n---------------\n\nDocumentation is available on https://clam.readthedocs.io\n\nSome screenshots of the web user interface can be found below:\n\n.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot.png\n    :alt: the clam project list\n\n.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot2.png\n    :alt: the clam project page during staging\n\n.. image:: https://raw.githubusercontent.com/proycon/clam/master/docs/screenshot3.png\n    :alt: the clam project page when done\n\n\nInstallation\n----------------\n\nInstallation from the Python Package Index using the  package manager *pip* it the recommended way to\nintall CLAM. This is the easiest method\nof installing CLAM, as it will automatically fetch and install any\ndependencies. We recommend to use a virtual environment (``virtualenv``) if you\nwant to install CLAM locally as a user, if you want to install globally,\nprepend the following commands with ``sudo``:\n\nCLAM can be installed from the Python Package Index using pip. Pip is usually\npart of the ``python3-pip`` package (Debian/Ubuntu) or similar, note that\nPython 2.7 is not supported anymore (you might need to call ``pip3`` instead of ``pip`` on older system). It downloads CLAM and all dependencies\nautomatically:::\n\n  $ pip install clam\n\nIf you already downloaded CLAM manually (from github), you can do::\n\n  $ pip install .\n\nIf pip is not yet installed on your system, install it using:\n on debian-based linux systems (including Ubuntu)::\n\n  $ apt-get install python3-pip\n\non RPM-based linux systems::\n\n  $ yum install python3-pip\n\nNote that sudo/root access is needed to install globally. Ask your system administrator\nto install it if you do not own the system. Alternatively, you can install it locally in a Python virtual\nenvironment::\n\n  $ virtualenv --python=python3 env\n\nOr::\n\n  $ python3 -m venv env\n\nThen activate it as follows:\n\n  $ . env/bin/activate\n\n  (env)$ pip install clam\n\nCLAM also has some optional dependencies. For MySQL support, install\n``mysqlclient`` using pip. For `FoLiA <https://proycon.github.io/folia>`_\nsupport, install ``FoLiA-Tools`` using pip.\n\n**Note:** CLAM is designed for Linux-like systems, although the client and data library work everywhere, hosting webservices via ``clamservice`` may not work on Windows.\n\nRunning a test webservice\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you installed CLAM using the above method, then you can launch a clam test\nwebservice using the development server as follows::\n\n  $ clamservice -H localhost -p 8080 clam.config.textstats\n\nNavigate your browser to http://localhost:8080 and verify everything works\n\n**Note:** It is important to regularly keep CLAM up to date as fixes and\nimprovements are implemented on a regular basis. Update CLAM using::\n\n  $ pip install -U clam\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Turns command-line tools into fully-fledged RESTful webservices with an auto-generated web-interface for human end-users.",
    "version": "3.2.10",
    "project_urls": {
        "Homepage": "https://proycon.github.io/clam"
    },
    "split_keywords": [
        "saas",
        "webservice",
        "rest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61c4d5ce1fa60d8235817eab786623ea6ea7d7668795cdd4850013a8ac381310",
                "md5": "57aeb9f69879ac0767a690af97a42fab",
                "sha256": "d22dce7c81b42b9695ddea370749ed00c30c8332d75804438d6a04b949c3a1f9"
            },
            "downloads": -1,
            "filename": "CLAM-3.2.10.tar.gz",
            "has_sig": false,
            "md5_digest": "57aeb9f69879ac0767a690af97a42fab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 537397,
            "upload_time": "2024-03-14T20:45:49",
            "upload_time_iso_8601": "2024-03-14T20:45:49.627103Z",
            "url": "https://files.pythonhosted.org/packages/61/c4/d5ce1fa60d8235817eab786623ea6ea7d7668795cdd4850013a8ac381310/CLAM-3.2.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-14 20:45:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "clam"
}
        
Elapsed time: 0.23942s