{ "info": { "author": "Shravan Murali", "author_email": "shravanmurali@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Topic :: Education" ], "description": "Codeforces-dl :inbox_tray: \r\n-------------------------- \r\n\r\n.. image:: https://travis-ci.org/shravan97/codeforces-dl.svg?branch=master\r\n :target: https://travis-ci.org/shravan97/codeforces-dl\r\n \r\n.. image:: https://landscape.io/github/shravan97/codeforces-dl/master/landscape.svg?style=flat\r\n :target: https://landscape.io/github/shravan97/codeforces-dl/master\r\n :alt: Code Health \r\n\r\n!!! **Attention** : Please install `competitive-dl `__ instead of this one . It has a lot more features than this one !!! \r\n \r\nDescription \r\n~~~~~~~~~~~ \r\n\r\n| ``Codeforces-dl`` lets you download specific problems/problem sets as\r\n PDFs from `codeforces.com `__ for offline practice \r\n \r\n *Inspired by* `topcoder-dl `__\r\n\r\nRequirements \r\n~~~~~~~~~~~~ \r\n\r\n- `BeautifulSoup4 `__\r\n\r\n - ``$ pip install beautifulsoup4`` **or**\r\n - ``$ sudo apt-get install python-beautifulsoup4``\r\n\r\n- `pdfkit `__\r\n\r\n - ``$ sudo pip install pdfkit``\r\n\r\n- `wkhtmltopdf `__ (**This dependency has to\r\n be installed manually**)\r\n\r\n - ``$ sudo apt-get install wkhtmltopdf``\r\n\r\nInstallation \r\n~~~~~~~~~~~~ \r\n\r\nFrom source : \r\n''''''''''''' \r\n\r\n.. code:: sh\r\n\r\n git clone https://github.com/shravan97/codeforces-dl.git \r\n\r\n.. code:: sh\r\n\r\n cd codeforces-dl \r\n\r\n.. code:: sh\r\n\r\n python setup.py \r\n\r\nUsing pip : \r\n''''''''''' \r\n\r\n.. code:: sh\r\n\r\n sudo pip install codeforces-dl \r\n\r\nBy downloading the Zip/Tar file \r\n''''''''''''''''''''''''''''''' \r\n\r\nYou can also download the zip/tar file from `here `__ and then unzip the contents to a folder and run \r\n\r\n.. code:: sh\r\n\r\n\t\tpython setup.py\r\n\r\nUsage \r\n~~~~~ \r\n\r\n.. code:: sh\r\n\r\n usage: codeforcesdl [-h] [-contest CONTEST] [-problem PROBLEM] [-lang LANG]\r\n [-dir DIR] [-out OUT]\r\n\r\n optional arguments:\r\n -h, --help show this help message and exit\r\n -contest CONTEST contest id (For eg. 681,439 ..etc)\r\n -problem PROBLEM problem index (For eg. A,C ..etc)\r\n -lang LANG printing language\r\n -dir DIR path to the directory in which the output file has to be\r\n saved\r\n -out OUT your desired name for output file \r\n\r\nSample Usage\r\n~~~~~~~~~~~~ \r\n\r\n.. code:: sh\r\n\r\n codeforcesdl -contest 682 -problem A -dir Demo -out my_fav_problem.pdf \r\n \r\n\r\n.. code:: sh\r\n\r\n codeforcesdl -contest 678 -dir Demo -out problems.pdf \r\n \r\n(Please check `Demo `__ folder for the sample documents)\r\n\r\nContributions \r\n~~~~~~~~~~~~~ \r\n\r\nFound something useful to contribute to this project ? Please feel free\r\nto give a pull request :smile:\r\n\r\nContributors \r\n~~~~~~~~~~~~ \r\n\r\n- `shravan97 `__\r\n\r\nLicense \r\n~~~~~~~ \r\n\r\nGNU General Public License v3 (GPLv3)", "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/shravan97/codeforces-dl", "keywords": "downloader,download as pdf,codeforces,competitive programming", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "codeforces-dl", "package_url": "https://pypi.org/project/codeforces-dl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/codeforces-dl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shravan97/codeforces-dl" }, "release_url": "https://pypi.org/project/codeforces-dl/1.0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Downloads any problem/problem set from any contest hosted in codeforces.com", "version": "1.0.0.1" }, "last_serial": 2272681, "releases": { "1.0.0.1": [ { "comment_text": "", "digests": { "md5": "096b66826f69f650eaa78fbd7e911409", "sha256": "e61ad78e62f11165238f68cd48c6e07b69ff77ae74c06ddc909b05e7cfdd053a" }, "downloads": -1, "filename": "codeforces-dl-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "096b66826f69f650eaa78fbd7e911409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2529, "upload_time": "2016-06-21T06:58:14", "url": "https://files.pythonhosted.org/packages/e4/0f/d4ff2809d1396eb21d2d8879915b4a2ae7c3d6018eb912ef9bf39ba42c73/codeforces-dl-1.0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "096b66826f69f650eaa78fbd7e911409", "sha256": "e61ad78e62f11165238f68cd48c6e07b69ff77ae74c06ddc909b05e7cfdd053a" }, "downloads": -1, "filename": "codeforces-dl-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "096b66826f69f650eaa78fbd7e911409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2529, "upload_time": "2016-06-21T06:58:14", "url": "https://files.pythonhosted.org/packages/e4/0f/d4ff2809d1396eb21d2d8879915b4a2ae7c3d6018eb912ef9bf39ba42c73/codeforces-dl-1.0.0.1.tar.gz" } ] }