{ "info": { "author": "Waqas Younas", "author_email": "waqas.younas@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2.7", "Topic :: Internet", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Copyleaks Python SDK\n======================\n\nCopyleaks (http://www.copyleaks.com) Python SDK\n\nInstalling dependencies\n------------------------\n\nCreate a virtual environment and install dependencies from requirements.txt by running (from the root):\n\n::\n\n > pip install -r requirements.txt\n\nSetup\n------\n\nYou can setup the project by downloading the source code and then running the following command:\n\n::\n\n > python setup.py install\n\nOnce installed you should get your API key from http://copyleaks.com and you can get started. For example, here\nis how you can count credits\n\n::\n\n >>> from copyleaks_sdk.copyleaks import CopyLeaks\n >>> self.copyleak = CopyLeaks(YOUR USERNAME HERE, API KEY HERE)\n >>>\n >>> def test_count_credits(self):\n >>> credit = self.copyleak.count_credits()\n\nAnd here is how you can create a process by file:\n\n::\n\n >>> response = self.copyleak.create_process_by_file('full_path_of_file.txt')\n\nThere are tests available, kindly look at them for some example code.\n\nTests\n------\n\nFirstly, in order for tests to run you need a config.py under tests directory containing API credentials. For example,\nwe will have a file tests/config.py with following contents:\n\n::\n\n username = 'USERNAME HERE'\n api_key = 'API KEY GOES HERE'\n\nYou can find tests under copyleaks-python-sdk/tests. Tests are written the built-in unittest module and can simply\nbe run from the command line.\n\nLicense\n--------\n\nThis project is licensed under the terms of MIT license.", "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/wyounas/copyleaks-python-sdk", "keywords": "copyleaks,copyleakssdk,sdk", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "CopyleaksPythonSDK", "package_url": "https://pypi.org/project/CopyleaksPythonSDK/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/CopyleaksPythonSDK/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/wyounas/copyleaks-python-sdk" }, "release_url": "https://pypi.org/project/CopyleaksPythonSDK/0.1/", "requires_dist": null, "requires_python": null, "summary": "A Python SDK for Copyleaks (http://copyleaks.com)", "version": "0.1" }, "last_serial": 1979777, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cd33f3fcef145c7c85ca972c42b16ee4", "sha256": "deadce3c116c3873391a28e0a39b4073ea62ccc215b9fa559c3bc1ef403a2b45" }, "downloads": -1, "filename": "CopyleaksPythonSDK-0.1.tar.gz", "has_sig": false, "md5_digest": "cd33f3fcef145c7c85ca972c42b16ee4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3850, "upload_time": "2016-02-27T16:48:15", "url": "https://files.pythonhosted.org/packages/96/2d/4fbdf70adb05bd3911ff6df27b846cdbfdfb2ef41bbfadf6d3fbfb46c3e2/CopyleaksPythonSDK-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd33f3fcef145c7c85ca972c42b16ee4", "sha256": "deadce3c116c3873391a28e0a39b4073ea62ccc215b9fa559c3bc1ef403a2b45" }, "downloads": -1, "filename": "CopyleaksPythonSDK-0.1.tar.gz", "has_sig": false, "md5_digest": "cd33f3fcef145c7c85ca972c42b16ee4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3850, "upload_time": "2016-02-27T16:48:15", "url": "https://files.pythonhosted.org/packages/96/2d/4fbdf70adb05bd3911ff6df27b846cdbfdfb2ef41bbfadf6d3fbfb46c3e2/CopyleaksPythonSDK-0.1.tar.gz" } ] }