Package: pypackt
WARNING:Due to introduction of reCAPTCHA athttps://www.packtpub.com/packt/offers/free-learningthis project is no
longer supported.pypacktis a command line tool to easily claim daily free ebooks
fromwww.packtpub.cominto your packtpub account - my personal collection consists of over 350
books and still grows! :)Table of ContentsRequirementsInstallationUsageContributingSupportLicenseTroubleshootingAcknowledgementsRequirementspypackt works on Linux and Windows (tested on Linux Mint 18.1 and
Windows 7) and is both Python 2 and Python 3 compatible (tested onpython2.7andpython3.5+).Dependencies:Scrapy- to interact with packtpub.com (login and ebook claim)requests- for URLs manipulationpython-crontab- to add job to user’s crontabInstallationpypackt can be easily installed usingpip:pip install -U pypacktUsageBasic usageTo run pypackt simply typepypacktin your terminal:~$ pypacktIf you are running pypackt for the very first time you will be asked to
provide your login details to www.packtpub.com:~$ pypackt
Login data for packtpub.com is not set - please set it now:
Set Packtpub login details
Login: your_email@example.com
Password:(**NOTE*: Your login details are used ONLY to login into
www.packtpub.com and are stored inuser.inifile in package
installation directory)*If you have a working Internet connection and provided correct login
details, after a moment you should see a title of the claimed ebook, for
example:Learning Robotics Using PythonAvailable commandsTo see list of available commands just typepypackt-h:usage: pypackt [-h] [-c | -l | -ls | -cr | -s]

Tool to claim your daily free eBooks at www.packtpub.com with ease.

optional arguments:
  -h, --help       show this help message and exit
  -c, --configure  Configure login and password to www.packtpub.com.
  -l, --last       Show last claimed book.
  -ls, --list      List all books claimed with pypackt.
  -cr, --cron      Add job to user's crontab to claim free ebooks daily.
  -s, --show       Show login settings.ContributingContributions are always welcome - just:1. Fork the project.2. Commit your changes on a feature branch.3. Push them.4. Submit a pull request.5. Have your changes merged :)SupportIf you need assistance, want to report a bug or request a feature,
please raise an issuehereor contact me
directly atkrzysztof.chomski@gmail.com.Please attachpypackt.logfile located in package installation
directory if your request is bug related.Licensepypackt is released under the terms of the MIT License. Please refer to
theLICENSE.txtfile for more details.TroubleshootingOn Windows you can encounter some problems during the installation
process, which are - luckily - quite easy to solve:Problem:error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27Solution:Open URL mentioned in the error message and install Microsoft Visual
C++ Compiler for Python 2.7.Problem:Unhandled error in Deferred:Solution:It’s a problem related towin32api. To solve it just install:pip install -U pypiwin32Problem:error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools":
http://landinghub.visualstudio.com/visual-cpp-build-toolsSolution:Again - follow URL from error message, download and install Microsoft
Visual C++ Build Tools.AcknowledgementsGreat thanks toPacktpub.comfor sharing
free ebooks every day!