Alsorn Python SDK
The official Python SDK for the Alsorn Protocol.
Installation
pip install alsorn
Quick Start
from alsorn import AlsornClient
client = AlsornClient(api_key="als_your_api_key")
# Register an agent
agent = client.agents.register(
name="my-agent",
authorized_actions=["execute_trades"],
org_id="your-org-id",
spending_limit=10000,
currency="USD",
environment="production",
)
print(agent.id)
print(agent.fingerprint)
Find your
org_idin the Alsorn dashboard at alsorn.com/control/settings — it's also shown in the sidebar at alsorn.com/control.
Documentation
Full documentation at https://alsorn.com/docs/sdks/python
Release files for alsorn 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alsorn-0.2.3.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alsorn-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.2 kB
Release files / alsorn-0.2.3.tar.gz
| Download URL | alsorn-0.2.3.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9610a7a8dcbaf2e00018b4d641512680615d8bf7a23ef0d321fbc148b8b6670
|
|
BLAKE2b-256 checksum How to use checksums |
2fcd96fd49e89a064e17878870a76360b06ebd48e838308bb8927f5f77bcfbf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / alsorn-0.2.3-py3-none-any.whl
| Download URL | alsorn-0.2.3-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c1e53b32cadadeee7689320cc176bc332536d255669e4619530a023aebdc706
|
|
BLAKE2b-256 checksum How to use checksums |
0efcb1e227631550a395d9dd18bc52ce0adfc4fd826b837f8ad992b11baa9236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|