BoardUtils
BoardUtils is a set of utilities to integrate custom Python scripts / application with Board toolkit (https://www.board.com) This is an example package and should not be used to build production-grade integrations, it is intented to just showcase the functionalities of Board APIs
Installation
pip install boardutils
Usage
API Functionalities
from boardutils import api
bclient = api.Client("http://your-endpoint.board.com","client_id","client_secret") # create a new api client instance
layout_data = bclient.query("datamodel", "query-name","query-parameters") # return a dictionary with layout query results
cubes = bclient.cubes("datamodel") # return list of cubes for specified datamodel
entities = bclient.entities("datamodel") # return list of entities for specified datamodel
entity = bclient.entity("datamodel","entity") # return list of members of a specific entity
API Functionalities
from boardutils import sharedstorage
bss = sharedstorage.client("https://your-board-shared-storage-sas-uri-token.itsaverylongtoken.withlotsofsymbols") # new board shared storage client
bss.delete_file("azure_file","azure_directory") # Delete a file - if azure_directory parameter is missing, file deleted from root
bss.upload_file("azure_file","local_path","azure_directory") # Upload a file - if azure_directory parameter is missing, file upload to root
bss.download_file("azure_file","local_path","azure_directory") # Download a file - if azure_directory parameter is missing, file download from root
bss.download_file("azure_file","local_path","azure_directory") # Download a file - if azure_directory parameter is missing, file download from root
files = bss.list_directories_and_files("azure_directory") # list files and folders in a specified directory (if no path specified, root level). Return list of Azure file objects
for file in files:
file.name # to return the name of azure file from the azure file class
bss.get_file_size("azure_file","azure_directory") # return file size for specified azure file ((if no path specified, root level).
License
The usage of Board API Query engine is subject to licensing from Board (https://www.board.com) Please contact your account manager for more information
Metadata
Release files for boardutils 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| boardutils-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for boardutils-0.7.2-py3-none-any.whl |
Release files / boardutils-0.7.2-py3-none-any.whl
| Download URL | boardutils-0.7.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e37f35a2fc97dffa078977d37d0ebb53d6e3f16eba97695f7b8241db14909b2d
|
|
BLAKE2b-256 checksum How to use checksums |
df18f0d59f92bbde2eb83926bfd16c8ce183a8970150a0c5972179f5ddb72961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for boardutils 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.