Endless Python SDK
This provides basic functionalities to interact with Endless. Get started here.
Currently, this is still in development and may not be suitable for production purposes.
Note: The sync client is deprecated, please only start new projects using the async client. Feature contributions to the sync client will be rejected.
Requirements
This SDK uses Poetry for packaging and dependency management:
curl -sSL https://install.python-poetry.org | python3 -
poetry install
Unit testing
make test
E2E testing and Using the Endless CLI
- Download and install the Endless CLI.
- Set the environment variable
ENDLESS_CLI_PATHto the full path of the CLI. - Retrieve the Endless Core Github Repo (git clone https://github.com/endless-labs/endless-move-framework.git)
- Set the environment variable
ENDLESS_CORE_REPOto the full path of the Repository. make integration_test
You can do this a bit more manually by:
First, run a local testnet (run this from the root of endless-framework):
endless node run-local-testnet --force-restart --assume-yes --with-indexer-api
Next, tell the end-to-end tests to talk to this locally running testnet:
export ENDLESS_CORE_REPO="/path/to/repo"
export ENDLESS_FAUCET_URL="http://127.0.0.1:8081"
export ENDLESS_INDEXER_URL="https://idx-test.endless.link/api/v1"
export ENDLESS_NODE_URL="https://rpc-test.endless.link/v1"
Finally run the tests:
make examples
Integration Testing Using the Endless CLI:
make integration_test
Autoformatting
make fmt
Autolinting
make lint
Package Publishing
- Download the ENDLESS CLI.
- Set the environment variable
ENDLESS_CLI_PATHto the full path of the CLI. poetry run python -m endless_sdk.cliand set the appropriate command-line parameters
Semantic versioning
This project follows semver as closely as possible
Metadata
Release files for endless-sdk 1.0.0
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 |
|---|---|---|---|---|
| endless_sdk-1.0.0.tar.gz | 54.0 kB | Without provenance | Details for endless_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| endless_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for endless_sdk-1.0.0-py3-none-any.whl |
Total release size: 118.0 kB
Release files / endless_sdk-1.0.0.tar.gz
| Download URL | endless_sdk-1.0.0.tar.gz |
|---|---|
| Size | 54.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76ff2cd9833c19536bec1b16519fb0f131e70b2e6a6bac83163860b345feb6df
|
|
BLAKE2b-256 checksum How to use checksums |
9be79ad5fb396bb55573c06a192b30aedb588e02b646afced584602b310e2348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Windows/11
|
Release files / endless_sdk-1.0.0-py3-none-any.whl
| Download URL | endless_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 64.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bb436a0bae7730e73d70858091b7207d9306530aadfa9f8279b15207f6205b9
|
|
BLAKE2b-256 checksum How to use checksums |
5d8c18663ee514ddf577431ea22a45a6d002208c82035feb0c6114c3abb33ea9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Windows/11
|
Security for endless-sdk 1.0.0
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.