{ "info": { "author": "Alejandro Blanco", "author_email": "ablanco@yaco.es", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: JavaScript", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Quality Assurance" ], "description": "==============\nJSLint Wrapper\n==============\n\nJSLint wrapper for Python. Can be invoked from the command line and any Python\ncode.\n\nIt is built on the power of NodeJS.\n\nDependencies\n============\n\nIt only depends on `nodejs `_. You must have node on your\nsystem for running this wrapper.\n\nIt runs just fine with the `0.4.12 version\n`_, but it may work too with other\nversions.\n\nThere is no need to download JSLint, it will be fetched for your convinience.\nBut, if you want to use your own JSLint file you can specify it with an option,\njust make it sure it is prepared to be executed on nodejs.\n\nInstallation\n============\n\nIt is `uploaded to PyPI `_ so this will\ndo the trick::\n\n easy_install pyjslint\n\nOr you can install it from the source code running::\n\n python setup.py install\n\nIn both cases you must have installed in your system setuptools or distribute.\n\nUse it from the command line\n============================\n\nIf you call the wrapper without arguments this will be the output::\n\n $ pyjslint\n One JavaScript file must be specified\n Usage: pyjslint [options] jsfile\n\nSo at least one JavaScript file must be specified.\n\nLet's look at the possible options::\n\n $ pyjslint --help\n Usage: pyjslint [options] jsfile\n\n Options:\n -h, --help show this help message and exit\n -u, --upgrade Upgrade JSLint\n -j JSLINT, --jslint=JSLINT\n JSLint location\n -o JSOPTIONS, --options=JSOPTIONS\n JSLint options\n -n NODE, --node=NODE Node location\n\nWith this options you can specify the JSLint file to use, where to find the\nnode executable or just make it sure it downloads the newest JSLint available.\n\nUse it from Python\n==================\n\nIf you want to use in your Python code, maybe in a control version system hook\nor something, just make it sure it is in the Python path and do something like\nthis::\n\n import pyjslint\n\n # The method requires the text content of the file to check\n pyjslint.check_JSLint(file.read())\n\nIt will return a list with the errors found by JSLint.\n\nThere is no way to specify options yet if you invoke it this way. Maybe\nsomeday, contributions are welcome ;)\n\nAcknowledges\n============\n\nBased on `code from FND\n`_.\n\nNotes\n=====\n\nIf no JSLint file is specified (the default behaviour), it will download the\nnewest one from `Douglas GitHub `_\ninto ~/.jslint/jslint.js", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Yaco-Sistemas/pyjslint/", "keywords": "jslint javascript lint hook qa", "license": "BSD-3", "maintainer": null, "maintainer_email": null, "name": "pyjslint", "package_url": "https://pypi.org/project/pyjslint/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyjslint/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Yaco-Sistemas/pyjslint/" }, "release_url": "https://pypi.org/project/pyjslint/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "JSLint wrapper", "version": "0.3.4" }, "last_serial": 726668, "releases": { "0.1dev": [ { "comment_text": "", "digests": { "md5": "3daf9b411a0e4e3346b243905deee348", "sha256": "1f69efae3f333d4c9d4e28a593cb72c8f8175fd663f7492ac97253e0dd19b90f" }, "downloads": -1, "filename": "pyjslint-0.1dev.tar.gz", "has_sig": false, "md5_digest": "3daf9b411a0e4e3346b243905deee348", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3825, "upload_time": "2011-10-28T10:06:56", "url": "https://files.pythonhosted.org/packages/f3/4e/a4678fceb7c09e9735f89e428e1c1f7440a281a40bd21d28380f5661984c/pyjslint-0.1dev.tar.gz" } ], "0.2dev": [ { "comment_text": "", "digests": { "md5": "7758d306d53e09c9bcef7cf671b3a006", "sha256": "d1c489c31d248a154488cf59c1f11a67a9177ab5f2bde9a151e1284091a76599" }, "downloads": -1, "filename": "pyjslint-0.2dev.tar.gz", "has_sig": false, "md5_digest": "7758d306d53e09c9bcef7cf671b3a006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5099, "upload_time": "2011-11-04T20:37:32", "url": "https://files.pythonhosted.org/packages/f9/0a/7c696ba085b1a9747c8a2126a8d3343db93186a6d0e957b466c56331ec62/pyjslint-0.2dev.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "181682e4c82a8043960bf08d52b100e3", "sha256": "74766bbff49db381c3209ced5e8d67690f19369f785a7b8493cf1e2fd7c8e6fb" }, "downloads": -1, "filename": "pyjslint-0.3.tar.gz", "has_sig": false, "md5_digest": "181682e4c82a8043960bf08d52b100e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3729, "upload_time": "2011-11-16T14:53:52", "url": "https://files.pythonhosted.org/packages/f6/6e/244ee312f7e274d55406e0c6a58bc83749acfcfb480003de02f5714e39b2/pyjslint-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "69b1b6f43899f19b3b3779f728a3702b", "sha256": "1184ea8e5ca2798f0a59faa3a4d3edebd387e7df92f19d1d7e658f2cf5acb2ec" }, "downloads": -1, "filename": "pyjslint-0.3.1.tar.gz", "has_sig": false, "md5_digest": "69b1b6f43899f19b3b3779f728a3702b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5071, "upload_time": "2011-11-16T16:00:19", "url": "https://files.pythonhosted.org/packages/45/33/772b74cdce497689bfe2d187cf983067c2cbb5d4b75f0ed77f6065bdc749/pyjslint-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "b0c83f1422dbd8f3f33833416b729f84", "sha256": "4565597e036deda06d8fbcd111dc7cccbb58a776be5c2e3cd8dd89f4241d9463" }, "downloads": -1, "filename": "pyjslint-0.3.2.tar.gz", "has_sig": false, "md5_digest": "b0c83f1422dbd8f3f33833416b729f84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5126, "upload_time": "2011-11-17T09:05:51", "url": "https://files.pythonhosted.org/packages/05/d2/5897e240176ea79574e39a4323dfed5106e803b7cc0d0ea87c16d180e04a/pyjslint-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "0fe015ea63c4f5ede9d9be593cf1c6e1", "sha256": "8b5ead50d23126c44ef514f4a0913fd26efafbf6101f9ec1f2b5d2367eaa528b" }, "downloads": -1, "filename": "pyjslint-0.3.3.tar.gz", "has_sig": false, "md5_digest": "0fe015ea63c4f5ede9d9be593cf1c6e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5209, "upload_time": "2011-12-01T13:56:48", "url": "https://files.pythonhosted.org/packages/33/a9/069589cd6b26ee0fa24392691f8d71fd0624828a307a02b20ac3d34c1eec/pyjslint-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "cb8a0aa4edf470f04cd058e33994997b", "sha256": "e817581357858656ba7eae837240eb66d4c9b4e9ff34ee430d42910131467b3d" }, "downloads": -1, "filename": "pyjslint-0.3.4.tar.gz", "has_sig": false, "md5_digest": "cb8a0aa4edf470f04cd058e33994997b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5301, "upload_time": "2013-03-24T18:10:38", "url": "https://files.pythonhosted.org/packages/65/52/3314ffcaee08bb701953e015a6c73ba82518bef39be95ef14f87897f7ee4/pyjslint-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cb8a0aa4edf470f04cd058e33994997b", "sha256": "e817581357858656ba7eae837240eb66d4c9b4e9ff34ee430d42910131467b3d" }, "downloads": -1, "filename": "pyjslint-0.3.4.tar.gz", "has_sig": false, "md5_digest": "cb8a0aa4edf470f04cd058e33994997b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5301, "upload_time": "2013-03-24T18:10:38", "url": "https://files.pythonhosted.org/packages/65/52/3314ffcaee08bb701953e015a6c73ba82518bef39be95ef14f87897f7ee4/pyjslint-0.3.4.tar.gz" } ] }