GLAM SDK for Python
Python SDK for interacting with the GLAM protocol on Solana. This SDK provides Python bindings for the GLAM Mint and Protocol programs.
Installation
pip install glam-sdk
Development
Install for Development
# Clone the repository
git clone https://github.com/glamsystems/glam-sdk-py.git
cd glam-sdk-py
# Install with dev dependencies
pip install -e ".[dev]"
Running Tests
pytest
Code Quality
# Lint and auto-fix issues
ruff check --fix .
# Format code
ruff format .
Requirements
- Python >= 3.8
- anchorpy >= 0.21.0
- solana >= 0.36.0
- solders >= 0.26.0
Note
This SDK code under glam/mint and glam/protocol directories is auto-generated from the GLAM program IDLs using codama-py. Do not manually edit the generated files.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glam_sdk-0.1.6.tar.gz
(59.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
glam_sdk-0.1.6-py3-none-any.whl
(135.9 kB
view details)
File details
Details for the file glam_sdk-0.1.6.tar.gz.
File metadata
- Download URL: glam_sdk-0.1.6.tar.gz
- Upload date:
- Size: 59.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c6a0e2bc33d1ab95ae70dd751ab49771bbb43f8fbdecd90fe3db386b5a3e8c
|
|
| MD5 |
794599fa319fcff826107c696aa3bce8
|
|
| BLAKE2b-256 |
1ced0f7def9e10bc6ef69f99d5b14599dfd7a2f0e786193b8bc565f9e82efd59
|
File details
Details for the file glam_sdk-0.1.6-py3-none-any.whl.
File metadata
- Download URL: glam_sdk-0.1.6-py3-none-any.whl
- Upload date:
- Size: 135.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12ad00c058e85c599d8407bb29365cc643b0feb2e22f802eec161d4cf983aef8
|
|
| MD5 |
3e583ad166b0077d3b55b38d67a9c8c7
|
|
| BLAKE2b-256 |
84dd1aee24f917f1d70677505365e8e94eb79386d1982ae17faf355450fa2b8d
|