Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install docraptor via python pip




docraptor - A wrapper for the DocRaptor HTML to PDF/XLS service., it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Environment :: Web Environment
- Intended Audience :: Information Technology
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Operating System :: Unix
- Topic :: Internet
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Multimedia
- Topic :: Multimedia :: Graphics
- Topic :: Multimedia :: Graphics :: Presentation
- Topic :: Office/Business
- Topic :: Office/Business :: Financial
- Topic :: Office/Business :: Financial :: Spreadsheet
- Topic :: Printing
- Topic :: Text Processing
- Topic :: Text Processing :: Markup
- Topic :: Text Processing :: Markup :: HTML

When you know about this project and you want to new install docraptor to support your project or you get trouble as ModuleNotFoundError: No module named "docraptor" or ImportError: cannot import name "docraptor" in your project, let follow this tutorial to install docraptor



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_docraptor_env

- Active the virtual environment

test_docraptor_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_docraptor_env

- Active the virtual environment

source test_docraptor_env/bin/active


Step 2: OK, now, let flow below content to start the installation docraptor

To install docraptor on Windows(CMD):

py -m pip install docraptor

To install docraptor on Unix/macOs:

pip install docraptor


Step 3: If you want to install a specific docraptor version, add ==<docraptor version> to the end command line

Example:

pip install docraptor==0.0.1


Please see the version list below table:

VersionReleased dateCommand
docraptor 2.0.02020-08-03T13:51:12Windows:

py -m pip install docraptor==2.0.0

Unix/macOs:

pip install docraptor==2.0.0

docraptor 1.2.02016-11-03T19:36:32Windows:

py -m pip install docraptor==1.2.0

Unix/macOs:

pip install docraptor==1.2.0

docraptor 1.1.02016-09-27T20:56:56Windows:

py -m pip install docraptor==1.1.0

Unix/macOs:

pip install docraptor==1.1.0

docraptor 1.0.02016-05-13T17:56:18Windows:

py -m pip install docraptor==1.0.0

Unix/macOs:

pip install docraptor==1.0.0

docraptor 0.3.02016-03-12T20:43:34Windows:

py -m pip install docraptor==0.3.0

Unix/macOs:

pip install docraptor==0.3.0

docraptor 0.2.12016-03-03T20:14:01Windows:

py -m pip install docraptor==0.2.1

Unix/macOs:

pip install docraptor==0.2.1

docraptor 0.2.02016-01-29T23:04:40Windows:

py -m pip install docraptor==0.2.0

Unix/macOs:

pip install docraptor==0.2.0

docraptor 0.1.02016-01-27T20:06:28Windows:

py -m pip install docraptor==0.1.0

Unix/macOs:

pip install docraptor==0.1.0

docraptor 0.0.12016-01-16T15:22:17Windows:

py -m pip install docraptor==0.0.1

Unix/macOs:

pip install docraptor==0.0.1


Step 4: Otherwise, you can install docraptor from local archives:

Download the distribution file from docraptor-2.0.0.tar.gz or the specific docraptor version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_docraptor_downloaded_file>

On Unix/macOs:

pip install <path_to_docraptor_downloaded_file>


List distribution:

- docraptor-0.0.1-py2-none-any.whl
- docraptor-0.0.1.tar.gz
- docraptor-0.1.0-py2-none-any.whl
- docraptor-0.1.0.tar.gz
- docraptor-0.2.0-py2-none-any.whl
- docraptor-0.2.0.tar.gz
- docraptor-0.2.1-py2-none-any.whl
- docraptor-0.2.1.tar.gz
- docraptor-0.3.0-py2-none-any.whl
- docraptor-0.3.0.tar.gz
- docraptor-1.0.0-py2-none-any.whl
- docraptor-1.0.0.tar.gz
- docraptor-1.1.0-py2-none-any.whl
- docraptor-1.1.0.tar.gz
- docraptor-1.2.0-py2-none-any.whl
- docraptor-1.2.0.tar.gz
- docraptor-2.0.0-py3-none-any.whl
- docraptor-2.0.0.tar.gz
- docraptor-3.0.0-py3-none-any.whl
- docraptor-3.0.0.tar.gz


Project link:

- Homepage