SDK voxline - Python Development Kit
voxline-pdk
Realizar la conexión con conecta por medio de Python.
Installation
Usar el administrador de paquetes pip para instalar voxline.
pip install voxline-pdk
Usage
CODE
# Importar la libreria
from voxline import Voxline
vox = Voxline(tenant='tenant_1', apiKey='12312', local=True)
value = vox.forms.getOne(1)
print(value)
OUTPUT
{ value1: {'id': 1, 'name': 'Form Tenant 1', 'structure': {}, 'createdAt': '2023-06-18T02:48:04.286Z', 'updatedAt': '2023-06-18T02:48:04.286Z', 'deletedAt': None }
{ value2: {} }
{ value3: [{'id': 1, 'name': 'Form Tenant 1', 'structure': {}, 'createdAt': '2023-06-18T02:48:04.286Z', 'updatedAt': '2023-06-18T02:48:04.286Z', 'deletedAt': None}]}
Development
Install Dependencies
pip install -r requirements
Build
Construir el archivo .tar.gz y el archivo wheels para instalar con pip
python setup.py sdist bdist_wheel
with pipenv
pipenv run build
Local Install
pip install dist/voxline-0.1.1-py3-none-any.whl
Publish package
$HOME/.pypirc >
[pypi]
username = __init__
password = pypi-
python3 -m twine upload --repository pypi dist/* --verbose
Metadata
Release files for voxline-pdk 1.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 | |
|---|---|---|---|
| voxline_pdk-1.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voxline_pdk-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / voxline_pdk-1.0.1.tar.gz
| Download URL | voxline_pdk-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5d26c6d1cb27f165fb5b47f47ad4ff929dc6074534302972e77ba2f3eef4d65
|
|
BLAKE2b-256 checksum How to use checksums |
2161c3e5a15cd82e2e428fd4d2150c8b717ae7b1e604e8ee3e03d32e5e096cda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / voxline_pdk-1.0.1-py3-none-any.whl
| Download URL | voxline_pdk-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23465461b62e0dc48638379bac15309b48d85648fb534de8861a970b30b8ea20
|
|
BLAKE2b-256 checksum How to use checksums |
a2c6992487c18096b384ae896221dc07cab47edbafa09a9de180c9a4270acad2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|