PhrameAPI
Phrame API
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.4
- Package version: 1.0.4
- Generator version: 7.11.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.8+
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 PhrameAPI
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 PhrameAPI
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import PhrameAPI
from PhrameAPI.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/PhrameServer
# See configuration.py for a list of all supported configuration parameters.
configuration = PhrameAPI.Configuration(
host = "http://localhost/PhrameServer"
)
# Enter a context with an instance of the API client
with PhrameAPI.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = PhrameAPI.PhrameApi(api_client)
component_name = 'component_name_example' # str | Name of component
version_id = 'version_id_example' # str | ID of component (optional)
try:
# DELETE Component
api_instance.minio_delete_ui_component(component_name, version_id=version_id)
except ApiException as e:
print("Exception when calling PhrameApi->minio_delete_ui_component: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost/PhrameServer
| Class | Method | HTTP request | Description |
|---|---|---|---|
| PhrameApi | minio_delete_ui_component | DELETE /components | DELETE Component |
| PhrameApi | minio_delete_ui_config | DELETE /config | DELETE config |
| PhrameApi | minio_get_all_component_names | GET /components/all | Get all components |
| PhrameApi | minio_get_all_config_names | GET /config/all | GET all configs |
| PhrameApi | minio_get_ui_component | GET /components | GET Components |
| PhrameApi | minio_get_ui_config | GET /config | GET config |
| PhrameApi | minio_post_ui_component | POST /components | POST component |
| PhrameApi | minio_post_ui_config | POST /config | POST config |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for PhrameAPI 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phrameapi-1.1.5.tar.gz | 27.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phrameapi-1.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.1 kB
Release files / phrameapi-1.1.5.tar.gz
| Download URL | phrameapi-1.1.5.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b303cc11de0c6cde15cb2e6d26c1dbb9db3c09fa08fb28fff03e9f8277fc60a
|
|
BLAKE2b-256 checksum How to use checksums |
31329335ea1646a414220b4069bff188f59081b3dae2971bacfc2612137efbcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / phrameapi-1.1.5-py3-none-any.whl
| Download URL | phrameapi-1.1.5-py3-none-any.whl |
|---|---|
| Size | 28.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ab28c8c17085fd053dafd6d17697024ae7710f4f385d2d368c967cd480f728f
|
|
BLAKE2b-256 checksum How to use checksums |
48eb573e7551a2371f512c227c2015cb1f312b84027fbe3a012ce7d904095554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|