{ "info": { "author": "Renato de Pontes Pereira, Matthias Feurer, Joel Nothman", "author_email": "renato.ppontes@gmail.com, feurerm@informatik.uni-freiburg.de, joel.nothman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: MacOS X", "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========\nLIAC-ARFF\n=========\n\n.. image:: https://travis-ci.org/renatopp/liac-arff.svg\n :target: https://travis-ci.org/renatopp/liac-arff\n\nThe liac-arff module implements functions to read and write ARFF files in\nPython. It was created in the Connectionist Artificial Intelligence Laboratory\n(LIAC), which takes place at the Federal University of Rio Grande do Sul \n(UFRGS), in Brazil.\n\nARFF (Attribute-Relation File Format) is an file format specially created for\ndescribe datasets which are used commonly for machine learning experiments and\nsoftwares. This file format was created to be used in Weka, the best \nrepresentative software for machine learning automated experiments.\n\nYou can clone the `arff-datasets `_ \nrepository for a large set of ARFF files.\n\n--------\nFeatures\n--------\n\n- Read and write ARFF files using python built-in structures, such dictionaries\n and lists;\n- Supports `scipy.sparse.coo `_\n and lists of dictionaries as used by SVMLight\n- Supports the following attribute types: NUMERIC, REAL, INTEGER, STRING, and\n NOMINAL;\n- Has an interface similar to other built-in modules such as ``json``, or \n ``zipfile``;\n- Supports read and write the descriptions of files;\n- Supports missing values and names with spaces;\n- Supports unicode values and names;\n- Fully compatible with Python 2.7+ and Python 3.3+;\n- Under `MIT License `_\n\n--------------\nHow To Install\n--------------\n\nVia pip::\n\n $ pip install liac-arff\n\nVia easy_install::\n\n $ easy_install liac-arff\n\nManually::\n\n $ python setup.py install\n\n\n-------------\nDocumentation\n-------------\n\nFor a complete description of the module, consult the official documentation at\nhttp://packages.python.org/liac-arff/ with mirror in\nhttp://inf.ufrgs.br/~rppereira/docs/liac-arff/index.html\n\n\n-----\nUsage\n-----\n\nYou can read an ARFF file as follows::\n\n >>> import arff\n >>> data = arff.load(open('wheater.arff', 'rb'))\n\nWhich results in::\n\n >>> data\n {\n u'attributes': [\n (u'outlook', [u'sunny', u'overcast', u'rainy']),\n (u'temperature', u'REAL'),\n (u'humidity', u'REAL'),\n (u'windy', [u'TRUE', u'FALSE']),\n (u'play', [u'yes', u'no'])],\n u'data': [\n [u'sunny', 85.0, 85.0, u'FALSE', u'no'],\n [u'sunny', 80.0, 90.0, u'TRUE', u'no'],\n [u'overcast', 83.0, 86.0, u'FALSE', u'yes'],\n [u'rainy', 70.0, 96.0, u'FALSE', u'yes'],\n [u'rainy', 68.0, 80.0, u'FALSE', u'yes'],\n [u'rainy', 65.0, 70.0, u'TRUE', u'no'],\n [u'overcast', 64.0, 65.0, u'TRUE', u'yes'],\n [u'sunny', 72.0, 95.0, u'FALSE', u'no'],\n [u'sunny', 69.0, 70.0, u'FALSE', u'yes'],\n [u'rainy', 75.0, 80.0, u'FALSE', u'yes'],\n [u'sunny', 75.0, 70.0, u'TRUE', u'yes'],\n [u'overcast', 72.0, 90.0, u'TRUE', u'yes'],\n [u'overcast', 81.0, 75.0, u'FALSE', u'yes'],\n [u'rainy', 71.0, 91.0, u'TRUE', u'no']\n ],\n u'description': u'',\n u'relation': u'weather'\n }\n\nYou can write an ARFF file with this structure::\n\n >>> print arff.dumps(data)\n @RELATION weather\n\n @ATTRIBUTE outlook {sunny, overcast, rainy}\n @ATTRIBUTE temperature REAL\n @ATTRIBUTE humidity REAL\n @ATTRIBUTE windy {TRUE, FALSE}\n @ATTRIBUTE play {yes, no}\n\n @DATA\n sunny,85.0,85.0,FALSE,no\n sunny,80.0,90.0,TRUE,no\n overcast,83.0,86.0,FALSE,yes\n rainy,70.0,96.0,FALSE,yes\n rainy,68.0,80.0,FALSE,yes\n rainy,65.0,70.0,TRUE,no\n overcast,64.0,65.0,TRUE,yes\n sunny,72.0,95.0,FALSE,no\n sunny,69.0,70.0,FALSE,yes\n rainy,75.0,80.0,FALSE,yes\n sunny,75.0,70.0,TRUE,yes\n overcast,72.0,90.0,TRUE,yes\n overcast,81.0,75.0,FALSE,yes\n rainy,71.0,91.0,TRUE,no\n %\n %\n %\n\n\nContributors\n------------\n\n- `Nate Moseley (FinalDoom) `_\n- `Tarek Amr (gr33ndata) `_\n- `Simon (M3t0r) `_\n- `Gonzalo Almeida (flecox) `_\n- `Andr\u00e9 Nordb\u00f8 (AndyNor) `_\n- `Niedakh `_\n- `Zichen Wang (wangz10) `_\n- `Matthias Feurer (mfeurer) `_\n- `Hongjoo Lee (midnightradio) `_\n- `Calvin Jeong (calvin) `_\n- `Joel Nothman (jnothman) `_\n- `Guillaume Lemaitre (glemaitre) `_\n\nProject Page\n------------\n\nhttps://github.com/renatopp/liac-arff\n", "description_content_type": "", "docs_url": "https://pythonhosted.org/liac-arff/", "download_url": "https://github.com/renatopp/liac-arff", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/renatopp/liac-arff", "keywords": "arff weka parser liac python", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "liac-arff", "package_url": "https://pypi.org/project/liac-arff/", "platform": "", "project_url": "https://pypi.org/project/liac-arff/", "project_urls": { "Download": "https://github.com/renatopp/liac-arff", "Homepage": "https://github.com/renatopp/liac-arff" }, "release_url": "https://pypi.org/project/liac-arff/2.4.0/", "requires_dist": null, "requires_python": "", "summary": "A module for read and write ARFF files in Python.", "version": "2.4.0" }, "last_serial": 4787471, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c5fde8c4206281a6da68277e6892b9c7", "sha256": "f8329269061f85956795e47267dd4ee79452fe0d1a8683be9d0c5f43c19718ae" }, "downloads": -1, "filename": "liac-arff-1.0.zip", "has_sig": false, "md5_digest": "c5fde8c4206281a6da68277e6892b9c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7455, "upload_time": "2012-07-26T17:23:50", "url": "https://files.pythonhosted.org/packages/ac/ac/acad5381b631d478cb619c4cd48d60a75e911af030cb34d8009be8bd3d54/liac-arff-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a1072cb6616ddc6b1a07beb16ea9eace", "sha256": "a3cd79873c628352b3c931de528ca2355d9f1cca84f5fa6740e8830a8d200d01" }, "downloads": -1, "filename": "liac-arff-1.1.zip", "has_sig": false, "md5_digest": "a1072cb6616ddc6b1a07beb16ea9eace", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8037, "upload_time": "2012-12-16T21:17:46", "url": "https://files.pythonhosted.org/packages/68/2f/19aacc2b36cfe21b5cd8b89c5d270564733bd6b3a2df808fec64f343480d/liac-arff-1.1.zip" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "e2ed1fac6421397e59e2d45aa8acaa9e", "sha256": "14fb9df214741f65533c97c455f5c1098b263a2478cea21bb30500504229a1cb" }, "downloads": -1, "filename": "liac-arff-2.0.win32.exe", "has_sig": false, "md5_digest": "e2ed1fac6421397e59e2d45aa8acaa9e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 210247, "upload_time": "2014-02-13T12:29:14", "url": "https://files.pythonhosted.org/packages/ac/5c/30ee823fba0b74f2f6bc499e96f6c640f0f11b5c75653d7f42bd373bee80/liac-arff-2.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "bfbffa7b13316c378cf46b8130e6c683", "sha256": "1a6e76c15d12b968e45b3ec4a0de438d579f0abefe3105f0bdf972f3fe9d0176" }, "downloads": -1, "filename": "liac-arff-2.0.zip", "has_sig": false, "md5_digest": "bfbffa7b13316c378cf46b8130e6c683", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14300, "upload_time": "2014-02-13T12:28:54", "url": "https://files.pythonhosted.org/packages/95/1a/9d9baee91ad5d05b6c5ba2a8f2d7ce1f2f37deb446fed80588a0bb19669d/liac-arff-2.0.zip" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "7d44a8023a49e2dcad66e45c668bd559", "sha256": "a6c395ae4d3369fe21198dd4a513f5cbfa065fd9135895fafc74e83923b1a403" }, "downloads": -1, "filename": "liac-arff-2.0.1.win32.exe", "has_sig": false, "md5_digest": "7d44a8023a49e2dcad66e45c668bd559", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 210433, "upload_time": "2014-03-01T15:49:58", "url": "https://files.pythonhosted.org/packages/80/ab/91c010d5ccadf3c4196801d4e9567df21cea071dd8bcb2d1c679378b6749/liac-arff-2.0.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "827e53627d541fecc777f46c3e5c86be", "sha256": "8d3b7fa561017320fc08596fd05a6a6e88a82bb1f60c692269312f0549e03e3f" }, "downloads": -1, "filename": "liac-arff-2.0.1.zip", "has_sig": false, "md5_digest": "827e53627d541fecc777f46c3e5c86be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14500, "upload_time": "2014-03-01T15:49:54", "url": "https://files.pythonhosted.org/packages/33/e5/796037babc958364a3f168dc1cf3ca4479a045bf628d6908a3525600995a/liac-arff-2.0.1.zip" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "6abbdbddef3d639e86988d0436ea8dd2", "sha256": "d505ac76506673423c634c9c5988cc8f4cfc7c2b0c96ba3cf3173b3972fe6045" }, "downloads": -1, "filename": "liac-arff-2.0.2.zip", "has_sig": false, "md5_digest": "6abbdbddef3d639e86988d0436ea8dd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15145, "upload_time": "2015-03-21T16:55:04", "url": "https://files.pythonhosted.org/packages/10/b6/45ed34d8798dc0ab5cd688efee3aeb782aa0c871c7ab98eb4f885289d909/liac-arff-2.0.2.zip" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "7f94635fe5bca202a0c18957aaccc342", "sha256": "c23cd4cc4c127b9239bc387be514eb774901fdd4dad23ff9d312015896256c25" }, "downloads": -1, "filename": "liac-arff-2.1.0.win32.exe", "has_sig": false, "md5_digest": "7f94635fe5bca202a0c18957aaccc342", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 212982, "upload_time": "2015-09-10T23:51:59", "url": "https://files.pythonhosted.org/packages/1f/cc/b83cbc8bc6c826ab0cc8e04448d8347157460daae789265440d218e0850e/liac-arff-2.1.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "855148547896b089dbca8f987a229cd0", "sha256": "be6b5b76698d5fca1f24d75c98ed9c0ff5e24eb0d985d01cfd26c08a70f9654e" }, "downloads": -1, "filename": "liac-arff-2.1.0.zip", "has_sig": false, "md5_digest": "855148547896b089dbca8f987a229cd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16883, "upload_time": "2015-09-10T23:50:26", "url": "https://files.pythonhosted.org/packages/0b/2e/b2f38bbfe62fc87612f38d3ece0a917e0f2812369e0c73c298a3d1e7cc19/liac-arff-2.1.0.zip" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "e760832fecd7c4f8f2277bf6669dc0d7", "sha256": "b8ef2c64ae5318f6884dc0e20b8491b0b1c96151a40077a479e0f57257cab817" }, "downloads": -1, "filename": "liac-arff-2.1.1.tar.gz", "has_sig": false, "md5_digest": "e760832fecd7c4f8f2277bf6669dc0d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13111, "upload_time": "2017-06-12T16:22:14", "url": "https://files.pythonhosted.org/packages/67/c6/c66bfdb685264e661bc0fe320b4fe4b31ea60810074c120f6d6824642bd8/liac-arff-2.1.1.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "30b321f50e5198646cf10fad431b617b", "sha256": "2f850665f595a1065fc3ad950f222dbeb623f6fe0cc85437d50d189ac3ca5261" }, "downloads": -1, "filename": "liac-arff-2.2.0.tar.gz", "has_sig": false, "md5_digest": "30b321f50e5198646cf10fad431b617b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12812, "upload_time": "2018-03-14T09:02:00", "url": "https://files.pythonhosted.org/packages/ba/85/0313183b90769cf11a812c633e2296d7d4a26f1571d7fc4694fbfc2cab96/liac-arff-2.2.0.tar.gz" } ], "2.2.1": [ { "comment_text": "", "digests": { "md5": "fb3046beb1b43c47c0806c1414680cd7", "sha256": "09d8185c335ff708e38ab0839cd1b37d490026a402e3f549563fa59b259fee2e" }, "downloads": -1, "filename": "liac-arff-2.2.1.tar.gz", "has_sig": false, "md5_digest": "fb3046beb1b43c47c0806c1414680cd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13689, "upload_time": "2018-03-29T15:05:05", "url": "https://files.pythonhosted.org/packages/54/3a/25fa02f12a564374ee1cb0cdd729fbc27a1b5670a81f66f2fc9c86c07441/liac-arff-2.2.1.tar.gz" } ], "2.2.2": [ { "comment_text": "", "digests": { "md5": "121e69eeae46cf143dc4bd7149afc127", "sha256": "f4b60475e7473c4c42665f106ef87fe94fbf1e4cac7571903153ad38c3167c69" }, "downloads": -1, "filename": "liac-arff-2.2.2.tar.gz", "has_sig": false, "md5_digest": "121e69eeae46cf143dc4bd7149afc127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14040, "upload_time": "2018-06-19T11:38:03", "url": "https://files.pythonhosted.org/packages/91/ce/1edd1bf796de8a8379e61f6bd436faf623af05ce1cdbc8233d7335a903ac/liac-arff-2.2.2.tar.gz" } ], "2.2.3": [ { "comment_text": "", "digests": { "md5": "6dd5bc6d3e9806c26f5a501dc860795c", "sha256": "b72386fddf0e7400a93d683195aa4fa2bd2d1e27668a1b75fad206f0869a6a29" }, "downloads": -1, "filename": "liac-arff-2.2.3.tar.gz", "has_sig": false, "md5_digest": "6dd5bc6d3e9806c26f5a501dc860795c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14682, "upload_time": "2018-08-07T12:31:31", "url": "https://files.pythonhosted.org/packages/86/fa/0a46937d5d738546a09aa586864448c6bd1958b31f0490f22157b902f1d9/liac-arff-2.2.3.tar.gz" } ], "2.3": [ { "comment_text": "", "digests": { "md5": "312eca47064c0fa395ab2492eeceb734", "sha256": "21b1b17c082cacd7b554bf9a42f6de61d2bf02feef6eb31ec36b5486c31b2ae9" }, "downloads": -1, "filename": "liac-arff-2.3.tar.gz", "has_sig": false, "md5_digest": "312eca47064c0fa395ab2492eeceb734", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14677, "upload_time": "2018-08-07T12:32:37", "url": "https://files.pythonhosted.org/packages/fe/86/bb6ec40c564dd6b399c2e11f06d94aadaadd6923cc1b6e74835745381d65/liac-arff-2.3.tar.gz" } ], "2.3.1": [ { "comment_text": "", "digests": { "md5": "01ae0c79ea55ca93e323fbede8cf85c8", "sha256": "fa7aa8e9710d5906e5bab523e332aa1e40c6d2f6e453647c0e000c9b271497f4" }, "downloads": -1, "filename": "liac-arff-2.3.1.tar.gz", "has_sig": false, "md5_digest": "01ae0c79ea55ca93e323fbede8cf85c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14793, "upload_time": "2018-08-16T07:50:08", "url": "https://files.pythonhosted.org/packages/c9/c3/6966861e2f4d302ac3a36821f7ac503b57d98cb9cc3b28e9cd8ef8b7df65/liac-arff-2.3.1.tar.gz" } ], "2.4.0": [ { "comment_text": "", "digests": { "md5": "bd80bae247476a66d1941ce4ce4e4d5c", "sha256": "47afcd1fd248b2892f66075987422d0576fc2c2fd0811d0cbd32f2135b065df5" }, "downloads": -1, "filename": "liac-arff-2.4.0.tar.gz", "has_sig": false, "md5_digest": "bd80bae247476a66d1941ce4ce4e4d5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15276, "upload_time": "2019-02-06T16:25:11", "url": "https://files.pythonhosted.org/packages/e9/35/fbc9217cfa91d98888b43e1a19c03a50d716108c58494c558c65e308f372/liac-arff-2.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bd80bae247476a66d1941ce4ce4e4d5c", "sha256": "47afcd1fd248b2892f66075987422d0576fc2c2fd0811d0cbd32f2135b065df5" }, "downloads": -1, "filename": "liac-arff-2.4.0.tar.gz", "has_sig": false, "md5_digest": "bd80bae247476a66d1941ce4ce4e4d5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15276, "upload_time": "2019-02-06T16:25:11", "url": "https://files.pythonhosted.org/packages/e9/35/fbc9217cfa91d98888b43e1a19c03a50d716108c58494c558c65e308f372/liac-arff-2.4.0.tar.gz" } ] }