brx-python
Welcome to the the documentation for the BRX Python package.
Get started with the examples located in tests.py.
It's easy to implement BRX's Python package:
- Initialize your BRX Client with your access token:
brx_client = BRX(os.environ.get("BRX_ACCESS_TOKEN"))
- Get your schema from your dashboard
- Convert your schema to a modifiable query
query_rebuild = sftoq(schema)
- Extract the input fields, and set your desired values.
output_object = query_rebuild["brx_query"]
input_fields = query_rebuild["input_fields"]
- Set your desired values
for index, input_field in enumerate(input_fields):
input_fields[index]["value"] = input(f"Please enter the value for {input_field['name']}: ")
- Update your query
updated_query = uif(input_fields, output_object)
- Run your BRX!
result = brx_client.execute(updated_query["brx_query"])
Release files for brx 0.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 | |
|---|---|---|---|
| brx-0.1.5.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brx-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / brx-0.1.5.tar.gz
| Download URL | brx-0.1.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7636797fb0271652791b68b43d5120a59bbb5128ae1fbcb45631f28fc73f049
|
|
BLAKE2b-256 checksum How to use checksums |
d15f6d0887eb448d2cffde57a31ba7839debadb2a958a9921543630bbb8cb49e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.13 Linux/6.5.0-1022-azure
|
Release files / brx-0.1.5-py3-none-any.whl
| Download URL | brx-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c41adcb0122481f03aa544efb9f99598fe28755d1283a9926038ac72fd0ec544
|
|
BLAKE2b-256 checksum How to use checksums |
beeca3c3bbbcd535273c63dd40463782e7edc102525bf013bb93a49de5a412f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.13 Linux/6.5.0-1022-azure
|