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

How to install zeropos via python pip




zeropos - Zero POS ======== A zeroconf based POS printing daemon What is Zero POS ---------------- Zero POS was designed to solve a very specific problem we faced at Openlabs, but we thought could be generic enough for others to use. Here is the use case: The Tryton iPad based POS should be able to print to the commonly found POS printer - a thermal printer like the Epson TM-T81. The printer only talks over USB and does not have wireless printing capabilities! With zeropos, you could bundle the printer with a low cost computer like the Raspberry Pi and connect the printer to it and run zeropos daemon on the raspberry pi. The printing service can be discovered over zero conf from the iPad application and your application could send a POST request to the service to print ZPL to the printer. Installation ------------- The quickest way to install this software is using pip :: pip install zeropos Administration -------------- The daemon can be adminisered by opening the service URL from a browser. TODO ---- 1. Implement secutiry for the admin interface. 2. Write API documentation for the admin HTTP API., it belongs to Classifiers:

- Environment :: Plugins
- Framework :: Tryton
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Topic :: Office/Business

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



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_zeropos_env

- Active the virtual environment

test_zeropos_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_zeropos_env

- Active the virtual environment

source test_zeropos_env/bin/active


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

To install zeropos on Windows(CMD):

py -m pip install zeropos

To install zeropos on Unix/macOs:

pip install zeropos


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

Example:

pip install zeropos==0.1.0


Please see the version list below table:

VersionReleased dateCommand
zeropos 0.1.22014-10-31T19:02:56Windows:

py -m pip install zeropos==0.1.2

Unix/macOs:

pip install zeropos==0.1.2

zeropos 0.1.12014-10-31T18:58:01Windows:

py -m pip install zeropos==0.1.1

Unix/macOs:

pip install zeropos==0.1.1

zeropos 0.1.02014-10-31T17:43:18Windows:

py -m pip install zeropos==0.1.0

Unix/macOs:

pip install zeropos==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_zeropos_downloaded_file>

On Unix/macOs:

pip install <path_to_zeropos_downloaded_file>


List distribution:


Project link:

- Homepage