semvec/pypi-packages huggingface dataset:
aeoncloud 0.1.4
Aeon Cloud Python

# Aeon Cloud Client

## Install Aeon Cloud

The Aeon Cloud client is hosted on Artifactory and can be installed via Pip.

```bash
pip install aeoncloud -i <artifactory_url_here>
```

## Run a Blocking Session Client

Note,  settings can be any Aeon property used by Aeon.

```python
from aeoncloud import get_session_factory

aeon = get_session_factory()
session = aeon.get_session(settings={
    'settings': {
        'aeon.platform.http.url': 'http://localhost:8081/api/v1/',
        'aeon.browser': 'Chrome',
        'aeon.environment': 'launch-web.apps.mia.ulti.io',
        'aeon.protocol': 'https',
        'aeon.timeout': 10,
        'aeon.wait_for_ajax_responses': True,
        }
    })
session.execute_command('GoToUrlCommand', ['https://google.com'])
session.quit_session()
```

## Run an Async Session Client

A reactor loop of some type is required to run async Python code, in addtion to Python 3.5 and above.
In the example below retrieving an existing session is also demoed.

```python
import asyncio

from aeoncloud import get_session_factory

async def do():
    # Setup Session
    aeon = get_session_factory()
    session = await aeon.get_async_session(settings={
        'settings': {
            'aeon.platform.http.url': 'http://localhost:8081/api/v1/',
            'aeon.browser': 'Chrome',
            'aeon.environment': 'launch-web.apps.mia.ulti.io',
            'aeon.protocol': 'https',
            'aeon.timeout': 10,
            'aeon.wait_for_ajax_responses': True,
            }
        })

    # Execute command on session
    await session.execute_command('GoToUrlCommand', ['https://google.com'])

    # Setup the session again
    session = await aeon.get_async_session(settings={
        'settings': {
            'aeon.platform.http.url': 'http://localhost:8081/api/v1/',
            'aeon.browser': 'Chrome',
            'aeon.environment': 'launch-web.apps.mia.ulti.io',
            'aeon.protocol': 'https',
            'aeon.timeout': 10,
            'aeon.wait_for_ajax_responses': True,
            'aeon.platform.session_id': session.session_id
            },
        })

    # Execute command on restored session
    await session.execute_command('GoToUrlCommand', ['https://microsoft.com'])

    # Kill session
    await session.quit_session()


loop = asyncio.get_event_loop()
loop.run_until_complete(do())
```
gencoder 0.2.2
Google Polyline Encoding Helper Package
Requires Python: ~=3.5
Keywords: google polyline encoding

# Google Encoding Helper Package

This package is intended to be used to quickly translate the normal text into polyline encoded format.

This package must not be used for other purposes, and if it is, it may throw in exception and may also cause your program to crash.

To use this package, simply import gencoder after install it using the pip installer.
Then, call the encoding function through the path:
`gencoder.polycoder.super_encoder`

This function requires the coordinates to be provided as the input in `str` format.
The latitude and longitude must be separated with a comma.

Also, this package provides the facility to use the encoder on multiple coordinates.
This is facilitated by the use of lists, which means that you would need to separate the coordinates with the usage of lists.

Here is an example input:

`super_encoder(['38.5, -120.2', '40.7, -120.95', '43.252, -126.453'])`

The ideal output to this query shall be:

`_p~iF~ps|U_ulLnnqC_mqNvxq@`

Output Type: `str`

<hr>

**Important:** The author of this package does not allow anyone to copy the code without written permission.
If you need to use the code independently, you may contact the author of this package at rachitbhargava99@gmail.com.