vefaas-browser-session
API for managing browser sessions in veFaaS platform
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Package version: 0.0.1
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit http://www.vefaas.com/support
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import vefaas_browser_session
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import vefaas_browser_session
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import vefaas_browser_session
from vefaas_browser_session.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = vefaas_browser_session.Configuration(
host = "http://localhost:8000/v1"
)
# Enter a context with an instance of the API client
with vefaas_browser_session.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = vefaas_browser_session.BrowsersApi(api_client)
request = vefaas_browser_session.V1CreateBrowserRequest() # V1CreateBrowserRequest | Browser creation options (optional)
try:
# Create a new browser
api_response = api_instance.create_browser(request=request)
print("The response of BrowsersApi->create_browser:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling BrowsersApi->create_browser: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost:8000/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BrowsersApi | create_browser | POST /browsers | Create a new browser |
| BrowsersApi | delete_browser | DELETE /browsers/{browser_id} | Delete a browser |
| BrowsersApi | get_browser | GET /browsers/{browser_id} | Get a browser by ID |
| BrowsersApi | get_browser_json_version | GET /browsers/{browser_id}/json/version | Get browser JSON version |
| BrowsersApi | list_browsers | GET /browsers | List all browsers |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for vefaas-browser-session 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vefaas_browser_session-0.0.1.tar.gz | 25.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vefaas_browser_session-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.4 kB
Release files / vefaas_browser_session-0.0.1.tar.gz
| Download URL | vefaas_browser_session-0.0.1.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d396cf2c0fd4ee5d17f09a00cdca22d1c3985a4f8db7717d8bdd0b24854cbbf3
|
|
BLAKE2b-256 checksum How to use checksums |
93a5a54bf0b5bcb5dc955f164d1c2bf01ae8938a8ea9793d341869659f4c89fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / vefaas_browser_session-0.0.1-py3-none-any.whl
| Download URL | vefaas_browser_session-0.0.1-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e5a0c45810ee95a8f3a6282ffe0538fbf91b46b0a7fcf0967e44f2300a5c5c7
|
|
BLAKE2b-256 checksum How to use checksums |
68e74700b9cdaea839c465a3c4793fafa9063009c90f2b54f020a5ce543f6154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|