Installation and Token
Install Python
Install Python from python.org (version: 3.9x)
Install OpenSRANE
OpenSRANE developed as a package on Python programming environment. it has published on PyPI and users can install this package using following command for windows:
pip install OpenSRANETo upgrade:
pip install OpenSRANE -UNote
For other systems (Mac, Linux …) using corresponding commands for installing Python packages users can install the package.
Editor
Users can use any editor for writing Python codes. However, it is highly recommended to use Visual Studio Code as the main editor of your scripts.
Import OpenSRANE
By installing the package on the system, users can call it like all the other Python packages or libraries using import command:
import opensrane as opr
Enter Your Token
After importing the OpenSRANE, you Token (username and password) should be eneter as shown in the followin:
opr.Token.userpass('username', 'password')Note
To take username and password just send a request email to OpenSRANE@Gmail.com and your username and password will be sent for you. For any question or problem call Bijan SayyafZadeh: B.Sayyaf@yahoo.com, +989168046144