brease-sdk-1.1.1
توضیحات
Python Client SDK Generated by Speakeasy
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | brease-sdk-1.1.1 |
| نام | brease-sdk |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | dotindustries |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/brease-sdk/ |
| مجوز | - |
# brease-sdk
<!-- Start SDK Installation -->
## SDK Installation
```bash
pip install brease-sdk
```
<!-- End SDK Installation -->
## SDK Example Usage
<!-- Start SDK Example Usage -->
```python
import sdk
from sdk.models import operations, shared
s = sdk.SDK()
req = operations.AddRuleRequest(
add_rule_input=shared.AddRuleInput(
rule=shared.ModelsRule(
action="corrupti",
description="provident",
expression=shared.ModelsRuleExpression3(
condition=shared.Condition(
base=shared.ConditionBase2(
ref=shared.ConditionBaseRef(
dst="unde",
src="nulla",
),
),
parameter=False,
type="rgx",
),
),
id="69a674e0-f467-4cc8-b96e-d151a05dfc2d",
target=shared.ModelsTarget(
target="at",
target_value="maiores",
type="molestiae",
),
),
),
context_id="quod",
)
res = s.context_id.add_rule(req, operations.AddRuleSecurity(
api_token="Bearer YOUR_BEARER_TOKEN_HERE",
))
if res.api_add_rule_response is not None:
# handle response
```
<!-- End SDK Example Usage -->
<!-- Start SDK Available Operations -->
## Available Resources and Operations
### [context_id](docs/contextid/README.md)
* [add_rule](docs/contextid/README.md#add_rule) - Adds a new rule to the context
* [evaluate_rules](docs/contextid/README.md#evaluate_rules) - Evaluate rules within a context on the provided object
* [get_all_rules](docs/contextid/README.md#get_all_rules) - Returns all rules with the context
* [remove_rule](docs/contextid/README.md#remove_rule) - Removes a rule from the context
* [replace_rule](docs/contextid/README.md#replace_rule) - Replaces an existing rule within the context
<!-- End SDK Available Operations -->
### Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.
### Contributions
While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !
### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
نیازمندی
| مقدار | نام |
|---|---|
| ==2022.12.7 | certifi |
| ==2.1.1 | charset-normalizer |
| ==0.5.8 | dataclasses-json-speakeasy |
| ==3.3 | idna |
| ==3.17.1 | marshmallow |
| ==1.5.1 | marshmallow-enum |
| ==0.4.3 | mypy-extensions |
| ==21.3 | packaging |
| ==3.0.9 | pyparsing |
| ==2.8.2 | python-dateutil |
| ==2.28.1 | requests |
| ==1.16.0 | six |
| ==0.8.0 | typing-inspect |
| ==4.3.0 | typing-extensions |
| ==1.26.12 | urllib3 |
| ==2.16.2 | pylint |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl brease-sdk-1.1.1:
pip install brease-sdk-1.1.1.whl
نصب پکیج tar.gz brease-sdk-1.1.1:
pip install brease-sdk-1.1.1.tar.gz