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.18.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 | Provenance | Actions |
|---|---|---|---|---|
| layernext_beta-3.28.18.1.tar.gz | 73.3 kB | Without provenance | Details for layernext_beta-3.28.18.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| layernext_beta-3.28.18.1-py3-none-any.whl | Python 3 | none | any | Details for layernext_beta-3.28.18.1-py3-none-any.whl |
Total release size: 157.2 kB
Release files / layernext_beta-3.28.18.1.tar.gz
| Download URL | layernext_beta-3.28.18.1.tar.gz |
|---|---|
| Size | 73.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2141ff2f871518dcd8d2ff470454f607209098d790d7c18efe3e73dc51e13ba8
|
|
BLAKE2b-256 checksum How to use checksums |
3315cc157dca708469f2d3d6337007b0df264f37fb23adf5ed34986613f169e2
|
| 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.18.1-py3-none-any.whl
| Download URL | layernext_beta-3.28.18.1-py3-none-any.whl |
|---|---|
| Size | 83.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
993ed6fac730b07f7e9cd89f9e7de406dc38e53ae208e5779c9b99dc5f4b5005
|
|
BLAKE2b-256 checksum How to use checksums |
5cbdf9da70e0df201cf0ad423ce083904373f2538d4e6035fac7c95c74e71b5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for layernext-beta 3.28.18.1
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.