Search…
Python app Installation
Step-by-step guide to installation with Python.
Integrate our Jet Bridge plugin with Python installation. You can place it behind your VPN, in your own VPC, and works locally. We won’t get access to your data, however, you will still receive updates normally.

Requirements:

  • Python 2.7 or 3.4+
  • pip - package manager for Python
  • Any of the following SQL Databases:
    • PostgreSQL
    • MySQL
    • SQLite
    • Oracle
    • Microsoft SQL Server
    • Firebird
    • Sybase
  • localhost or web server with an external IP

Installation

1. Install Python 2.7 or 3.4+ (comes with pip).
2. Install jet_bridge package using pip or update it from the command line as follows:
1
pip install jet_bridge -U
2
# or for Python 3
3
pip3 install jet_bridge -U
Copied!
3. Install an appropriate database adapter and libraries:
1
# for PostgreSQL
2
pip install psycopg2
3
4
# for PostgreSQL + PosGIS
5
pip install GeoAlchemy2==0.6.2
6
pip install Shapely==1.6.4
7
8
# for MySQL
9
pip install mysqlclient
10
11
# for MSSQL
12
pip install pyodbc
Copied!
4. Run Jet Bridge from the command line as shown below:
1
# for Ubuntu/MacOS/Linux/etc (UNIX systems)
2
PROJECT={{project_name}} TOKEN={{token}} jet_bridge
3
4
# for Windows
5
set PROJECT={{Project Name}} && set TOKEN={{Token}} && jet_bridge
Copied!
{Project Name} and {Token} is automatically generated when you connect resource.
If you are using Jet Bridge just for HTTP requests (and not SQL) you can use Project Token as value for {Token}.
This command creates a config if you run it for the first time.
After filling all required options you can now run Jet Bridge by executing the command once again:
1
jet_bridge
Copied!
5. Finish your project installation by opening this link in your browser (usually, it opens automatically):
1
http://localhost:8888/api/register/
Copied!
localhost is your Jet Bridge HOST and 8888 is its PORT.
If you want to run Jet Bridge on a different host or port, read the instructions on the Configuration page.
Last modified 29d ago
Export as PDF
Copy link