Official Documentation
If you don’t want to install from pip you can clone the git repository and install from there. If you want to install a specific branch of the repository, refer below.
Inside of the repository folder run:
$ pip install .
You can either clone new and specify the branch
$ git clone https://github.com/ubirch/ubirch-protocol-python.git --branch <other branch>
Or if git branch doesn’t return the branch you want to install,
change it using git checkout
$ git branch
ecdsa-examples
* master
$ git checkout <other branch>
Switched to a new branch 'ecdsa-examples'
Make sure correct branch is selected by running $ git branch
again.