layernext-python-sdk
LayerNext python API client
Sync (upload/download) with LayerNext stacks via APIs from your code
Installation
$ pip install layernext
Usage
import layernext
api_key = 'xxxxxxxxxx'
secret = 'xxxxxxxxxxx'
url = 'https://api.xxxx.layernext.ai'
client = layernext.LayerNextClient(api_key, secret, url)
Building Python SDK
The full step-by-step guide, with troubleshooting, is in PUBLISHING.md.
-
Set the correct version in
__init__.py -
Build the package
-
Make sure the Python virtual environment is set
-
Clean the dist folder :
rm -r dist -
Build the package :
python setup.py sdist bdist_wheel
-
-
Upload the package
-
Use twine to upload the package :
twine upload dist/* -
Use the correct key for beta
-
Metadata
Release files for layernext-beta 3.28.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| layernext_beta-3.28.14.tar.gz | 71.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| layernext_beta-3.28.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 153.8 kB
Release files / layernext_beta-3.28.14.tar.gz
| Download URL | layernext_beta-3.28.14.tar.gz |
|---|---|
| Size | 71.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e1e5c7221acbda26ff4acfadfc53f44f46b3d6d4fe9871440bfec9436d484f4
|
|
BLAKE2b-256 checksum How to use checksums |
fb18b0d45cc8185c7c89a76b5a6f7e36ff6b2fb682c01a395a225edeb01b1d28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / layernext_beta-3.28.14-py3-none-any.whl
| Download URL | layernext_beta-3.28.14-py3-none-any.whl |
|---|---|
| Size | 82.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a957bf1913a05616420d86e155c33dfd41c324cca43ae76dcee2452260d1142c
|
|
BLAKE2b-256 checksum How to use checksums |
38ab5628d24ee8c82ec1ee4b2fe75c59fc97c8a9b1169ec1c9538241e9d546d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|