Installation

This page will walk you through how to install the Stopwatch Kit in the Python runtime environment.

Source code

We host the full source code for Stopwatch-Kit for Python in Github's public repository, which you can get at https://github.com/nobody-night/stopwatch-python.

Installation

The following example installs the shell command assuming pip and python indicate pip3 and python3.

Install from PyPI

Usually, this is your preferred installation method. We currently publish and host the packaged Wheel files for the Stopwatch Kit on the Python Package Index and SmallSO Libget.

  • Python Package Index

Tips: Sorry, the installation index is not supported at this time because the package index name conflicts with an invalid package. We are currently actively contacting the owner of the invalid package and getting the transfer.

pip install stopwatch
  • SmallSO Libget

pip install https://libget.com/pypi/smallso/stopwatch-release-py3-none-any.whl

If PyPI cannot be accessed normally or the delay is too high, you should choose to pull and install it via SmallSO Libget.

Install from source code

  • Installation dependent Python code package

pip install setuptools
pip install wheel
  • Clone source code from Github

git clone https://github.com/nobody-night/stopwatch-python.git
  • Packing Stopwatch Kit

cd stopwatch-python
python setup.py sdist bdist_wheel
  • Install Stopwatch Kit

pip install dist/stopwatch-release-py3-none-any.whl

Uninstall

The following example installs the shell command assuming pip and python indicate pip3 and python3.

pip uninstall stopwatch