- What We Offer
- Your Processing Environment
- Example of tool usage
- Processing EO Data and Serving www services
- Processing and Storing EO
- Embedding OGC WMS Services into Your website
- GPU Use Case
- Using the EO Browser
- EO Data Finder API Manual
- Use of SNAP and QGIS on a CREODIAS Virtual Machine
- Use of WMS Configurator
- DNS as a Service - user documentation
- Use of Sinergise Sentinel Hub on the CREODIAS EO Data Hub
- Load Balancer as a Service
- Jupyter Hub
- Use of CREODIAS Finder for ordering data
- ESRI ArcGIS on CREODIAS
- Legal Matters
- Pricing Plans
- Public Reporting Dashboards
- Sentinel Hub Documentation
- Integration Guides
- OGC API
- Custom Processing Scripts
How to install pipenv and pipenv-pipes?
In python programming, virtual environments play a significant role. They allow you to separate packages into different spaces. This kind of treatment does not collide with globally installed packages, hence you can experiment with dozen of particular versions and package-dependencies.
It is a tool that automatically creates a virtualenv on your desire. It is also capable of adding/removing packages from your configuration files.
It is tool that is being used for switching between environments.
(As a example Ubuntu 18.04)
1. Open your terminal.
2. Install pipenv and pipenv-pipes using pip3 command.
eouser@CREODIAS:~$ pip3 install pipenv pipenv-pipes --user --user flag inform pip to locate the package installation into your home directory
Edit your profile in order to run pipenv from anywhere.
eouser@CREODIAS:~$ nano ~/.profile
add one line at the end of the document
PATH="$PATH:/home/CREODIAS/.local/bin" Change CREODIAS to your username.
Next, run source .profile by entering:
eouser@CREODIAS:~$ source~/.profileCreate an virtual environment Make a directory and cd into it:
eouser@CREODIAS:~$ mkdirenvironment_for_python_2 eouser@CREODIAS:~$ cdenvironment_for_python_2
Run this command in order to create a virtual environment, install flask and its dependencies.
eouser@CREODIAS:~/environment_for_python_2$ pipenv installflask --two --two flag choose the python interpreter in version 2.
After installation you can activate virtual environment by using pipenv shell command.
(environment_for_python_2) eouser@test1:~/environment_for_python_2$. On the left of your username you can findout about current environment activated
You can exit current environment by typing in exit.
When you examine a Pipfile which is automatically generated during environment creation, you can find four different tabs source, dev-packages, packages and requires.
[[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true [dev-packages] [packages] flask = "*" [requires] python_version = "2.7"
Source → Define a Python repository location
dev-packages → experimental packages installed in virtual environment
packages → normal packages that has been demanded to be installed
requires → restrictions concerning packages and python versions
In Pipfile.lock you can check checksum such as sha256 or md5 for particular packages.
To list all available commands you can just type in pipenv.
If you create more than virtual environment, you can switch between them using pipes command (Its output generates an interactive list with all available environments)
Pipenv Environments environment_for_python_2-XLko4iGZ environment_for_python_3-Awp387mO